<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Web application connection component unable to press button and logs out with error message in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345072#M38522</link>
    <description>&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 07:17:23 GMT</pubDate>
    <dc:creator>bmcgann</dc:creator>
    <dc:date>2023-06-22T07:17:23Z</dc:date>
    <item>
      <title>Web application connection component unable to press button and logs out with error message</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345070#M38520</link>
      <description>&lt;P&gt;I am trying to integrate an on premise PAS to a Web application using a web application connection component (Chrome).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Logon failed: unable to press on button element "login-submit'. Refer to the log for more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Webform config (all found successfully):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id_username &amp;gt; {Username} (SearchBy=id)&lt;/P&gt;&lt;P&gt;id_password &amp;gt; {Password} (SearchBy=id)&lt;/P&gt;&lt;P&gt;login-submit &amp;gt; (Button) (SearchBy=id)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have tried removing the login-submit webform field, however, appears to be mandatory as get the following error when trying to login:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"(Button)/(Click) command must be configured in the web form fields file"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following are the username/password and login webpage elements:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;input id="id_username" vqe-id="username-input" type="text" name="username" maxlength="30" autofocus="autofocus"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="password" name="password" id="id_password" vqe-id="password-input" maxlength="128" autocomplete="off"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input id="login-submit" vqe-id="login-submit-btn" type="submit" class="button" value="Log In"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 23:47:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345070#M38520</guid>
      <dc:creator>bmcgann</dc:creator>
      <dc:date>2023-06-21T23:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Web application connection component unable to press button and logs out with error message</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345071#M38521</link>
      <description>&lt;P&gt;You could try clicking an element before the password is injected just to satisfy the requirement that the WebFormFields parameter has a (Button)/(Click)&lt;/P&gt;&lt;CODE&gt;id_username &amp;gt; (Click) (SearchBy=id)
id_username &amp;gt; {Username} (SearchBy=id)
id_password &amp;gt; {Password} (SearchBy=id)&lt;/CODE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 06:28:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345071#M38521</guid>
      <dc:creator>tim_schindler</dc:creator>
      <dc:date>2023-06-22T06:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Web application connection component unable to press button and logs out with error message</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345072#M38522</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:17:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/web-application-connection-component-unable-to-press-button-and/m-p/1345072#M38522</guid>
      <dc:creator>bmcgann</dc:creator>
      <dc:date>2023-06-22T07:17:23Z</dc:date>
    </item>
  </channel>
</rss>

