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.

...

You must refer to the documentation of your Endpoint Security product for instructions to allow communication between the Computers that contain the Qualitia components.

Unbale to Update Data due to Database Query Timeout 

Problem: While recording an application, adding an object using an Object Spy, or executing test cases, the timeout error message is displayed.

Summary: This error occurs because the default timeout to query the database is 30 seconds.

Solution: To solve this issue, increase the timeout to query the database.

Perform the following actions:

  1. Open the Qualitia Server Settings file.
  2. Set the value of DatabaseQueryTimeout that you want.

Licensing Issues

...

Licensing Issues

This topic provides information about the licensing issues that you may face while working with Qualitia Licenses.

...

Version Control Error: Object Reference not set to an instance of an object.

Image Modified

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.

...

  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  

Problem: When adding an object using an Object Spy, the following error message is displayed.

"The last transaction failed. Ensure that you are connected to the database and the Qualitia server before you try this operation again."

Summary: Check if the SQL Server database is connected. If there is no problem with the database connection, then the problem is with query timeout.

This error occurs because the default timeout to query the database is 30 seconds. You can open the log file located at the file location:

  • %ProgramData%\Qualitia\WD\Server\logs\app.js.log

The log file contains the following text:

  • Error while running query with SQL Server: Query Timeout:\ProgramData\Qualitia\WD\Server\logs\app.js.log

Solution: To solve this issue, increase the timeout to query the database.

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

...

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.

...

Qualitia Configuration File does not exist, can you please save Qualitia Configuration

Image Modified

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:

...