Showing posts with label uft mobile tutorial. Show all posts
Showing posts with label uft mobile tutorial. Show all posts

Wednesday 4 September 2013

Tutorial - Go to Websites Script on UFT Mobile

uft mobile tutorial

The UFT version of this script, is split into three actions:
Pre:

The home command brings the phone to its idle state and it is recommended to start all scripts with it as they allow us to start from a known location.

Action:





This action loops over a data table, with a local data table and a call property running on all rows.
























WebBrowser.Goto

This command, opens the browser and directly it to a URL. The URL comes from the data table.
This command is available on Android and iOS devices.

















Wait

This command waits for the time specified to pass. It is used here to give the browser time to load the page. 
It is also possible to create a more advanced sync function that will check the screen of the phone to determine when the page has loaded.

Post




It is good practice to end the script in the home screen, so the home command is used at the ending as well as the beginning of the script