Hi,
I got stuck at a point wherein I am not able to identify the element on which I have to right click
lease help me to understand how can I identify an element using coordinates and perform right click on it?
Regards
Ravindra
How to right click on any element using co-ordinates
Re: How to right click on any element using co-ordinates
Hi,
Please upload a Ranorex snapshot (NOT screenshot) of the problematic app. Coordinate-based automation will not "identify" the element. Basically, the test simply performs desired action at defined position. There is no element identification performed at all. So if the element is not there (at defined position), Ranorex may perform the action on completely unrelated element, located under mouse.
BTW, have you tried the GDI Capture approach? It may help with element identification, using RAW texts, extracted from UI elements. And finally, image based automation may be helpful too. It's definitely better option, than coordinate-based automation
Please upload a Ranorex snapshot (NOT screenshot) of the problematic app. Coordinate-based automation will not "identify" the element. Basically, the test simply performs desired action at defined position. There is no element identification performed at all. So if the element is not there (at defined position), Ranorex may perform the action on completely unrelated element, located under mouse.
BTW, have you tried the GDI Capture approach? It may help with element identification, using RAW texts, extracted from UI elements. And finally, image based automation may be helpful too. It's definitely better option, than coordinate-based automation
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to right click on any element using co-ordinates
Hi,
I got the GDI capture settings in the Settings window
On opening it is asking for "Process Name" and "Window Class Name"
What values do I have to pass here ?
Please suggest
I got the GDI capture settings in the Settings window
On opening it is asking for "Process Name" and "Window Class Name"
What values do I have to pass here ?
Please suggest
Re: How to right click on any element using co-ordinates
Hi,
Please check the GDI Capture Configuration section of User Guide. In Spy, you should right click nearest ancestor/parent container (from the element you would like to use) and select Add class name to GDI capture list. If there is no such context menu option available, you should go up in UI tree and check another ancestor element, if it contains such option.
Please check the GDI Capture Configuration section of User Guide. In Spy, you should right click nearest ancestor/parent container (from the element you would like to use) and select Add class name to GDI capture list. If there is no such context menu option available, you should go up in UI tree and check another ancestor element, if it contains such option.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration