microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.4k forks source link

unable to find elements in winappdriver #1579

Open Shirisha8812 opened 3 years ago

Shirisha8812 commented 3 years ago

Hi, I am unable to find the element using inspect.exe. From Inspect I can only see the element name . I am unable to find the parent tree for the respective button field which I need to click. I tried to use the xpath from UI recorder but it's not working.
It seems like some properties are hidden(or invisible). I can check with xpath through inspect web elements as the screen is build with chromium browser. Is there anyway I can use selenium webdriver to click on the element. Appreciate your help. Thanks

anunay1 commented 3 years ago

Can you check if directly using the name works instead of xpath? I am pretty sure that it will work. yes you can use selenium webdriver?

Shirisha8812 commented 3 years ago

Finding element with name is not working. I tried with converting to web element ,that did not worked. When I mouse over on the element to inspect with inspect tool , I can not trace it in tree structure. I can see the parent window of the element but I can't find the element by expanding the tree.

anunay1 commented 3 years ago

Can you share what is shown in inspect and the application

Shirisha8812 commented 3 years ago

When I mouse over on "Next Step" button image

If I click on "Next step" it will redirects to another page. I right clicked on it to get the properties. image

image

anunay1 commented 3 years ago

All your images blurred, I can't figure out anything.

anunay1 commented 3 years ago

if possible please schedule a zoom call anunayathakur1@gmail.com now itself.