Run mobile tests from OpenText Application Quality Management
If you store your test in OpenText Application Quality Management, use the same to also store the device settings for your test and change them between test runs.
Prerequisites
Make sure you meet the following prerequisites:
Prerequisites | Description |
---|---|
Update your testing options |
In Test Runs pane of the Options dialog, select the Allow other products to run tests and components option. (Tools > Options > GUI Testing tab > Test Runs node) |
Verify DCOM permission settings |
DCOM permissions are set automatically if Configure DCOM settings for ALM Integration is selected during the OpenText Functional Testing installation. For more details, see the section on modifying DCOM permissions in the OpenText Functional Testing Installation Guide. |
Set the device ID for the test device
To set the device ID:
-
In OpenText Functional Testing, connect to your ALM project (ALM > ALM Connection).
-
Open the test you want to save.
-
Set the description properties of the device used in the test:
-
In the test's object repository, in the Test Objects tree, select Device.
-
On the right, click the Add description properties
button.
-
In the Add Properties dialog box, select id. The id property is added to the list of Description properties.
Note: If you do not specify the device description properties, then the device and application settings set in OpenText Application Quality Management are used to run the test, even if you have selected a specific device and app in the Record and Run Settings in OpenText Functional Testing.
-
-
Convert the value of the id property to a data table parameter:
- In the Test object details area, click in the Value cell for the id property.
- Click the parameterization icon to the right of the value.
- In the Value Configuration Options dialog box, select Parameter, and then select DataTable from the list.
- Select to store the data table content in the global sheet, or in the current action sheet.
The id parameter is added to the Data pane.
-
Save the test in the ALM Test Plan (File > Save <testname> As). The test opens.
-
Continue with Add your test data to your ALM Test Resources.
Add your test data to your ALM Test Resources
To add your test data, first export your OpenText Functional Testing data table. Right click in a data table cell, and select File > Export.
In OpenText Application Quality Management, add the Excel file you just created to the Test Resources module:
-
On the left, expand the ALM Testing module, and select Test Resources.
-
In the Resources tree, right-click a relevant folder and select New Resource.
In the New Resource dialog box, enter the exact name of the Excel file you exported earlier (without the extension), and set the Type to Data table.
-
In the Resources tree, select your new resource.
-
In the Resource Viewer tab on the right, click Upload File
.
-
Browse to and select the Excel file that contains your exported OpenText Functional Testing data table content.
The data table content is now available for use.
Add your test data to your ALM test
- In ALM Testing module, select Test Plan.
- Browse to and open your test, or create a new test configuration. Click the ID link to open the Test Configuration Details dialog box.
- In the Test Configuration Details dialog box, select Data on the left, then select Override test data resource.
- From the Data Resource drop-down, select the data table resource you uploaded earlier.
-
In OpenText Functional Testing, reopen the test, and set the data table to the data table resource now saved in OpenText Application Quality Management:
-
Select File > Settings > Resources.
-
In the Data Table area, select Other location and browse to and select your table.
You'll find it by selecting ALM Resources in the Open dialog box.
The data source is added to the Data Table area of the Resources pane.
-
Run your tests from OpenText Application Quality Management with the ALM Extension
Use the ALM Extension for OpenText Functional Testing Lab to set device, app, and test definitions settings directly from OpenText Application Quality Management, without opening OpenText Functional Testing.
When you use the extension for OpenText Functional Testing Lab, test results for test runs are automatically saved in OpenText Application Quality Management.
To do this, you must first do the following:
Option | Description |
---|---|
Configure OpenText Application Quality Management to work with OpenText Functional Testing Lab |
For more details on integrating OpenText Application Quality Management with OpenText Functional Testing Lab, see the OpenText Application Quality Management Help Center. |
Verify your proxy settings |
When running a test remotely using OpenText Application Quality Management, the OpenText Functional Testing proxy setting information is used to connect to the OpenText Functional Testing Lab, even if the settings in OpenText Application Quality Management are different. Ensure that the settings for the current run are the same in OpenText Functional Testing as the test in OpenText Application Quality Management when running a test. For details, see Connect to a Functional Testing Lab or to mobile devices. |
See also: