Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

...

Problem: The following error message occurs while adding a new LDAP user: The user name or password is incorrect.

Root Causes: The above error may occur due to the following reasons:

  • You are trying to add a LDAP user by accessing the Notification Server remotely.

  • The application identified is a local account and does not have the permission to browse the Active Directory.

  • Domain password of the user you are trying to add has expired.

...

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.

...

  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()'

...

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

...

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.

...

  1. Go to the Windows Service:

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

    Image RemovedImage Added
  3. Click Properties from the context menu.

  4. Click the Log On tab.

  5. Select the This account checkbox:

    Image RemovedImage Added
  6. Click Browse. The Select User window appears:

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

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

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

    Image RemovedImage Added
  10. Click Apply.

  11. Restart the Qualitia.Web.Service service.

...

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

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

    Image Removed


    Image Added
  3. Click the Repair button.

...

  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.

  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 /wiki/spaces/QAS8/pages/1381630355.
     

    Image RemovedImage Added

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

...

You will find this file in the Support_Packages folder shared with Qualitia Automation Studio setup.

...

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.

...

Problem: Qualitia Automation Web Recorder does not work and shows the following message "Recorder process could not be initiated within the stipulated time(120 s). Please try starting recording again".

Reason 1: AUT is not loading within 120s.

Solution 1: You can check whether your application under test is taking more than 120 seconds to load. Contact Qualitia support on configuring the time-out.

...

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.

...

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.

...

The SearchandSelect Action of Lookup is Getting Failed

Problem: The SearchandSelect action of lookup fails while executing the recording through Qualitia Automation Studio.

Reason: While recording, the lookup results might display names with secondary information as well. In such cases, the Qualitia Automation Web Recorder captures both values. 

...

Here the recorder selects the parameter as "John Lightning Training" instead of only "John".

Solution: Manually edit the parameters of the SearchandSelect action in QAS, keeping only the relevant information.

...

Solution: Create a new offline package for the newly created custom action. For more information, refer to Creating an Offline Package.

Importing Offline Package Report

...

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:

  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.

...

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

...