How to find specific inspect element.
can you elaborate more? do you mean find the html code of a particular element?
Hello @Himanshu_Pratap_Rana ,
Are you trying to do a UI based automation and trying to find the slector?
Then you can use UI Explorer to get reliable selectors. There you can add and eliminate the attributes from teh selector.
I want only quantity value in inspect element
1 Like
Just use Get Attribute
activity and indicate that UiElement
on the screen.
Once the element is indicated, you will get a list of attributes available on that element.
Just choose yours & save the output in a variable which can be utilized later.
Hope that helps.
Thanks
#nK
- get attribute - selector to the element, attribute name: data-item
- the returned string is JSON
- deserialize JSON activity - myJObject
- Assign Activity: intQuantitiy = myJObject(“quantity”).Value(Of Int32)