- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
06-21-2023 04:47 PM
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">
06-21-2023 11:28 PM
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.
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!

