I want to select the ' responses ' in a webpage but the selector editor can't find it

Hello,

I you see my screenshot, the questions are selected from the start but the robot must go to the responses.
So I put this code in the selector Editor. But at run he doesn’t select it.

< html app=‘msedge.exe’ />
< webctrl aaname=‘Responses’ aria-role=‘tab’ tag=‘DIV’ />

How to solve this? (The webpage is in MSForms)

image
It’s a webpage with 2 tabs in it: Questions and responses.

Kind regards,
Kris

Hi @Kris_Bauwens1

Can you share the selector in UI explorer. Have you tried wioth Click Image activity

Regards
Gokul

Hello,

My code is:

< html app=‘msedge.exe’ />
< webctrl aaname=‘Responses’ aria-role=‘tab’ tag=‘DIV’ />

I have done it in a click event.

Are you using it in chrome browser?

Can you share the error message also here @Kris_Bauwens1

No, MSEdge and it is a policy.

The error that I get is this:
Error {“message”:"Click ‘Open in Excel’: Cannot find the UI element corresponding to this selector:

On the responses tab there is a button which I select ’ Open in Excel ’ but which he can’t find when he is on the first tab.

image

Can I activate the tab Responses with a key stroke and code in Studio?

HI @Kris_Bauwens1

You can try with Send hotkey activity “tab”

Regards
Gokul

I tried it but it doesn’t work. The Robot tabs to other fields in the webpage.

I tested something quiet stupid like Windows Forms: when I do 12*tab + arrow key right and then Enter I am on that tab.

Hello @Kris_Bauwens1

Can you run it in debug mode and enable the higlight element in the panel. then run it in stepinto mode and check whether the Response tab is getting highlighted.

If not, you need to recheck the selector, else you need to change the input methods of the click activity.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.