Click Activity fails when there are 2 lines in the Hyperlink inside webpage, however the same selector works fine with single line hyperlink text

image
My selector selects all the countries like
England,
Denmark
Poland, France whichever is there in online
But not selecting “Austria, Czech Rep., Hungary, Slovenia, Slovakia,”
Here is my selector
image

SearchText is the Variable in which country names are passed

1 Like

Hey @u322805

Is the text and it’s format exactly same as in the screen ?

Thanks
#nK

1 Like

@Nithinkrishna yes I checked it several times it is the same … it works for all the countries in single line

1 Like

Hey @u322805

Could you please show me a selector for the hyperlink with multi line text & also the dynamic selector(after it is getting formed) which you are forming you can just print it and show here please for troubleshooting.

Thanks
#nK

1 Like

Sure
image
In this Selector Search Text is the variable where CountryName is assigned

1 Like

Yep, I want to see the selector once you have some value assigned to a variable.

Just print the selector with the value assigned to the variable in the code.

And also just indicate the multiline hyperlink directly using UI Explorer and show the selector for that please…

Thanks
#nK

1 Like

This is the value of the variable @Nithinkrishna
SearchText = “Austria, Czech Rep., Hungary, Slovenia, Slovakia,”

Thanks for helping

1 Like

Could you please now indicate the multiline hyperlink on the screen and show me the selector please from UI Explorer.

Thanks
#nK

1 Like

@Nithinkrishna This is it
image

image

html app=‘msedge.exe’ title=‘Web - Shipment search’ />
webctrl aaname='Austria, Czech Rep., Hungary, Slovenia, Slovakia, ’ parentid=‘srd’ tag=‘A’ />

1 Like

Hey @u322805

As expected I think you are missing a space at the end in your string variable value which is causing the click to fail…

Also I can see the window title is different in your dynamic selector compared to UiExplorer…

Kindly check.

Thanks
#nK

1 Like

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