I’m facing a challenge. In automation process a window with data pops up. The automation is to get text from one cell. It turns out the pop-up window comes in 2 versions. Depends on version the cell’s address (highlighted in the picutre below) changes:
idx = 59
idx = 9
What shoud I do in order do make the selector accept both numbers depends on pop-up window version?
First let’s get the id value using GET ATTRIBUTE activity and save that in a string variable
Use a IF condition like this
Strinput.ToString.Contains(“59”)
If true then it goes to THEN part where keep a activity with Id as 59 in its selector
Or
It will go to ELSE part where use a activity with Id as 9 in it selector