After you successfully install Qualitia remote agent, you can configure it to
be desired Qualitia project for automating test cases.
To configure the
agent fill up the details in General, Dependency, Execution, and Platform sections as described below.
General Anchor |
---|
1 | 1 | From this section, you can provide Project, Database, and License Server related settings.
Integration Type | Select the integration type from the drop down list. By Default, TFS is selected. |
---|
Server URL | Enter the Qualitia server URL. Qualitia Server URL is a combination of Hostname/IP of the server where you have installed Qualitia server along with the port 8887. Sample URL may look like: http://192.168.25.33:8887 or http://localhost:8887 (if Qualitia server is installed locally). By default, Qualitia collects the URL you have entered while configuring the build and release pipelines. |
---|
On this page:
Dependency Anchor |
---|
4 | 4 | From this section, you add paths to all the dependencies such as project path, report path and so forth.
By default, Qualitia auto-creates and sets values for these fields. You may further update directories based on the requirements.
Dependency |
---|
Project Path | This is the directory where Qualitia stores all the project-related data on the local system. In case you are using any version control tool, this is the directory where GIT repository is cloned or SVN folder is checked out. |
Report Path | This is the directory where Qualitia stores all the report-related data on the local system. |
Log Path | This folder stores all the execution logs which you can use for troubleshooting in case there are any problems during test case linking and execution. |
XML Path | This is the path where all the execution XMLs are stored. |
Custom Action Repository Path | Select the folder where your Custom Action files exist. Multiple paths should be separated with semi-colon (;) and the last path should be ended by semi colon (;). |
AutoIT Install Path | Select the folder where have installed AutoIT. For more information about this, click here. |
Java Path | Select the absolute path where you have installed Java 8 (java.exe). This can be either Oracle JDK / Open JDK. |
Selenium Server Jar Path | Select the absolute path to the Selenium Server JAR. This is set by default. In case you want to use different version of jar, you may change it here. |
Execution Anchor |
---|
2 | 2 | The Execution section under Configuration Settings window allows configuring settings related to test case execution.
Execution |
---|
Wait Mode | Select Wait Mode from the drop-down list. Default is Explicit. |
Timeout | Enter the maximum time to wait (in seconds) for the object to load on the page when executing the test case. Default is 10. This option is available for Explicit wait mode only. |
Sync Time | Enter the maximum time to wait (in seconds) for an object to load when executing the test case. Default is 20. This option is available for Implicit wait mode only. |
Polling Interval | Enter the polling interval in milliseconds. Default is 100. |
Page Timeout | Enter maximum time to wait (in seconds) for the page to load when executing test cases. Default is 20. |
Report Logs | Select appropriate options for which you want to save logs when executing test cases. |
Screen Capture Mode | Select the screen capture mode: Desktop or Browser. Default is Desktop. |
Fail Step on Screenshot Failure | Selecting this option fails steps if browser screenshot is not captured when executing test case. This option is available only if the screen capture mode is selected to Browser. |
Highlight Active Element | Select this option if you want to highlight the element on which action is being performed from the application under test during test case execution. |
Optimization Mode (Experimental) | Selecting this option eliminates object level waits and improves performance when executing Qualitia test cases. Deselect this option if you experience failures for your test suites created before Qualitia automation version 5.2. |
Show Report After Execution | Selecting this option launches test case execution report after the execution is complete. |
Ignore Angular Synchronization | Select this option if you want to disable Angular synchronization with the page before performing any action. This may cause test case failure and should be used only when necessary. |
Capture Snapshots on | Select options for which you want to capture screenshots while executing test cases. You can select multiple options. |
Build Number | Enter the build number based on the project requirements. |
Release Number | Enter the release number based on the project requirements. |
Note |
---|
Qualitia Remote Agent:
To execute test cases for a pipeline on web and mobile applications | Do the following in the order listed: - Select the Project Type as Web/Mobile.
- Click the General Tab to configure the following settings:
- Under Integration Details, enter the TFS/Azure DevOps URL, in Server URL.
Note: You can click Test Connection to verify whether the connection to TFS/Azure DevOps is successful. - Under Dependency Path and Web/Mobile Settings, configure the required settings. For more details, refer to Configure the Project Settings.
- Click the Execution tab to configure the settings required to execute the test cases on web and mobile environments. For more details, refer to Configuring the System Execution Profile Settings for a Web/Mobile Project.
|
To execute test cases for a pipeline on desktop applications | Do the following in the order listed: - Select the Project Type as Desktop.
- Click the General Tab to configure the following settings:
- Under Integration Details, enter the TFS/Azure DevOps URL, in Server URL.
Note: You can click Test Connection to verify whether the connection to TFS/Azure DevOps is successful. - Under Dependency Path and Desktop Settings, configure the required settings. For more details, refer to Configure the Project Settings.
- Click the Execution tab to configure the settings required to execute the test cases on desktop. For more details, refer to Configuring the System Execution Profile Settings for a Desktop Project.
|
Note |
---|
|
General - For Capture Screenshot, if you select Fail or Defect checkbox, or both of them, you can view the associated screenshots in TFS/Azure DevOps. After the test case executions in the pipeline, open TFS/Azure DevOps, go to Result Tests > Attachments, you can now view the screenshots of steps as per the selected execution status (Fail, Defect, or both).
- The custom actions compiled with Java 7 or earlier versions might not work as expected. You might need to compile them again with Java 8.
For Web Applications - All the latest browser drivers are shipped with Qualitia.
- Gecko Driver can be used for versions before FF-48 but Mozilla does not guarantee a flawless executions on versions before FF-48.
- To execute test cases on Firefox v48 and above, select Selenium server 3.0 (on the Execution tab) and select the Gecko Driver path.
- Safari executions are now supported on Mac Sierra or later using Apple’s Safari driver.
- For IE only versions 9 and above are supported as Microsoft has stopped supporting earlier versions.The custom actions compiled with Java 7 or earlier versions might not work as expected. You might need to compile them again with Java 8.
- For more information on the Selenium Server Jar, click here.
|
Platform Anchor |
---|
3 | 3 | The Platform section under Configuration Settings window allows configuring settings related to test case execution platformUDID | For Android: Enter the device ID.
For iOS: Enter device identifier on which you want to execute test cases.
Desktop Web |
---|
Browser Type | Select the browser which you want to use for test case execution from the drop-down list. |
Browser Driver Path | Select the browser driver path based on the browser selected above |
Browser Profile Path | Select the browser profile path if you want to execute test with specific browser profile. |
Mobile |
---|
Server: Port | Enter Appium server and port details. Default is 127.0.0.1: 4723. |
Platform | Select platform for test case execution: Android or iOS. |
more information about this, please refer to the How to Identify UDID in Frequently Asked Questions (FAQs).Mobile Browser | Select the mobile browser on which you want to execute test cases. |
Execute on Mobile Web | Select this option if you want to execute test on the mobile device. |
Native Object Sync Time | Enter the number of seconds for which Appium will wait for a native object to appear. Default is 2 seconds. |
Note |
---|
For Mobile Application iOS Devices: - Qualitia users can keep this field empty and specify the Device Name + Platform Version in iosdc.properties file.
(Located at: %LocalAppData%\QualitiaWDClient\app-<version\WebDriver\config) - Device name is mandatory.
- If Platform version is not specified, Appium considers the latest platform version (for example, 10.3) and creates a new simulator each time to perform test case execution.
For Android Devices: - If UDID is not specified, test cases will be executed on the last connected device.
- Entering incorrect UDID results in failing test case execution.
|