cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the web class value in data item

Miya
Level 5
Hi ,

  I am spying a web application in browser mode i need to capture the header in descending order, the difference between the normal header and descending order header is only the web class how can i get the web calss value in data item to so that i can use decision stage to move ahead

------------------------------
Miya
------------------------------
5 REPLIES 5

EVIPUTI
MVP
If you are able to spy the descending order header , than we can simply take it from attributes ? or i am missing something here !

------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification Developer
Amazon
------------------------------
------------------------------
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------

vinodchinthakin
Level 9
You can use a Read stage with Get Attribute Action. Passing Input as "Class"
For reference see below screenshot

23838.png


------------------------------
vinod chinthakindi
------------------------------

Agree with the solution provided by @vinod chinthakindi

Just to add, if the spying mode is HTML mode, then "Class" will work otherwise try to use "Web Class" in case the spying mode is Browser mode.​

------------------------------
----------------------------------

Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blueprism 6x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up 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 | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

Hi Devneet. Just to clarify. I spied element on Chrome using Browser mode and used "Class" it worked. You can see the element name in screenshot, I mentioned as BM(which is Browser Mode acronym). I haven't tried with "Web class".

Edit: Just I have tried to get web class using " Web Class" as Input for get Attribute action for Brower Mode element and didn't worked for me. It worked only when I used "Class" as input.

------------------------------
vinod chinthakindi
------------------------------

Hi Yes thank You actually i missed that attributed when i respy yes i got the descending header  as attribute which i was able to use.

------------------------------
Miya
------------------------------