<?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: Webform field username input element search in Privilege Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309853#M684</link>
    <description>&lt;P&gt;Hi @Malhar Vora​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. Is this what you mean?&lt;/P&gt;&lt;CODE&gt;//input^[@placeholder='Username'^] &amp;gt; {Username}(searchby=xpath)
//input^[@placeholder='Password'^] &amp;gt; {Password}(searchby=xpath)
Login &amp;gt; (Button)(searchby=text)&lt;/CODE&gt;&lt;P&gt;I want to have high confidence in this before making a change in production that could break functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryce&lt;/P&gt;</description>
    <pubDate>Fri, 08 Aug 2025 19:05:50 GMT</pubDate>
    <dc:creator>B.Powell053028</dc:creator>
    <dc:date>2025-08-08T19:05:50Z</dc:date>
    <item>
      <title>Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309851#M682</link>
      <description>&lt;P&gt; This is how the username input elements appears for different version of the same webapp:&lt;/P&gt;&lt;CODE&gt;&amp;lt;input id="input-:r0:" class="focus:tw-outline-none tw-border-none tw-w-full tw-p-0 placeholder:tw-text-neutral-300 tw-bg-neutral-0 dark:tw-text-neutral-800 dark:tw-placeholder-neutral-400 tw-text-lg" placeholder="Username" aria-invalid="false" title="Username" value=""&amp;gt;
&amp;nbsp;
&amp;lt;input type="text" id="username" class="form-control" name="username" autocorrect="off" autocapitalize="off" autocomplete="off" autofocus="" placeholder="Username"&amp;gt;&lt;/CODE&gt;&lt;P&gt;Will this match for both the username element variants above?&lt;/P&gt;&lt;CODE&gt;Username&amp;gt;{Username}(searchby=text)&lt;/CODE&gt;&lt;P&gt;Xpath and ID search works for only one or the other version. I'm looking for the webform syntax that will work for both versions of the webapp. The online documentation is not very clear on how exactly the "text" search/match works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 14:14:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309851#M682</guid>
      <dc:creator>B.Powell053028</dc:creator>
      <dc:date>2025-08-08T14:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309852#M683</link>
      <description>&lt;P&gt;Hi @BRYCE POWELL​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this scenario, you will need to find a xpath and search using xpath. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Username&amp;gt;{Username}(searchby=xpath)&lt;/P&gt;&lt;P&gt;Username_XPath&amp;gt;//input[@placeholder='Username' or @title='Username']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 18:33:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309852#M683</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-08-08T18:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309853#M684</link>
      <description>&lt;P&gt;Hi @Malhar Vora​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks. Is this what you mean?&lt;/P&gt;&lt;CODE&gt;//input^[@placeholder='Username'^] &amp;gt; {Username}(searchby=xpath)
//input^[@placeholder='Password'^] &amp;gt; {Password}(searchby=xpath)
Login &amp;gt; (Button)(searchby=text)&lt;/CODE&gt;&lt;P&gt;I want to have high confidence in this before making a change in production that could break functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryce&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 19:05:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309853#M684</guid>
      <dc:creator>B.Powell053028</dc:creator>
      <dc:date>2025-08-08T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309854#M685</link>
      <description>&lt;P&gt;Hi @BRYCE POWELL​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a best practice, I would not suggest to try directly the production without validating in the non-production environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can impact your production users in case it doesn’t work as expected. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please validate it in the non-production first. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps! &lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 19:20:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309854#M685</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-08-08T19:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309855#M686</link>
      <description>&lt;P&gt;Hi @BRYCE POWELL​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why can't you use if-else condition then ? It seems this is for fotigate web consoles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if((username &amp;gt; (Condition) (SearchBy=name) (Exists eq True) ) )&amp;nbsp;&lt;/P&gt;&lt;P&gt;//*^[@id="username"^] &amp;gt; {Username} (SearchBy=XPath)&amp;nbsp;&lt;/P&gt;&lt;P&gt;//*^[@id="password"^] &amp;gt; {Password} (SearchBy=XPath)&amp;nbsp;&lt;/P&gt;&lt;P&gt;//*^[@id="login"^] &amp;gt; (Button) (SearchBy=XPath)&amp;nbsp;&lt;/P&gt;&lt;P&gt;end-if&amp;nbsp;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;//*^[@id="input-:r0:"^] &amp;gt; {Username} (SearchBy=XPath)&amp;nbsp;&lt;/P&gt;&lt;P&gt;//*^[@id="input-:r1:"^] &amp;gt; {Password} (SearchBy=XPath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;//*^[@id="id_layout_main"^]/div/div/div^[2^]/div^[5^]/button &amp;gt; (Button) (SearchBy=XPath)&amp;nbsp;&lt;/P&gt;&lt;P&gt;end-else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 06:48:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309855#M686</guid>
      <dc:creator>Somidi_Vamshi</dc:creator>
      <dc:date>2025-08-09T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Webform field username input element search</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309856#M687</link>
      <description>&lt;P&gt;Hi @Somidi Vamshi​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct, FortiManager/Analyzer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was reluctant to use if-else conditional statements because in my experience it can add some delay to the connection time. It is working with the following:&lt;/P&gt;&lt;CODE&gt;//input^[@placeholder='Username'^]&amp;gt;{Username}(searchby=xpath)
//input^[@placeholder='Password'^]&amp;gt;{Password}(searchby=xpath)
Login&amp;gt;(Button)(searchby=text)&lt;/CODE&gt;&lt;P&gt;Thanks for your previous response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryce&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 16:52:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/webform-field-username-input-element-search/m-p/1309856#M687</guid>
      <dc:creator>B.Powell053028</dc:creator>
      <dc:date>2025-08-12T16:52:53Z</dc:date>
    </item>
  </channel>
</rss>

