Whether the objects are being recorded by cordinates
Posted: Tue Mar 01, 2011 2:25 pm
Start the ranorex studio.
Create a new solution for Ranorex Windows Application in C#.
Now add a new recording and start Recording e.g Recording1.rxrec.
Now press the record button to record ( Go to Start-> All programs-> Accessories-> Calculator.
Now Press the Stop Button.
Now open the MainForm.cs file and add a line Recording1.start() to the end of MainForm() function.
Observation:-
Now if i run this test it will work as expected.
Now open the Recording1.cs file and comment the line repo.FormStart_Menu.ButtonAll_Programs.click().
Now If i run the test, it will go to start button and then it will click on any object in the start menu situated at those cordinates where Accesories tree is there.
So i want to ask whether Ranorex is recording based on cordinates (Because it should not click on any object if we commented the Recording of "All Programs" Button).
Create a new solution for Ranorex Windows Application in C#.
Now add a new recording and start Recording e.g Recording1.rxrec.
Now press the record button to record ( Go to Start-> All programs-> Accessories-> Calculator.
Now Press the Stop Button.
Now open the MainForm.cs file and add a line Recording1.start() to the end of MainForm() function.
Observation:-
Now if i run this test it will work as expected.
Now open the Recording1.cs file and comment the line repo.FormStart_Menu.ButtonAll_Programs.click().
Now If i run the test, it will go to start button and then it will click on any object in the start menu situated at those cordinates where Accesories tree is there.
So i want to ask whether Ranorex is recording based on cordinates (Because it should not click on any object if we commented the Recording of "All Programs" Button).