Select one of the three

Hi All,

I should select the MAIN SCREEN below showing in img
uipath95223

By clicking the main screen img
uipath95224

the selector showing properties and i was select as below showing img

After this while processing the code i am getting error as shown in img
uipath95222

Any one help me in how to select that particular one MAIN SCREEN

1 Like

Hi @meeraa,

I can see on your screenshot that line 2 of your selector is breaking, you have used [3] instead of [4]. I would replace this with a wildcard and try running it again.

1 Like

Hey @meeraa

Could you please make the second line of the selector as below,

<java name='Interaction Home*' role='internal frame' />

Thanks
#nK

1 Like

Hi @Nithinkrishna , will you help me like where did you find that in error.
like change this thing as you shared may i know where we can see the changing values we can find?
like how can compare the error and edit selector.
its really use full to me in further process.

And its working

Hey @meeraa

It’s actually in the error message screenshot which was shared by you.

The error message says, Could not find UI element for this selector

And the main thing is in the 2nd and 3rd section of the error message,

  • 2nd section confirms that the selector failed at line [2]

  • And the 3rd section prints the closest match which shows the change in number in the name attribute of the selector which proves the number in the value may be changing or dynamic like 3, 4, 5 etc…

So the resolution we did is just to use wild card * which means there can be any characters at that point.

For more info on that, you can please refer - Selectors with Wildcards

Hope this helps.

Thanks
#nK

1 Like