Web application connection component unable to press button and logs out with error message

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Web application connection component unable to press button and logs out with error message

L0 Member

I am trying to integrate an on premise PAS to a Web application using a web application connection component (Chrome).

 

The PSM dispatcher log indicates it has found the login, password and button elements that I defined, and logs into the web page successfully. However, it logs out 30 seconds later with the PSM error message:

 

"Logon failed: unable to press on button element "login-submit'. Refer to the log for more.

 

Webform config (all found successfully):

 

id_username > {Username} (SearchBy=id)

id_password > {Password} (SearchBy=id)

login-submit > (Button) (SearchBy=id)

 

What appears to be happening is that the page is logging in as soon as it receives the password from the PSM, and by the time it goes to press the button, it is already on the home page and the login-submit page doesn't exist, so times out, pops up the above message and logs out.

 

Have tried removing the login-submit webform field, however, appears to be mandatory as get the following error when trying to login:

 

"(Button)/(Click) command must be configured in the web form fields file"

 

Anyone else experienced this or anyone have any workarounds for this behaviour, either making Button/Click an optional field, stopping the immediate login on password entry behaviour or ignoring the unable to press on button failure? This is PAS version 11.4.

 

Following are the username/password and login webpage elements:

 

<input id="id_username" vqe-id="username-input" type="text" name="username" maxlength="30" autofocus="autofocus">

<input type="password" name="password" id="id_password" vqe-id="password-input" maxlength="128" autocomplete="off">

<input id="login-submit" vqe-id="login-submit-btn" type="submit" class="button" value="Log In">

 

2 REPLIES 2

L6 Presenter

You could try clicking an element before the password is injected just to satisfy the requirement that the WebFormFields parameter has a (Button)/(Click)

id_username > (Click) (SearchBy=id) id_username > {Username} (SearchBy=id) id_password > {Password} (SearchBy=id)

Note: The framework assumes that a (Click)/(Button) action on an element will result in that element disappearing (idea being that the (Click)/(Button) action is used to click a Submit button that brings you to a new page.) In the above situation, this does not happen so the framework will wait the duration of ActionTime and then proceed to the next line. The default value of ActionTimeout is 30 seconds so you can try adjusting this down to 5 for a better user experience.

 

L0 Member

Thanks Tim, that sounds like it just might work. I don't have direct access to this system, I'll request the change and report back on the result.

  • 1468 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!