Table of Contents |
---|
This topic provides information on how to resolve the common issues you may encounter while working on web and mobile applications automation.
General Issues
This topic provides information about the general issues that you may see while working with Qualitia Studio.
...
This error occurs when the Google Chrome browser and Chromedriver are not compatible.
To resolve this error, kindly download the correct chrome driver as per the browser version from In such cases, you must update the browser driver versions. You can get the correct chrome drivers here.
- Once downloaded, open Qualitia Automation Studio, go to to Setting > Local Profile > Configuration Setting and then click Platform.Select Browser Type as Google Execution Configuration.
- Click Browser > Chrome.
- In In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.
- Click OK.
Your test cases should now get executed as expected.
Unable to Add Objects using Objects Spy
Suite Execution Fail Error: com.mysql.jdbc.Connection.isValid(I)Z
...
Solution: Increase the max_allowed_packet size in the Database Server.
...
Qualitia Server is not Getting Connected
Problem: If the Qualitia components (QAS client, QAS server, QAS database, QAS license server, and MOS) are on different computers, you may encounter the following error messages:
...
Execution is failing due to incorrect URL formation. Getting an error "Original error: Failed to connect to….” when executing a test suite.
...
When clicking on the Test Connection button associated with the Qualitia Server URL in the Server Configuration tab, the following error message is displayed:
Cannot connect to the Qualitia Server, there might be the following reasons:
Port might not be accessible.
Server URL might be wrong.
Qualitia Server might not be running
Unable to connect to MOS server that is present on different machine than Qualitia client. Getting an error
"Cannot connect to Qualitia MOS server” there might be following error:Port might not be accessible
Server URL might be wrong
Please ensure that MOS server is installed and the MOS service is running on the specified port
Summary: This issue occurs if the Endpoint Security and VPN settings are restricting the communication between the components.
Solution: To resolve this issue you must enable communication between the Computers as follows:
All Computers must be connected over the same network.
Use VPN to connect all the Computer on same network.
Whitelist the following ports in the VPN.
4723 or the port number where the Appium server is running on the Macintosh Computer
21000
8887
8889
4001
Add rules to open TCP and UDP ports from the Endpoint Security Product.
Ensure that both the incoming and the outgoing traffic is allowed.
Ensure that you are connected to the VPN while creating rules using the Endpoint Security products.
Qualitia recommends using VPN generated IP address for secure communication. For example, to execute a test suite on a different Computer, you need to specify the IP address of that Computer in the execution profile.
You must refer to the documentation of your Endpoint Security product for instructions to allow communication between the Computers that contain the Qualitia components.
Licensing Issues
This topic provides information about the licensing issues that you may face while working with Qualitia Licenses.
Info |
---|
Some organizations follow a practice of creating Virtual Machines (VM) with standard configurations and then clone it for different users to use. If they install Qualitia on the base image, Qualitia licensing manager may get duplicate installation id for the cloned VM. In all likelihood, the end user may receive a licensing error. It is, therefore, recommended to install Qualitia separately on the VMs after they are cloned. |
When trying to log in to Qualitia, the user may get the following error [when the machine is cloned with Qualitia Installation].
Solution:
- On the Qualitia License Server, open the url: http://localhost:1947/_int_/products.html
- If you see following error “Disabled due to Cloning”, take the screenshot and open a support ticket.
- If no such error is displayed in the Qualitia License Server, restart the “Sentinal LDK License Manager” service on the server system.
- If the issue persists for a particular Qualitia Client system only, re-validate the settings documented here.
Solution:
...
.
Summary: Qualitia Services might be unstable.
Solution: You need to repair the Qualitia services that are installed on the Qualitia server.
Perform the following steps:
- Open the computer where the Qualitia Server is installed.
- Double-click the Qualitia - Server icon on your desktop.
- Click the Repair button.
Communication Fails when Qualitia Components are on Different Computers
Problem: If the Qualitia components (QAS client, QAS server, QAS database, QAS license server, and MOS) are on different computers, you may encounter the following error messages:
Execution is failing due to incorrect URL formation. Getting an error "Original error: Failed to connect to….” when executing a test suite.
Unable to connect to Qualitia server that is present on different machine than Qualitia client. Getting an error
Cannot connect to Qualitia Server there might be the following reasons:Port might not be accessible.
Server URL might be wrong.
Qualitia Server might not be running.
Unable to connect to MOS server that is present on different machine than Qualitia client. Getting an error
Cannot connect to Qualitia MOS server there might be following error:Port might not be accessible.
Server URL might be wrong.
Please ensure that MOS server is installed and the MOS service is running on the specified port.
Summary: This issue occurs if the Endpoint Security and VPN settings are restricting the communication between the components.
Solution: To resolve this issue you must enable communication between the Computers as follows:
All Computers must be connected over the same network.
Use VPN to connect all the Computer on same network.
Whitelist the following ports in the VPN.
4723 or the port number where the Appium server is running on the Macintosh Computer
21000
8887
8889
4001
Add rules to open TCP and UDP ports from the Endpoint Security Product.
Ensure that both the incoming and the outgoing traffic is allowed.
Ensure that you are connected to the VPN while creating rules using the Endpoint Security products.
Qualitia recommends using VPN generated IP address for secure communication. For example, to execute a test suite on a different Computer, you need to specify the IP address of that Computer in the execution profile.
You must refer to the documentation of your Endpoint Security product for instructions to allow communication between the Computers that contain the Qualitia components.
Licensing Issues
This topic provides information about the licensing issues that you may face while working with Qualitia Licenses.
Info |
---|
Some organizations follow a practice of creating Virtual Machines (VM) with standard configurations and then clone it for different users to use. If they install Qualitia on the base image, Qualitia licensing manager may get duplicate installation id for the cloned VM. In all likelihood, the end user may receive a licensing error. It is, therefore, recommended to install Qualitia separately on the VMs after they are cloned. |
When trying to log in to Qualitia, the user may get the following error [when the machine is cloned with Qualitia Installation].
Solution:
- On the Qualitia License Server, open the url: http://localhost:1947/_int_/products.html
- If you see following error “Disabled due to Cloning”, take the screenshot and open a support ticket.
- If no such error is displayed in the Qualitia License Server, restart the “Sentinal LDK License Manager” service on the server system.
- If the issue persists for a particular Qualitia Client system only, re-validate the settings documented here.
Solution:
This error occurs when the Sentinel License Manager is missing on the designated machine. Before initiating the Qualitia installation, you must first activate Qualitia license. Activating license includes installing Sentinel License Manager (haspdinst.exe).
...
Version Control Error: Object Reference not set to an instance of an object.
This error occurs when SharpSVN is used as version control tool for the Qualitia test assets. Few SharpSVN components require Microsoft Visual C++ 2010 SP1 Redistributable package.
...
This error occurs when the Google Chrome browser and Chromedriver are not compatible.
To resolve this error, kindly download the correct chrome driver as per the browser version from In such cases, you must update the browser driver versions. You can get the correct chrome drivers here.
- Once downloaded, open Qualitia Automation Studio, go to to Setting > Local Profile > Execution Configuration Setting and then click Platform.
- Select Click Browser Type as Google > Chrome.
- In In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.version.
- Click OK.
Your test cases should now get executed as expected.
Unable to Add Objects using Objects Sp
Unable to Add Objects using Objects Spy on Google Chrome
...
Unable to Switch to Mobile Web-View
Problem: In the Qualitia Mobile Recorder, you might not be able to open a web application or web-view context of a hybrid application if chrome has more than 20 open tabs. Unable to switch to Mobile Web View and Loader keeps on Loading the screen.
...
Stop the agent.
Go to Applications > MOSAgent > Right click >Show package content > Contents > MacOS.
Double-click RunAgent.
A terminal opens to start the agent.In the logs, find the following message using the WDA path:
/var/folders/vt/f2c8mcz536x6d9_vbgs7dh740000gn/T/QualitiaMOSAgent/WDATemp
Note: This path differs for every user.Copy that path and open in finder.
Delete all the content inside the WDATemp folder.
Download WDA v2.20.0 for your Xcode version from the following location:
https://github.com/appium/WebDriverAgent/releases
Note: Download the WDA version that best matches to your Xcode Version.Extract the downloaded file, copy all the contents, and paste
them in the WDATemp folder in the following location: /var/folders/vt/f2c8mcz536x6d9_vbgs7dh740000gn/T/QualitiaMOSAgent/WDATemp
Note: This path differs for every user, you must find the WDATemp folder path as explained in step. 4.Open WebDriverAgent.xcodeproj in Xcode and make sure you set proper Team and check Automatically manage signing in the Signing and Capabilitiessection for WebDriverAgentLib, WebDriverAgentRunner and IntegrationApptargets.
- Click Product > Build for >Testing.
- After the build is succeeded, click Product > Build.
- Close Xcode.
- In the agent, connect to a device and select an application.
Note: You might have toperform this step every time you restart the machine as the temp folders are deleted and recreated whenever the machine restarts.
Unable to Boot Emulator in MOS Session.
Problem: The following error message "View For the device is failed. Please connect again" appears when you try to launch an emulator in an MOS Session is created with Cold Boot.
...
- Once downloaded, open Qualitia Automation Studio, go to Setting > Configuration Setting and then click Platform > Local Profile > Execution Configuration.
- Select Click Browser Type as Google > Chrome.
- In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.
- Click OK.
...
- Download Microsoft JDBC Driver 6.0 for SQL Server.
- Unzip the file at some temporary location.
- Go to enu > Auth.
- Copy the dll depending on your OS (32 or 64-bit) version.
If you are using 32-bit, then copy sqljdbc_auth.dll from x86 folder and if you are using 64-bit, then copy sqljdbc_auth.dll from x64 folder. - Open the Java directory that is set under Settings>Configuration Settings.
- Add the dll file to lib and bin folders.
- If you are using jre7:
- Go to enu > jre7.
- Copy sqljdbc41 and add it to Qualitia installed location [C:\Program Files (x86)\Qualitia\Qualitia 3.14\WebDriver\lib].
- If you are using jre8:
- Go to enu > jre8.
- Copy sqljdbc42 and add it to Qualitia installed location [C:\Program Files (x86)\Qualitia\Qualitia 3.14\WebDriver\lib.
Actions Issues
...
- Go to enu > jre8.
- Copy sqljdbc42 and add it to Qualitia installed location [C:\Program Files (x86)\Qualitia\Qualitia 3.14\WebDriver\lib.
Actions Issues
This topic provides information about the issues that you may face while working with actions.
DragAndDropToObject Action is not Working
Problem: The DragandDropToObject action fails to drag and drop an object to the specified location. The execution report displays the associated step as Passed though no operation was performed on the object.
Summary: The DragAndDropToObject action fails when the draggable attribute for the associated HTML element for the object is set to false.
Solution: Modify the associated HTML element for the object to set the draggable attribute to true or auto.
PressKeys Action Does not Execute on an Inactive Screen
...
ClickJS Action is Failing on Chrome
Problem: Chrome fails the step containing the ClickJS Action to execute even it has enabled javascript ClickJS Action fails to execute on Chrome though javascript is enabled on Chrome. The application under test shows a message as Redirect Blocked.
...
Actions related to DB Failed Upon Execution
Problem: While executing a test suite, steps containing The actions related to querying on a database did not execute such as ExecuteQueryAndStoreInFile and ExecutQueryAndStoreInKey.
Description: For Qualita Quallita versions before v8.0.0, DB jar was manually added in lib folder. However, from Qualitia v8.0.x onwards, you now need to specify the path of DB jars for the database type on which you want to query.
...
Qualitia Configuration File does not exist, can you please save Qualitia Configuration
This issue occurs when the configuration file is missing. The file is created when you save the configuration settings for the first time.
This issue may occur when creating offline package (from File > Offline Package) as well.
Solution:
- Log on to Qualitia Automation Studio.
- On the Setting menu, click Configuration Setting.
- Click OK.
- Now create an offline package from File > Offline Package.
...
Test Case Execution on iOS platforms or a Macintosh Computer Fails
Problem: Test case execution on iOS platforms or a Macintosh computer fails with the following error:
“Execution is failing due to incorrect URL formation. Getting an error Original error: Failed to connect to /<VPN_ip_address_of_macintosh_computer>:<port>”
Summary: This issue occurs when the Endpoint Security Firewall settings on the Macintosh computer restricts communication from the Windows computer where the QAS client is installed.
Solution: To resolve this issue you must enable communication between the Computers as follows:
All Computers (in this case 2) should be connected over the same network.
Use VPN to connect all the Computer on same network
Whitelist the following ports in the VPN.
4723 or the port number where the Appium server is running on the Macintosh Computer
21000
8887
8889
4001
Add rules to open TCP and UDP ports from the Endpoint Security Product.
Ensure that both the incoming and the outgoing traffic is allowed.
Ensure that you are connected to the VPN while creating rules using the Endpoint Security products.
Qualitia recommends using VPN generated IP address for secure communication. For example, to execute a test suite on a different Computer, specify the VPN generated IP address of that Computer in the execution profile.
You must refer to the documentation of your Endpoint Security product for instructions to allow communication between Windows and Macintosh Computers.
Unable to connect to MOS Server Running on a Macintosh Computer from the QAS client Running on a Windows Computer
Problem: Unable to connect to the MOS server on a Macintosh computer from the QAS client on a Windows computer. The following error occurs when you try to connect to the MOS agent on a Macintosh computer:
Not able to Unable to connect to MOS server that is present on different machine than Qualitia client. Getting an error
Cannot connect to Qualitia MOS server, there might be the following reasonreasons:
Port might not be accessible.
Server URL might be wrongQualitia Server might not be running.
Please ensure that MOS server is installed and the MOS service is running on the specified port.
Summary: This issue occurs when the Endpoint Security Firewall settings restrict communication from the Windows computer where the QAS client is installed.
Solution: To resolve this issue you must enable communication between the Computers as follows:
All Computers must be connected over the same network.
Use VPN to connect all the Computer on same network
Whitelist the following ports in the VPN.
4723 or the port number where the Appium server is running on the Macintosh Computer
21000
8887
8889
4001
Add rules to open TCP and UDP ports from the Endpoint Security Product.
Ensure that both the incoming and the outgoing traffic is allowed.
Ensure that you are connected to the VPN while creating rules using the Endpoint Security products.
Qualitia recommends using VPN generated IP address for secure communication. For example, To connect to the MOS server present on Macintosh Computer, specify the VPN generated IP address of the Computer on which MOS sever is running.
You must refer to the documentation of your Endpoint Security product for instructions to allow communication between Windows and Macintosh Computers.
...
Generate the PAT with a user that is part of the Project Administrators group.
Qualitia recommends this option for generating a PAT.Allow Bypass Rules on Work Items Updates
Perform the following steps:In TFS/Azure DevOps project, ensure that the user that is used to generate PAT is member Contributors group / Project Team members group.
Click Project Settings > Permissions.
Select the user group that has the user to whom you want to provide access (Contributors/Project Team members).
From the Bypass rules on work items updates list, select Allow.
Refer to the following screenshot.
Qualitia does not recommend this option for PAT generation as it changes the access levels for all the users in the group.
Note: Please connect with your Azure DevOps Admin team to discuss the PAT generation and access level management.
...
Teamcity Agent Running Headless Execution on Window Server System
Sometimes users are unable to view the test case execution on the designated TeamCity build agent.
It is observed that setting the right Java path resolves this problem. You can try below:
...