Cannot find the UI Element corresponding to this selector

uiautomation

#1

Hi Team,

I have tried web recording in both manual & automatic modes.

When I am using “Attach Window” everything working as expected, but when I try “Open Browser” instead of “Attach Window” I am getting an error.

I have tried with “Top containner’s” selector, then it works. If i use the selector of “Top containner’s” in every activity, then it is working fine.

Could you suggest the right to minimize these steps?


#2

This must be due to the selector you are using. I have tried this inside Open Browser and it works both with and without the Attach Browser activity. Please see the attached file which opens the browser assigns it to a variable uiBrowser and then clicks Chelsea on the BBC Football website. The attach window activity is disabled but maybe using that will help you, notice it uses the uiBrowser variable (type=Browser) to attach to the window that was previously opened by the Open Browser activity.

RichardOpenBrowser.zip (149.4 KB)