cancel
Showing results for 
Search instead for 
Did you mean: 

How to spy elements that will keep changing data

FrankieTEWV
Level 5
Hello,

In my automation i will be spying a field where the data will change each time.

For example it will search for a staff number and then when the bot clicks on filter the staff name will appear.


To open the staff record the bot will need to click on the staff name.

I can spy the staff name element but this will change each time as it works through the staff numbers in the work queue.

Has anyone had this issue before as i dont know how to programme it to be able to click the link on the staff name when the staff name will change each time .

Thanks
Frankie

------------------------------
Frankie Legg
------------------------------
1 BEST ANSWER

Best Answers

GopalBhaire
Level 10

Hi Frankie,

You can spy the staff name element and unselect the attributes that the contain the name of staff as the value, attribute such as 'Web Text', etc. you can then try to check if it is highlighting the same element for other names. 

Thanks,



------------------------------
Gopal Bhaire
------------------------------

View answer in original post

2 REPLIES 2

GopalBhaire
Level 10

Hi Frankie,

You can spy the staff name element and unselect the attributes that the contain the name of staff as the value, attribute such as 'Web Text', etc. you can then try to check if it is highlighting the same element for other names. 

Thanks,



------------------------------
Gopal Bhaire
------------------------------

Thank you very much !!

------------------------------
Frankie Legg
------------------------------