Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. Once downloaded, open Qualitia Automation Studio, go to Setting > Local Profile > Execution Configuration.

  2. Click BrowserChrome.

  3. In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.

  4. 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:

  1. Download the compatible version of MySQL Driver.

  2. Unzip the file.

  3. 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.

  4. Navigate to %localappdata%\QualitiaWDClient\app-5.x.x\WebDriver.

  5. 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).

  6. Save and close the file.

  7. 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:

  1. Open Settings on the Windows machine.

  2. Navigate to Date & time settings.

  3. 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:

  1. Remove an existing shortcut of Qualitia from Desktop.

  2. Go to %localappdata%\QualitiaWDClient\app-4.1.0.

  3. Right-click Qualitia.exe.

  4. Click Send to and select Desktop (create shortcut).

(warning) 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:

  1. Go to the Windows Service:

    Image Modified
  2. Right-click on the Qualitia.Web.Service service.

    Image Modified
  3. Click Properties from the context menu.

  4. Click the Log On tab.

  5. Select the This account checkbox:

    Image Modified
  6. Click Browse. The Select User window appears:

    Image Modified
  7. Click Locations, select the Entire Directory option on the Locations windows, and then click OK:

    Image Modified
  8. Enter the name of the system user you want to select and click Check Names:

    Image Modified
  9. Enter the password in the Password and Confirm password field.

    Image Modified
  10. Click Apply.

  11. 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:

    1. Port might not be accessible.

    2. Server URL might be wrong.

    3. Qualitia Server might not be running.

Summary: Qualitia Services might be unstable.

...

Perform the following steps:

  1. Open the computer where the Qualitia Server is installed.

  2. Double-click the Qualitia - Server icon on your desktop.

    Image Modified
  3. Click the Repair button.

Does not Execute Test Case due to Add-Ons in Chrome

...

Solution: To work around this issue:

  1. Open the mapped or default execution profile.

  2. Select the Browser as GoogleChrome.

  3. Select the Edit Desired Capabilities checkbox.

  4. Enter the following values:

    1. Select the custom_use_chromeoptions checkbox.

    2. Select the args checkbox, and enter the following text next to it:--disable-extentions.

    3. Select the useAutomationExtension checkbox.

  5. 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:

    1. Port might not be accessible.

    2. Server URL might be wrong.

    3. 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:

    1. Port might not be accessible.

    2. 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:

  1. On the Qualitia License Server, open the url: http://localhost:1947/_int_/products.html

  2. If you see following error “Disabled due to Cloning”, take the screenshot and open a support ticket.

    Image Modified
  3. If no such error is displayed in the Qualitia License Server, restart the “Sentinal LDK License Manager” service on the server system.

  4. If the issue persists for a particular Qualitia Client system only, re-validate the settings documented here.
     

    Image Modified

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:

  1. Launch the Command Prompt as an administrator.

  2. Navigate to the folder where haspdinst.exe exists.

  3. Execute haspdinst.exe.

  4. Continue the Installation Process.

Qualitia License Key Not Found. (H0007)

...

If the issue persists, follow the steps mentioned below:

  1. Create a file with its name in the following format - hasp_108764.ini

  2. 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.1

  3. For 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.

  4. 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.

  5. Go to Windows services console (Press Windows R and enter services.msc to open Windows Services console). 

  6. 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.

  7. 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.

...

Perform the following steps:

  1. Open the test case in which task iterations did not execute.

  2. Open its Test Data explorer.

  3. Select the blank cells of the following columns, and Press Delete from your keyboard.

    1. TCIteration

    2. Selection

    3. 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:

  1. From the Start menu of your computer, open Control Panel.

  2. Click User Accounts > Credential Manager > Manage Windows Credentials.

  3. Delete all the credentials associated with the Git server.

  4. After deleting the Git server credentials, push the project artifacts.

If you do not have access to Manage Windows Credentials of your computer

Perform the following steps:

  1. Open the command prompt.

  2. Enter the following command and hit Enter to delete the stored Git server credentials:
    For /F "tokens=1,* delims= " %G in ('cmdkey /list ^| findstr git') do cmdkey /delete %H

  3. After deleting the Git server credentials, push the project artifacts.

Filename too long (Git-version control system)

...

To resolve this error, you can try following workarounds.

  1. Workaround 1: Update the Git version to the latest one.

  2. 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:

  1. In Qualitia automation studio, go to Setting > Project Settings.

  2. Update authentication details.

  3. Click OK.

  4. 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.

  1. Once downloaded, open Qualitia Automation Studio, go to Setting > Local Profile > Execution Configuration.

  2. Click BrowserChrome.

  3. In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.

  4. 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.

  1. Navigate to the ChromeObjectSpyExtension folder.

  2. Open the pmr.json file.

  3. 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:

  1. Open the Qualitia Server Settings file.

  2. Set the value of DatabaseQueryTimeout that you want.

Qualitia Automation Web and Mobile Recorder Issues

...

Solution 2: Perform the following steps:

  1. Go to the client installation location folder (%LocalAppData%\QualitiaWDClient\app-8.0.x) on your computer.

  2. Open the Qualitia.exe.config file to set EngineDefaultMemory to -Xms512m, as follows:
    <setting name="EngineDefaultMemory" serializeAs="String">
    <value>-Xms512m</value>
    </setting>

  3. Save the file.

  4. Restart the QAS client.

Unable to Switch to Mobile Web-View

...

Do the following in the order listed:

  1. Go to the settings menu of Galaxy S9+.

  2. 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:

  1. Stop the agent.

  2. Go to Applications > MOSAgent > Right click >Show package content > Contents > MacOS.

  3. Double-click RunAgent.
    A terminal opens to start the agent.

  4. 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.

  5. Copy that path and open in finder.

  6. Delete all the content inside the WDATemp folder.

  7. 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.

  8. 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.

  9. 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.

  10. Click Product > Build for >Testing.

  11. After the build is succeeded, click Product > Build.

  12. Close Xcode.

  13. 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:

  1. Open Android Studio.

  2. Click Tools > AVD Manager.
    A pop up screen opens.

  3. Click + Create Virtual Device.

  4. Select the desired device you want, and click Next.

  5. Select the desired API Level, and click Next
    Note: If the API level is not downloaded, you need to download it.

  6. Click Show Advanced Setting, and scroll down a bit.

  7. From the Boot Option list, select Quick Boot.

  8. 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:

  1. 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/.

  2. Install Qualitia Server and Client. (Refer to Installation Process for the installation steps) 

  3. Navigate to the path: C:\Users\yourName\AppData\Local\QualitiaWDClient\app-8.1.0\WebDriver.

  4. Open the qualitia-8.1.0.jar file using the 7-Zip achieve method.
    Note: You require 7-Zip tool to perform this activity.

  5. Drag the ChromiumExtension.zip file to C:\Users\yourName\AppData\Local\QualitiaWDClient\app-8.1.0\WebDriver.

  6. Extract the zip file.

  7. Now, keep the extracted file and delete the zip file.

  8. Open the manifest.json file present in the ChromiumExtension folder.

  9. Add the following line to manifest JSON file "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1nNiSfr3mNspSohi6ui/m2CVFKOsS7GxOmwXNTP5pMgW7dManR+jf8DCggQTO5+u6UIl7uBs8Vx4Z96oe7P8UUb2ByGbjXorr5AzQJ4vijvUcUyrZVRk8Wa6P+WtQ+2RO8pR2XnByIzFoII3cvTrVqsWpBjFSfjAxin2Lme4AcCAt+rAF5ce/2VRXq2A9uVamQP7ZzUcG8rTc3fz/bqwiVOvMbTafplvg7yKPL5sUHbjZwXMubLdeSGUvUh++qy8PUt14eHzV2uQluxIVq7L2dYhnB2C0fZy8D4uzErJywDogMFWrf9tU1b6tXMVjAFRKa6ddinWbqGKwT+02kBxTQIDAQAB",

  10. Save and close the file.

  11. Compress all files by selecting them in the ChromiumExtension folder

  12. Rename the compressed file as ChromiumExtension. So it will read as ChromiumExtension.zip.

  13. Now repeat step 4. (Ignore this step if already jar open)

  14. Drag ChromiumExtension,zip file from folder to 7-Zip opened archieve view.

  15. On the popup window, click Yes.

  16. Restart the machine.

  17. Go to C:\Users\yourName\AppData\Local\Temp folder and delete all the files. (Click Skip if files won’t get deleted)

  18. Launch Qualitia Studio Client.

  19. Start Chrome/Edge Recorder.

  20. Open the extension manager in the Chrome/Edge browser and enable Developer Mode.

  21. 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.

  1. Once downloaded, open Qualitia Automation Studio, go to Setting > Local Profile > Execution Configuration.

  2. Click BrowserChrome.

  3. In Chrome Driver Path, select the chromedriver.exe which you have downloaded & extracted for your chrome version.

  4. Click OK.

Your test cases should now get executed as expected. 

...

Perform the following steps:

  1. Open the mapped or default execution profile.

  2. Select the Browser as GoogleChrome.

  3. Select the Edit Desired Capabilities checkbox, 

  4. Select the ChromeOptions checkbox.

  5. 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:

  1. Download Microsoft JDBC Driver 6.0 for SQL Server.

  2. Unzip the file at some temporary location.

  3. Go to enu > Auth.

  4. Copy the dll depending on your OS (32 or 64-bit) version.
    (info) 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.

  5. Open the Java directory that is set under Settings>Configuration Settings.

  6. Add the dll file to lib and bin folders.

  7. If you are using jre7:

    1. Go to enu > jre7.

    2. Copy sqljdbc41 and add it to Qualitia installed location [C:\Program Files (x86)\Qualitia\Qualitia 3.14\WebDriver\lib].

  8. If you are using jre8:

    1. Go to enu > jre8.

    2. 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

    1. On your local computer, close all open Remote Desktop sessions.

    2. Launch the Registry editor (regedit.exe).

    3. Do one of the following:

      1. To specify the setting for the current user, open HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client.

      2. To specify the setting for all the users, open HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client.

    4. Create a DWORD value as RemoteDesktop_SuppressWhenMinimized and set it to 2 (hexadecimal or decimal).

    5. 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.

    6. Close the Registry Editor. 

  • Case 2: When The VM is disconnected

...

Perform the following steps:

  1. Open the mapped or default execution profile.

  2. Select the Browser as GoogleChrome.

  3. Select the Edit Desired Capabilities checkbox.

  4. Select the ChromeOptions checkbox.

  5. 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:

  1. Download one of the following relevant DB jar.

  2. From the Qualitia client, select the associated project.

  3. Click Settings > Project Configuration > Manage Dependent jar.

  4. Enter the location of DB jar.

  5. Click OK.

Now, execute the test suite again.

...

This issue may occur when creating offline package (from File > Offline Package) as well.

Solution:

  1. Log on to Qualitia Automation Studio.

  2. On the Setting menu, click Configuration Setting.

  3. Click OK.

  4. 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:

  1. Port might not be accessible.

  2. 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:

  1. Open the Jenkins Server.

  2. Click Manage Jenkins >Manage Nodes.

  3. Click the Settings icon for the node that you are using (Master node by default).

  4. In the node page, select the Script Console option in the side menu.

  5. In the script console, enter the following command line: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'self' 'unsafe-inline';")

  6. 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

...