<?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 Verifying that a check box is disabled in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Verifying-that-a-check-box-is-disabled/m-p/81038#M930</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Is there a good way to check if a chec-box can be edited? We se in the html code that there is set a disble="disabled" value in some cases, where the check-box should be greyed out.&lt;BR /&gt;&lt;BR /&gt;We need to be able to catch that the check-box is greyed out and then do a different action than normal.&lt;/P&gt;
&lt;P&gt;Any good advise out there on how to eiter check the html code a uniqe text string or see if the check box is greyed out (with that html code flag on the text box?&lt;BR /&gt;&lt;BR /&gt;Hope this is understandable. Not the easiest question to explain, but we see the text we can check for in the HTML code, but it is not in an page item with a normal reference, so not sure how to catch this situation.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any good tip on how to check for this before making a desission action.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Roger Hoel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roger Hoel&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Oct 2022 14:09:00 GMT</pubDate>
    <dc:creator>RogerThat1</dc:creator>
    <dc:date>2022-10-17T14:09:00Z</dc:date>
    <item>
      <title>Verifying that a check box is disabled</title>
      <link>https://community.blueprism.com/t5/University-Forum/Verifying-that-a-check-box-is-disabled/m-p/81038#M930</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Is there a good way to check if a chec-box can be edited? We se in the html code that there is set a disble="disabled" value in some cases, where the check-box should be greyed out.&lt;BR /&gt;&lt;BR /&gt;We need to be able to catch that the check-box is greyed out and then do a different action than normal.&lt;/P&gt;
&lt;P&gt;Any good advise out there on how to eiter check the html code a uniqe text string or see if the check box is greyed out (with that html code flag on the text box?&lt;BR /&gt;&lt;BR /&gt;Hope this is understandable. Not the easiest question to explain, but we see the text we can check for in the HTML code, but it is not in an page item with a normal reference, so not sure how to catch this situation.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any good tip on how to check for this before making a desission action.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Roger Hoel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roger Hoel&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Oct 2022 14:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Verifying-that-a-check-box-is-disabled/m-p/81038#M930</guid>
      <dc:creator>RogerThat1</dc:creator>
      <dc:date>2022-10-17T14:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Verifying that a check box is disabled</title>
      <link>https://community.blueprism.com/t5/University-Forum/Verifying-that-a-check-box-is-disabled/m-p/81039#M931</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/22851"&gt;@RogerThat1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Spy the checkbox in Browser Mode and then use the following XPath Expression in the '&lt;STRONG&gt;Web Path&lt;/STRONG&gt;' property:&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;//input[@disabled='disabled']​&lt;/CODE&gt;&lt;/PRE&gt;
​ Or&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;//input[@disabled]​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Both of the above XPaths can work depending on the type of HTML coding behind the scenes. Below is an example to show you the same:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;HTML Source Code:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32437.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32548i803D075F4FB32D9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="32437.png" alt="32437.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Test Results:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32438.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32550i79F8191BC95CE235/image-size/large?v=v2&amp;amp;px=999" role="button" title="32438.png" alt="32438.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Here, I have used the first attribute to identify the disabled checkbox whereas the second screenshot refers to the expression that I am using to identify the enabled checkbox by using the expression:&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;//input[not(@disabled)]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you to identify selectors in your case as well.&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;WonderBotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Oct 2022 23:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Verifying-that-a-check-box-is-disabled/m-p/81039#M931</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-10-17T23:04:00Z</dc:date>
    </item>
  </channel>
</rss>

