I am new to uipath and facing an issue here, when I am trying to automate the SAP application. Scenario: 1) I am accessing some T-code and then I click on Get variant icon.
2) A new window(Get Variant) opens up & display some non editable variant name, I just want to select the same variant name (Pre-existing) which is already showing up on window and run. Expected: with double click on that variant name, it should execute and allow me for further steps to run the report.
I am able to run the code till it shows the variant window with pre-existing variant name in it. only issue is the variant is not getting captured with double click or double click with text.
At the end it gives error : Cannot find the UI element corresponding to this selector
Hi Meenal,
Is selector available, is it dynamic or static- you can check this, Or is it working with Get Text activity. Use scrapping also and then tell whether you able to get the text of variant.
Or if you can share the screenshot of the window, people can understand well.
This issue normally occurs when a selector doesn’t validate. Take a look at the selector you are using, and try to make it stronger by removing attributes it doesn’t need, or replacing attributes that are changing with wildcards (*). This could be any number of things, from the title of the page, to the name of the button you are clicking on.
As @sachinbhardwaj has said, a screenshot of your selector and a screenshot of the element you’re tying to click on would be helpful.
it seems dynamic. I tried get text activity but it doesn’t work.
I am attaching the screenshot. So if you see, I just need to either double click or click on text appearing under Variant name and run.
yes after I execute the file, its not validating the selector and also the value is changing. I tried get text activity and also replaces the ctrlid with *
but it doesn’t work.
I am attaching the screenshot. So if you see, I just need to either double click or click on text appearing under Variant name and run.
Hello,
I’ve attached the selector for your ref. so 1st ctrlid starting with 22** does change after execution.
Thanks in advance for your prompt replies
Hello,
I tried this but it is partially working, meaning it does select the variant name but double click doesn’t work. But now I have bypassed the step of auto selection of variant and entering the values instead. So now able to successfully proceed.
Thank you for the help