How to change the mobile devices in UFT programmatically
I have scripted 100 scripts using one mobile device. Also i did batch run all the scripts with that device. Now i want to change the device with new one and do the batch run. Please assist on how to change the mobile device in UFT programmatically and dynamically.
Re: How to change the mobile devices in UFT programmatically
HI Hasan Mohammed
Why you don't use device capability instead of using a specific device? If you open Record and Run settings in UFT, there will be 2 different options to select device - Device capabilities and Specific Device.
Select Device by capabilites will allow you to pick up any device that match your criteria. For example, set OS as Android and OS version is Later than 8.0. The first device that match criteria will be used for your test.