You can open a mobile device from the lab for manual testing. These sessions can be recorded, and you can use the steps performed to submit a defect directly to ALM Octane.
To start a testing session on a device:
- Open the UFT Mobile Lab console by navigating to:
http/s://<UFT Mobile server IP address>:<server port>and logging in with your credentials.
UFT Mobile Lab console (SaaS): To access the UFT Mobile Lab console, navigate to the UFT Mobile SaaS URL provided to you, and log in with your credentials.
- In the Devices tab, open a device by hovering over it in Card view and clicking , or by selecting the device and clicking Open device remotely in List view.
In the device access window, click the Exploratory Testing icon at the top of the panel. (By default, this icon is located in the right-hand panel.)
You can interact with a device during a manual testing session and perform the following actions:
- Simulations, including Fingerprint and Face ID simulation, Photo and video simulation, and QR code and barcode simulation.
- App interactions, such as installing and launching apps. For details, see Device actions & simulations.
- Other actions, such as changing your orientation, zoom in and out of your device, or send text to your device. You can also view information about the device. For details, see Device access window.
To record an exploratory test, click the record button in the toolbar to start recording the session.
Note: UFT Mobile captures all steps that you perform, and saves snapshots automatically. As a result, device responsiveness is slower than when actions are performed on a device without recording.
Actions performed on the device are added as steps, together with a screenshot.
The exploratory test toolbar includes the following options:
|Pause recording. To resume recording after pausing, click the record button .|
|Download a zip file of the steps. The zip file includes screenshots and the following text files: device_details, recorded_steps, and device_logs. You can use this to create a test case.|
|Submit a defect to ALM Octane. For details, see Submit defect.|
The date and time that a step was performed is added after the step in the zip file, and in the defect.
During a recorded session, your test steps are listed in the exploratory testing panel. Use the options in the panel to edit steps as follows:
Select the step/s to delete, or click Select All. Click the Delete button. When steps are deleted, the numbering of the steps and screenshots is adjusted accordingly.
- Click Add Notes to add a note or step. A screenshot is taken automatically when the button is clicked. A placeholder for the note is added as the last step, accompanied by the screenshot.
- Start typing. Click the checkmark to confirm the text and add the note.
The note is added with a /// prefix which cannot be deleted, to indicate that it was added manually.
By default, screenshots are included in the zip file for most steps. Certain steps, such as installing or uninstalling an app, do not include screenshots.
|Exclude all screenshots||Click the exclude screenshots option in the toolbar above the steps to exclude screenshots for all steps.|
|Exclude a specific screenshot||
You can remove screenshots for specific steps. Click to toggle between including or excluding a screenshot for a specific step.
If your administrator has enabled the integration with ALM Octane in the administration settings, you can submit defects during a recorded manual testing session. For details, see Defect Tracking System integration.
To submit a defect:
- Click the Submit Defect button.
- UFT Mobile checks the connection to ALM Octane. A new tab opens to log into ALM Octane. After successfully logging in, or if you are already logged in to ALM Octane, you can close the tab.
If your UFT Mobile username is different from your ALM Octane username, you will prompted to provide your ALM Octane username.
- In the Submit Defect dialog box, give your defect a name, and select the ALM Octane workspace to which to submit the defect. Only workspaces to which you have access are listed.
UFT Mobile will populate the description field of the defect with the device details (manufacturer, model, ID, version) and the numbered list of steps.
Note: The workspace will be saved and set as the default for the next defect that you submit.
If you selected to include a screenshot with a step, the screenshot will be included in a zip file that is automatically attached to the defect. Screenshot files are named according to the step number. The zip file also contains the device log file.
- Click Save to submit your defect.
Use the live log to examine the device log in real time and to investigate issues encountered during testing.
To use the live log:
- In the panel on the side of the device access window panel, click the Live log button .
- Select either an application log, or the device log. For application logs, select one or more apps from the list of UFTM lab apps installed on the device. When selecting an app or changing the selection, any existing log displayed in the panel will be cleared.
- Click the Start button to start the live log. Use the drop-down in the panel to select the logging level - debug, trace, info, warn, error, or fatal. Use the toolbar for auto-scroll, text wrap, download, and copy options.
- Click the Stop button to stop the live log.
Note: Only the last 1000 lines of the log are displayed in the panel. If you need to download the full log, use the Download device logs option.
Test that VoiceOver/TalkBack users can navigate your app conveniently by verifying the VoiceOver/TalkBack output, attributes, and the navigation order of accessibility elements.
Note: Accessibility testing on iOS devices is supported only on iOS version 13 and later.
To test accessibility:
- In the side panel of the device access window panel, click the Accessibility testing button .
- Toggle Accessibility testing to On.
- To shift the focus to an element, use the Next and Previous buttons in the Accessibility Testing toolbar to move between elements, or hold the Ctrl key and use your mouse to click the element.
Tip: Navigating between elements enables you to verify that the order of the elements makes sense, and that there are no navigation traps — elements that cannot be reached using the VoiceOver/TalkBack swipe right/left gesture.
The element in focus is highlighted with a blue border. When elements overlap, the top element highlighted by VoiceOver/TalkBack when you tap this specific location on the screen is highlighted. The VoiceOver/TalkBack descriptions for each accessibility element are displayed as text, together with the available attributes for the element. You can also use mouse-over to view the details of an element.
- To display all the accessibility elements on the screen, click the Show all elements button . Elements are marked with their accessibility frame. To view the navigation order of the elements, click the dropdown next to the button and select Show order.
- After a change such as performing a gesture, changing the device orientation, entering text in a text box, or opening a new page, click the Refresh button in the accessibility testing panel to refresh the accessibility data. If the last highlighted element is still on the screen, it is highlighted. If not, the top element of the accessibility tree is highlighted.
Note: Exploratory recording is not supported for accessibility testing.
- A screenshot of the last action is not recorded and not saved to the report log.
- When recording on iOS devices, hybrid/web is supported only for iOS version 11 and higher.
Sprinter is a software solution for interactive testing, including testing mobile applications. Sprinter provides advanced functionality and tools to make interactive testing more efficient and effective.
When you start up Sprinter, you select whether to log in with your ALM credentials or connect to UFT Mobile.
- Enable browser cookies.
- Clean devices of any apps installed using earlier versions of UFT Mobile.
|Install||Visit the Sprinter page in the AppDelivery Marketplace.|
Open the Sprinter Help Center.