How to connect to local devices for mobile testing using the UFT AOM (Automation Object Model)?

Question ID: 109128
1
0

Is there a way to specify a connection to local devices (rather than Mobile Center) for mobile testing using UFT’s AOM? I need to be able to specify the connection details in my test.

Marked as spam
Posted by (Questions: 346, Answers: 13)
Asked on July 30, 2019 6:13 pm
14 views
Answers
1
Private answer

Yes, this is a new feature to UFT 14.53, so make sure you are on at least that version.

This gives you the LocalPort and Type properties for the MCConnection object, letting you set the local device configuration options previously only available in the Local Device Connection Settings within MObile Options under UFT Tools/Options/GUI Testing/Mobile.

Please see the AOM online reference guide for full details and syntax:

https://admhelp.microfocus.com/uft/en/all/AutomationObjectModel/Default.htm#Mobile/MobileConnectionOptionsObject.htm

https://admhelp.microfocus.com/uft/en/all/AutomationObjectModel/Default.htm#Mobile/MobileConnectionOptionsObject.htm#mt-item-2

https://admhelp.microfocus.com/uft/en/all/AutomationObjectModel/Default.htm#Mobile/MobileConnectionOptionsObject.htm#Type

Marked as spam
Posted by (Questions: 0, Answers: 694)
Answered on July 30, 2019 6:14 pm
Thanks very much. Installing UFT 14.53 now.
( at July 30, 2019 6:15 pm)