Hi,
I am trying to automate two devices automatically using ranorex recorder. I have recorded actions on both my devices and now when I play the recording, all actions are performed in only one phone. Now when I see the generated code, there is no id being passed on a touch method. So I need your help on how to differentiate between devices on multiple devices.
Thanks in advance
Ram
Device Specification for Touch in case multiple devices
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Device Specification for Touch in case multiple devices
Hi ram211991,
Unfortunately I am not exactly sure if I got your problem correctly, but the RanoreXPath could be the key to solve your issue. The RanoreXPath is used for identifying objects and elements on the screen. Each repository item refers to a RanoreXPath used to identify the corresponding UI element.
If you have an application folder (e.g. Base: ‘/mobileapp[@title='ranorex.MiniKeePass']’) in which all of your used repository items are part of them, all actions will be performed on the device, chosen in the ‘Run Mobile App’ action.
If you want to run some actions on a specific device (e.g. Ranorex Phone) just make a new application folder (e.g. Base: ‘/mobileapp[@devicename='Ranorex Phone'] and add the repository items, used for the device specific actions. After that, drag and drop the modified items in the action table of your recording modules.
For detailed information about RanoreXPath and how to modify them please have a look at the following links: I hope that helps.
Regards
Manuel
Unfortunately I am not exactly sure if I got your problem correctly, but the RanoreXPath could be the key to solve your issue. The RanoreXPath is used for identifying objects and elements on the screen. Each repository item refers to a RanoreXPath used to identify the corresponding UI element.
If you have an application folder (e.g. Base: ‘/mobileapp[@title='ranorex.MiniKeePass']’) in which all of your used repository items are part of them, all actions will be performed on the device, chosen in the ‘Run Mobile App’ action.
If you want to run some actions on a specific device (e.g. Ranorex Phone) just make a new application folder (e.g. Base: ‘/mobileapp[@devicename='Ranorex Phone'] and add the repository items, used for the device specific actions. After that, drag and drop the modified items in the action table of your recording modules.
For detailed information about RanoreXPath and how to modify them please have a look at the following links: I hope that helps.
Regards
Manuel
Re: Device Specification for Touch in case multiple devices
Thanks Manuel. Will try the same. Hope it works.!!