Hi,
I am a new user of the ranorex tool.
Ranorex recorder automatically created cs file successfully after play, using record and play option. It's fine.
Can i remove the new point(x,y) in my cs file.
Plz, explain clearly.
Thanks & Regards,
Palani
Need to remove position argument in testcase
-
- Posts: 8
- Joined: Mon May 19, 2008 2:35 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Hi Palani,
yes, you can remove the new Point(x,y) statements if the control/element is uniquely identifiable by the other arguments of the find method.
Currently, there is not option in the RanorexRecorder to disable the generation of these location statements. However, it's one of the highest prioritized entries on our wanted features list.
Regards,
Alex
Ranorex Support Team
yes, you can remove the new Point(x,y) statements if the control/element is uniquely identifiable by the other arguments of the find method.
Currently, there is not option in the RanorexRecorder to disable the generation of these location statements. However, it's one of the highest prioritized entries on our wanted features list.
Regards,
Alex
Ranorex Support Team
-
- Posts: 8
- Joined: Mon May 19, 2008 2:35 pm
remove mouse position
Hi,
We cannot leave the point(new point(x,y)) argument when i try to double click.
No overload functions are available with clickcount argument separately without new point argument.
Any solution?
Regards,
Palani
We cannot leave the point(new point(x,y)) argument when i try to double click.
No overload functions are available with clickcount argument separately without new point argument.
Any solution?
Regards,
Palani
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: remove mouse position
You are right, there is no overload of the Mouse.ClickElement method that takes a clickCount, but no point. However, you can just pass a new Point(-1,-1) for the point argument. That will have the same effect as not specifying a point at all, i.e. the mouse will click on the center of the element.
Regards,
Alex
Ranorex Support Team
Regards,
Alex
Ranorex Support Team