Document toolboxDocument toolbox

Header

(8.6.X) Desktop Automation

This topic provides information on how to resolve the common issues you may encounter while working on desktop applications automation.

Execution Report Not Getting Generated

You may find execution reports are not getting generated after the suite execution is completed. At times, some of the Windows policies block Qualitia registering few Qualitia components. This may result in not generating results for the Suite executions.

In order to resolve this issue, you must update the Windows registry-based as mentioned below: 

  1. Press Win+R to summon the Run dialog box.

  2. Type Regedit and press Enter.

  3. In Windows 7 and Windows Vista, click the Yes or Continue button or type the administrator's password.

  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy registry.

  5. Set the value as 0 as mentioned in the screenshot below.

  6. Close Registry.

 

This driver is not configured for integrated authentication

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.
     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 Configuration Settings > Execution > Java Install Path.

  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 8.0.0\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 8.0.0\WebDriver\lib].

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.

Solution:

  1. Log on to Qualitia Automation Studio.

  2. On the Settings menu, click Configuration Settings.

  3. Click Save.

Incompatible .Net Framework: Method not found: '!!0[] System.Array.Empty()'

This issue occurs when .Net framework installed is not compatible.

Qualitia Automation Studio requires minimum .Net Framework 4.6.2 installed in the system where the client is being installed.

Solution:

If you face the error mentioned above, close the dialogue box and upgrade the .Net Framework to 4.6.2. Refer to the Prerequisites and Configurations section for more information.

Cloning Machines with Qualitia Installation is Not Supported

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 into Qualitia, the user may get the following error [when the machine is cloned with Qualitia Installation].

Qualitia License Key Not Found. (H0007)

Solution:

In case you come across this error:

  • Ensure that the license server is up and running.

  • Verify that the Sentinel LDK License Manager service is started. (To open Windows services console; press Windows R and then enter Services.msc) 

  • Restart the Sentinel LDK License Manager service using Windows services console.

If the issue still 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. 
    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 checkboxes, 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 a 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.

Unable to Execute Test Cases in Internet Explorer

When a test case execution starts in Internet Explorer, the Internet Explorer does not open, and UFT closes. Also, in the Errorlog.txt, a message is displayed as “Testcase xml is missing”.

The reason is due to the unavailability of the relevant add-in of the Internet Explorer for testing the application.

Solution:

  1. Open the UFT, specify the application URL, and the browser as Internet Explorer.

  2. Click the Record button.
    A pop-up message opens which shows the message as “Some third-party add-ins are required to launch this URL. Do you want to enable these add-ins?”

  3. Click Yes to enable the required add-ins.

  4. Record a few steps and save them.

  5. Run them through UFT.

  6. If the execution is successful, open the Internet Explorer, and check the name of the new add-in enabled.

  7. Run the test case through Qualitia.

Test Case Creation Fails with "Exception occurred while saving testdata file"

Problem: Getting the following error message while creating a test case. 



Reason: This issue occurs when the antivirus software blocks Qualitia application from running.

Solution: Whitelist all the files under the %localappdata%\QualitiaWDClient folder in antivirus.



Footer