Problem with getting data from Chrome using HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-04-22 09:16 AM
------------------------------
Ewa Turowicz-Kwiatkowska
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-04-22 09:34 AM
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:
'//textarea[not(@disabled)]' or '//textarea[@disabled]'
So here instead of textarea, you can supply the 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-04-22 11:06 AM
Thank you for your interested. I am attaching some details, I do not know if I described the problem correctly before.
I'm using Blue Prism 6.6. and Chrome Version 100.0.4896.88 (Official Version) (32 bit)
setting in application modeler
web path-dynamic-value (HTML adress)
in the i Read block, I don't have the items you indicated, we probably have different versions of Blue Prism
Are XPaths in an Action block? Is this the Utility-XML object? I have not dealt with these elements yet, hence my little knowledge.
------------------------------
Ewa Turowicz-Kwiatkowska
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-04-22 05:17 PM
The Xpaths are mentioned in the 'Web Path' attribute only. By default what you get there is a generic HTML path like:
/HTML/BODY/DIV/UL/LI ....
something like this.So instead of such paths, you can provide either CSS selector expressions or XPath expressions. Again for creating an XPath you need to test it on the Chrome Browser by using the 'Inspect Element' functionality and you can use CTRL+F key to test Xpaths there. Once you have tested it properly you will be able to use the same in Blue Prism.
------------------------------
----------------------------------
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 02:25 PM
I was unable to get the value from the field using the HTML Path. I tried in different ways with different attributes etc. Apparently the reason is too low version of Blue Prism. I will update Blue Prism to a higher version and then try again.
Thank you for your help 🙂
Regards
------------------------------
Ewa Turowicz-Kwiatkowska
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 03:33 PM
------------------------------
Dave Morris
3Ci at Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 04:47 PM
Blue Prism Browser Extension, is also installed for version 6.6
The READ block does not contain the data "Get Current Value" but "Get Text". For IE, the "Get current value" option appeared in the READ block, for Chrome I cannot get the current value. I suppose in higher versions of Blue Prism it is possible to download this data, but to check it I have to upgrade.
------------------------------
Ewa Turowicz-Kwiatkowska
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 04:47 PM
------------------------------
Ewa Turowicz-Kwiatkowska
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 04:51 PM
------------------------------
Dave Morris
3Ci at Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-22 04:52 PM
------------------------------
Dave Morris
3Ci at Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
