Getting Ranorex Xpath of Controls
Posted: Thu Apr 01, 2010 7:43 am
Ok i am currently wirting a programm that should automate some of our intern software, therefore i want to kind of emulate ranorex spy. I want the user to just mark a control and being able to add it to a "library" via click(adding the Ranorex Xpath), later it can be used to automate tests. For now i have a workaround for this which seems to work okay, i let the user use Ranorex Spy to get the main control windows xpath copy paste it in my apllication and Go through all controls of the application he selected, afterwards once he marked a control i can then add the xpath to my application.
Now my question is is there an easier way to just get the xpath via click on a control or shortcut + click into my code. Or can you tell me how i can get the xpath of the main application when i have its process?
Your help would be very appreciated.
Nikolas Crisci
Now my question is is there an easier way to just get the xpath via click on a control or shortcut + click into my code. Or can you tell me how i can get the xpath of the main application when i have its process?
Your help would be very appreciated.
Nikolas Crisci