Hi @Chiu_Haoyu , I might be able to help you, but, please, give me a little background in English, or at least, correct me if I am wrong in my assumptions. So, you have a click activity on a button, and, when you execute it first time, it works, but second time it will timeout because the element is not found, is that correct?
What is the version of UiAutomation package that you are using? If it is less than 19.5, please try and see if the issue replicates with one of the latest version (20.x).
After the second run times out, if you try to get the selector again, is it the same as the initial one? If you go to Selector Editor panel, the initial selector is still valid?
I have a click activity on a button, and, when you execute it first time, it works, but second time it will timeout because the element is not found.
It is correct.
The version of UiAutomation package is 20.10.5-beta0020 that I am using.
I tied to mend the selector Editor from red to green, and it is excuted by Indicte Element. But when I debug it, the some error happened. Then, open the selector Editor again, the some content(red) was happened.
Yes,even I make a new selector, it was being invalid.
In selector Editor, it can’t do “Repair” so I try to do “Indicate Element” and excute to make the Validate to green. But when I test it again, it could not move.
For the record, an upgrade to UiAutomation 21.2 solved the problem. It looks like, with 20.10, the name attribute extracted for the page tab list was not the correct one, but did not debug it further.