converting recordings from 120dpi to 96dpi....
converting recordings from 120dpi to 96dpi....
Is there any way to convert and play the recordings that are taken in 120 dpi on 96 dpi screen resolution?
Re: converting recordings from 120dpi to 96dpi....
As long as you are not doing X/Y coordinate clicking based on screen location you should be fine. Ranorex should be able to determine where the object is by name or other identifying property and select it accordingly.
is something not working for you when you switch resolutions? Can you describe what is happening and provide a snippet of your code where the error exists?
is something not working for you when you switch resolutions? Can you describe what is happening and provide a snippet of your code where the error exists?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: converting recordings from 120dpi to 96dpi....
In general, the only problem you could have switching from 120 to 96 DPI (and vice versa) are the (absolute) relative coordinates the recorder uses to move/click inside UI elements.
By default, the Ranorex Recorder uses relative coordinates inside the UI elements identified by a RanoreXPath to further specify the move/click location. You can disable that behavior, so the recorder will always click at the center of UI elements, by changing the "Record relative element coordinates" in the recorder configuration (see http://www.ranorex.com/support/user-gui ... ation.html).
Note, though, that this may cause problems with some UI elements, e.g. Ranorex will then always click at the center of a textbox, not at the actual point you clicked when recording. You can then specify relative coordinates that are proportional to the length and width of the UI element (e.g. 0.25;0.25 will click at the upper left part of the UI element), which should be the same on 120 and 96 DPI environments, by editing the "Element Location" property of the individual mouse items. (See http://www.ranorex.com/Documentation/Ra ... ctor_1.htm for documentation on proportional relative locations).
Regards,
Alex
Ranorex Support Team
By default, the Ranorex Recorder uses relative coordinates inside the UI elements identified by a RanoreXPath to further specify the move/click location. You can disable that behavior, so the recorder will always click at the center of UI elements, by changing the "Record relative element coordinates" in the recorder configuration (see http://www.ranorex.com/support/user-gui ... ation.html).
Note, though, that this may cause problems with some UI elements, e.g. Ranorex will then always click at the center of a textbox, not at the actual point you clicked when recording. You can then specify relative coordinates that are proportional to the length and width of the UI element (e.g. 0.25;0.25 will click at the upper left part of the UI element), which should be the same on 120 and 96 DPI environments, by editing the "Element Location" property of the individual mouse items. (See http://www.ranorex.com/Documentation/Ra ... ctor_1.htm for documentation on proportional relative locations).
Regards,
Alex
Ranorex Support Team