Identifying Enabled Input filed on a GUI
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-06-22 09:57 AM
Good morning,
We're currently reconfiguring one of our automations that utilized Internet explorer (IE) to Edge.
Previously on IE, using the HTML spy mode, there is a attribute available that indicates if the input filed is enabled or not. This allowed us to click on a hyperlink within our web app, to identify a specific erroneous row that had to be deleted by extracting the path of the enabled row.

(When clicking on the go to error link, the GUI will enable the specific row that contains the error)

Moving to Edge, I cannot find a similar attribute to utilize. Using the UI spy mode, I see a "enabled" attribute , but I don't see a way of tying that back to the path attribute that is only obtainable when spying using the "browser" spy mode. The path attribute is required to identify the row.
Browser mode

UI Mode

Any suggestions would be greatly appreciated.
------------------------------
Wikus Kirsten
------------------------------
We're currently reconfiguring one of our automations that utilized Internet explorer (IE) to Edge.
Previously on IE, using the HTML spy mode, there is a attribute available that indicates if the input filed is enabled or not. This allowed us to click on a hyperlink within our web app, to identify a specific erroneous row that had to be deleted by extracting the path of the enabled row.
(When clicking on the go to error link, the GUI will enable the specific row that contains the error)
Moving to Edge, I cannot find a similar attribute to utilize. Using the UI spy mode, I see a "enabled" attribute , but I don't see a way of tying that back to the path attribute that is only obtainable when spying using the "browser" spy mode. The path attribute is required to identify the row.
Browser mode
UI Mode
Any suggestions would be greatly appreciated.
------------------------------
Wikus Kirsten
------------------------------
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-06-22 10:29 AM
Hi @WikusKirsten,
For Browser mode, as far as I know Enabled attribute is not available as it was available with IE mode. But using XPaths, you still can have expressions like:
Also, on more way to read element values can be to get the source HTML of your web page by using read stage on your entire web page and use 'Get HTML' action:

From here, you can try to parse the HTML using XML business object and get the desired node value as you want. If it is a collection then you need to loop through and add logic to determine the valid values from the parsed HTML string and insert the appropriate values in your collection.
------------------------------
----------------------------------
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
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
For Browser mode, as far as I know Enabled attribute is not available as it was available with IE mode. But using XPaths, you still can have expressions like:
'//input[not(@disabled)]' or '//input[@disabled]'
Instead of input, you can supply the also supply any other tag name which is associated with the element that you are trying to read. If you want to let say read elements which are not disabled then the first example would work and if you want to read elements which are disabled then the second example would work.Also, on more way to read element values can be to get the source HTML of your web page by using read stage on your entire web page and use 'Get HTML' action:
From here, you can try to parse the HTML using XML business object and get the desired node value as you want. If it is a collection then you need to loop through and add logic to determine the valid values from the parsed HTML string and insert the appropriate values in your collection.
------------------------------
----------------------------------
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
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.
