Hi Thiago,
If you know the tag of the element you need to have then you can use an XPath expression to get the element identified in the '
Web Path' attribute.
So considering Chirstian's example as shown in the screenshot we can have an XPath query as
//textarea[text()='ACTUALIZAR RECIBO']
Here, only the highlighted areas will change as per the web element you want to spy where the area highlighted in orange would denote the tag name of the element which can be label, input, button, textarea etc. whereas the area highlighted in yellow would be the actual text of that element.
------------------------------
----------------------------------
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----------------------------------
------------------------------
Original Message:
Sent: 05-12-2022 21:42
From: Thiago Rolim
Subject: How does the "Get Attribute" method of the read stage in blueprism work?
Hi Cristian Lopez
did you manage to solve this problem?
I have the same problem
------------------------------
Thiago Rolim
Original Message:
Sent: 02-21-2022 17:00
From: Cristian Lopez
Subject: How does the "Get Attribute" method of the read stage in blueprism work?
Hi
I'm getting a similar error when trying to get the "web attribute" I cannot find the attribute to get the Web Value. Any ideas team?
Thank you in advanced
------------------------------
Cristian Lopez
Developer
Roboyo
Europe/London
Original Message:
Sent: 09-09-2019 12:00
From: Digital Worker Blue Prism
Subject: How does the "Get Attribute" method of the read stage in blueprism work?
I'd like to get the text of an textfield. I've already tried to get it via 'Get text', but that did not work. When I spy the element, blueprism is able to read the text of the element in the property 'Web Value', which is in the application modeller.I'd like to access this 'Web Value'. When I use a read stage and the method 'Get Attribute', I can enter an Attribute name. 'Web Value' does not return the desired value.So how does 'Get Attribute' work?
--------------------------------------------------
Disclaimer: This content was auto-posted from Stackoverflow. The original Stackoverflow question is here Stackoverflow Post, posted by Kevin01.