I was using the default Ranorex Recorder with the help of Element Browser to get the exact locations of the Elements instead of mouse coordinates, to automate some of our applications.
The Recording1.cs file which is generated alongwith the Ranorex Recorder does not compile and gives errors where the MouseClicks are present.
I had to manually go and change some of the commands to get it working.
This is the code in the auto generated Recording1.cs file:
repo.MenuBarExplorer.XYZ_Application.Click(MouseButtons.Right, , ,500);
(Check the blanks in the function), which I had to change to something like
repo.MenuBarExplorer.XYZ_Application.Click(MouseButtons.Right,"Center",1,500); to get it working.
Am I doing something wrong here or this is the normal behaviour of Ranorex?
Thanks & Regards,
Ranorex Spy, Recorder, and Studio.
2 posts • Page 1 of 1
Last edited by devenb on Tue Mar 10, 2009 2:13 pm, edited 1 time in total.
- Support Team
- Site Admin
- Posts: 12172
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA