...
This error occurs when the Google Chrome browser and Chromedriver are not compatible.
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 Setting > Local Profile > Execution Configuration.
Click Browser > Chrome.
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.
...
This error occurs due to incompatible driver version of MySQL. To resolve this error, you must download and place the compatible version of MySQL driver at the specified location.
...
To resolve this error:
Unzip the file.
Copy mysql-connector-java-8.0.11.jar and place it to %localappdata%\QualitiaWDClient\app-5.x.x\WebDriver\lib location on the machine where you have installed Qualitia.
Navigate to %localappdata%\QualitiaWDClient\app-5.x.x\WebDriver.
Edit build.xml and replace mysql-connector-java-x.x.x-bin with the new file name (i.e. mysql-connector-java-8.0.11.jar).
Save and close the file.
Restart Qualitia Automation Studio.
Incompatible .Net Framework: Method not found: '!!0[] System.Array.Empty()'
...
Summary: This issue occurs when .Net framework you have installed is not compatible.
...
Close the dialogue box and upgrade the .Net Framework to 4.6.2. Refer to the Prerequisites and Configurations section for more information.
To determine which .Net Framework version is installed, refer to the Microsoft documentation.
Suite Execution Gets Aborted During Execution for Suite with Test Cases Having 1000 or More Test Steps
...
Solution: To fix this issue, perform the following steps to turn off the Set time automatically option:
Open Settings on the Windows machine.
Navigate to Date & time settings.
Disable the Set time automatically option.
“Fatal exception during execution” Error Appears While Executing a Suite
...
Message | Description |
---|---|
User is Inactive | When the user is marked as inactive in the database. The solution is the user must be activated from the database. |
Invalid Password | When the user has entered the wrong password. The solution is to enter the correct password or request the admin to reset a password. |
The Authentication has failed | When the user authentication fails due to an incorrect username. |
No active session is mapped to the client | When a user logins again, the user is not able to find any session. |
Could not find a client with the specified client Id | When the client id is invalid. The solution is to provide the valid client Id must be provided from the configuration file. |
Could not find a user with the specified user Id | When user Id is invalid. The solution is to enter the correct user Id. |
...
Solution:
This error occurs when Qualitia is launched using the incorrect shortcut and user tries to execute the test case for Mobile web or native application.
...
To create a new shortcut:
Remove an existing shortcut of Qualitia from Desktop.
Go to %localappdata%\QualitiaWDClient\app-4.1.0.
Right-click Qualitia.exe.
Click Send to and select Desktop (create shortcut).
User will get this error when executing test case for Desktop Web as well but Qualitia ignores this error and continues execution of test case.
...
Solution: To resolve the issue, perform the following steps:
Go to the Windows Service:
...
Right-click on the Qualitia.Web.Service service.
...
Click Properties from the context menu.
Click the Log On tab.
Select the This account checkbox:
...
Click Browse. The Select User window appears:
...
Click Locations, select the Entire Directory option on the Locations windows, and then click OK:
...
Enter the name of the system user you want to select and click Check Names:
...
Enter the password in the Password and Confirm password field.
...
Click Apply.
Restart the Qualitia.Web.Service service.
You should now be able to connect to the Qualitia server again from client settings.
...
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.
Summary: Qualitia Services might be unstable.
...
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.
Does not Execute Test Case due to Add-Ons in Chrome
...
Solution: To work around this issue:
Open the mapped or default execution profile.
Select the Browser as GoogleChrome.
Select the Edit Desired Capabilities checkbox.
Enter the following values:
Select the custom_use_chromeoptions checkbox.
Select the args checkbox, and enter the following text next to it:--disable-extentions.
Select the useAutomationExtension checkbox.
Click OK.
Now, re-execute the test suite or test case.
Communication Fails when Qualitia Components are on Different Computers
...
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.
...
Solution: To resolve the issue, perform the following steps:
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).
To resolve this error:
...
You will find this file in the Support_Packages folder shared with Qualitia Automation Studio setup.
...
Solution: To resolve this issue, please perform the following steps:
Launch the Command Prompt as an administrator.
Navigate to the folder where haspdinst.exe exists.
Execute haspdinst.exe.
Continue the Installation Process.
Qualitia License Key Not Found. (H0007)
...
If the issue persists, follow the steps mentioned below:
Create a file with its name in the following format - hasp_108764.ini
Open this file using notepad and add the following setting in it:
SERVERADDR = IP address of the license manager system.
Broadcastsearch=1
For Example: If your license manager system’s IP address is 192.168.1.1 then setting will be: SERVERADDR = 192.168.1.1For Windows 7 and later versions, copy the hasp_108764.ini file to the following location: %localAppData%/SafeNet Sentinel/Sentinel LDK/
Note: If not present, manually create folders SafeNet Sentinel/Sentinel LDK.Open the url http://localhost:1947 and go to Configuration > Access to Remote License Manager, select all check boxes, add required information and then click Submit.
Go to Windows services console (Press Windows R and enter services.msc to open Windows Services console).
Select the service Sentinel LDK License Manager and restart it.
You should be able to launch Qualitia with license being acquired from the remote license manager.For Verification if the license has been recognized by the license server, open the Sentinel ACC portal (http://localhost:1947) and click session to view the licenses acquired by various systems.
You can now log on to Qualitia Client without any error.
Test Data Issues
This topic provides information about the issues that you may face while working with test data.
...
Problem: You may encounter any of the following pop-up messages while adding the test data:
...
Reason: The antivirus of your system has blocked the test data excel file.
...
Perform the following steps:
Open the test case in which task iterations did not execute.
Open its Test Data explorer.
Select the blank cells of the following columns, and Press Delete from your keyboard.
TCIteration
Selection
DataSetTag
Note: All the cells can be deleted in a single go except for the first cell immediate below to DataSetTag. You need to delete this cell separately.
Version Control Issues
This topic provides information about the issues that you may face while working with version control systems.
...
If you have access to Manage Windows Credentials of your computer | Perform the following steps:
|
If you do not have access to Manage Windows Credentials of your computer | Perform the following steps:
|
Filename too long (Git-version control system)
...
To resolve this error, you can try following workarounds.
Workaround 1: Update the Git version to the latest one.
Workaround 2: Change Git settings by executing this command:
Code Block git config --system core.longpaths true
Workaround 3:
Update the registry key (in Windows 10, version 1607, and later)
HKLM\\SYSTEM\\CurrentControlSet\\Control\\FileSystem LongPathsEnabled (Type: REG_DWORD) should be set to 1.
...
To update Git/Bitbucket authentication details:
In Qualitia automation studio, go to Setting > Project Settings.
Update authentication details.
Click OK.
Restart Qualitia.
Version Control Error: Object Reference not set to an instance of an object.
...
This error occurs when the Google Chrome browser and Chromedriver are not compatible.
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 Setting > Local Profile > Execution Configuration.
Click Browser > Chrome.
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.
...
To work around this issue, increase the timeout from 1000 to 5000 in the pmr file.
Navigate to the ChromeObjectSpyExtension folder.
Open the pmr.json file.
Under the "Configuration" object, set the timeout to 5000.
Unable to Add Object using Object Spy Due to SQL Server Query Timeout
...
Perform the following actions:
Open the Qualitia Server Settings file.
Set the value of DatabaseQueryTimeout that you want.
Qualitia Automation Web and Mobile Recorder Issues
...
Solution 2: Perform the following steps:
Go to the client installation location folder (%LocalAppData%\QualitiaWDClient\app-8.0.x) on your computer.
Open the Qualitia.exe.config file to set EngineDefaultMemory to -Xms512m, as follows:
<setting name="EngineDefaultMemory" serializeAs="String">
<value>-Xms512m</value>
</setting>Save the file.
Restart the QAS client.
Unable to Switch to Mobile Web-View
...
Do the following in the order listed:
Go to the settings menu of Galaxy S9+.
Under Display the Screen Resolution, set to WQHD 1440x2560.
Unable to Start a Session on MOS or Mobile Recorder on Xcode version 11.6 or higher.
...
Perform the following steps:
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 to perform 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.
...
Perform the following steps:
Open Android Studio.
Click Tools > AVD Manager.
A pop up screen opens.Click + Create Virtual Device.
Select the desired device you want, and click Next.
Select the desired API Level, and click Next
Note: If the API level is not downloaded, you need to download it.Click Show Advanced Setting, and scroll down a bit.
From the Boot Option list, select Quick Boot.
Click Finish.
Browser and Devices Issues
...
This modification to fix the extension loading issue is available in Qualitia Automation Studio 8.3.2. For older releases, perform the following steps:
Download the build from the following path: https://s3.console.aws.amazon.com/s3/buckets/local-it-backup?prefix=dailybuilds/QAS/release/8.1.0/8.1.0.702/.
Install Qualitia Server and Client. (Refer to Installation Process for the installation steps)
Navigate to the path: C:\Users\yourName\AppData\Local\QualitiaWDClient\app-8.1.0\WebDriver.
Open the qualitia-8.1.0.jar file using the 7-Zip achieve method.
Note: You require 7-Zip tool to perform this activity.Drag the ChromiumExtension.zip file to C:\Users\yourName\AppData\Local\QualitiaWDClient\app-8.1.0\WebDriver.
Extract the zip file.
Now, keep the extracted file and delete the zip file.
Open the manifest.json file present in the ChromiumExtension folder.
Add the following line to manifest JSON file
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1nNiSfr3mNspSohi6ui/m2CVFKOsS7GxOmwXNTP5pMgW7dManR+jf8DCggQTO5+u6UIl7uBs8Vx4Z96oe7P8UUb2ByGbjXorr5AzQJ4vijvUcUyrZVRk8Wa6P+WtQ+2RO8pR2XnByIzFoII3cvTrVqsWpBjFSfjAxin2Lme4AcCAt+rAF5ce/2VRXq2A9uVamQP7ZzUcG8rTc3fz/bqwiVOvMbTafplvg7yKPL5sUHbjZwXMubLdeSGUvUh++qy8PUt14eHzV2uQluxIVq7L2dYhnB2C0fZy8D4uzErJywDogMFWrf9tU1b6tXMVjAFRKa6ddinWbqGKwT+02kBxTQIDAQAB",
Save and close the file.
Compress all files by selecting them in the ChromiumExtension folder
Rename the compressed file as ChromiumExtension. So it will read as ChromiumExtension.zip.
Now repeat step 4. (Ignore this step if already jar open)
Drag ChromiumExtension,zip file from folder to 7-Zip opened archieve view.
On the popup window, click Yes.
Restart the machine.
Go to C:\Users\yourName\AppData\Local\Temp folder and delete all the files. (Click Skip if files won’t get deleted)
Launch Qualitia Studio Client.
Start Chrome/Edge Recorder.
Open the extension manager in the Chrome/Edge browser and enable Developer Mode.
Now, verify the Qualitia recorder extension ID.
How to Update Chrome Driver
...
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 Setting > Local Profile > Execution Configuration.
Click Browser > Chrome.
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.
...
Perform the following steps:
Open the mapped or default execution profile.
Select the Browser as GoogleChrome.
Select the Edit Desired Capabilities checkbox,
Select the ChromeOptions checkbox.
Select the args checkbox, and enter the following text next to it: ignore-certificate-errors.
Now, re-execute the test suite.
...
This error occurs when using Qualitia with SQL server 2016 developer edition and the Authentication Mode is set as Windows Authentication.
Solution:
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
This topic provides information about the issues that you may face while working with actions.
...
Case 1: When the screen is minimized
On your local computer, close all open Remote Desktop sessions.
Launch the Registry editor (regedit.exe).
Do one of the following:
To specify the setting for the current user, open HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client.
To specify the setting for all the users, open HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client.
Create a DWORD value as RemoteDesktop_SuppressWhenMinimized and set it to 2 (hexadecimal or decimal).
Modify the registry settings on your local (controlling computer) so that minimizing the Remote Desktop window does not affect the GUI of the controlled computer.
Close the Registry Editor.
Case 2: When The VM is disconnected
...
Note: Selenium does not support few keys, as mentioned in Working of Qualitia PressKeys | Using-Actions-class-provided-by-Selenium-Web-driver.
The ClickJS Action is Failing on Chrome
...
Perform the following steps:
Open the mapped or default execution profile.
Select the Browser as GoogleChrome.
Select the Edit Desired Capabilities checkbox.
Select the ChromeOptions checkbox.
Select the args checkbox, and enter the following text next to it:
--disable-web-security
Actions Related to DB Failed Upon Execution
...
Solution: Perform the following steps:
Download one of the following relevant DB jar.
From the Qualitia client, select the associated project.
Click Settings > Project Configuration > Manage Dependent jar.
Enter the location of DB jar.
Click OK.
Now, execute the test suite again.
...
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.
iOS Platform and Macintosh Issues
...
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:
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 reasons:
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.
...
Perform the following steps:
Open the Jenkins Server.
Click Manage Jenkins >Manage Nodes.
Click the Settings icon for the node that you are using (Master node by default).
In the node page, select the Script Console option in the side menu.
In the script console, enter the following command line: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'self' 'unsafe-inline';")
Click the Run button below to this console, and you should see the Result: with the above values printed.
Note: If you don’t see it in the first attempt, then retry this step.
You can now see the suite execution summary reports.
Teamcity Agent Running Headless Execution on Window Server System
...