Hello!
One question concerns about different landscape and portrait mode on iPad. Each iPad has two different landscape and portrait side and do Ranorex has opportunity to check any perspective of iPad like an enum or so on?
Example:
I want to touch Menu 1 in landscape mode. After I turn over the ipad, it toutches Menu 4
Before: (before.png)
After: (after.png)
I would appreciate if you would have an answer.
Kind regards
Daniel Nikolov
How can I figure out different landscape and portrait mode
-
- Posts: 2
- Joined: Fri Sep 13, 2013 9:21 am
How can I figure out different landscape and portrait mode
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How can I figure out different landscape and portrait mode
Hello,
If I got your question correctly, you would like to always click on 'Menu 1' (both: landscape and portrait mode).
Ranorex uses a RanoreXPath to uniquely identify an element within your application.
You might need to adjust the RanoreXPath of your 'Menu 1' item to be unique in your application:
Could you please post or send us ([email protected]) a Ranorex Snapshot of your application?.
Please take a look at Creating Ranorex Snapshot Files in our User Guide.
Regards,
Markus (T)
If I got your question correctly, you would like to always click on 'Menu 1' (both: landscape and portrait mode).
Ranorex uses a RanoreXPath to uniquely identify an element within your application.
You might need to adjust the RanoreXPath of your 'Menu 1' item to be unique in your application:
Code: Select all
/mobileapp[@title='YourApp']/container[@controlname='Menu 1']
Please take a look at Creating Ranorex Snapshot Files in our User Guide.
Regards,
Markus (T)