Troubleshooting the Issues for Automating Desktop Applications
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:
- Press Win+R to summon the Run dialog box.
- Type Regedit and press Enter.
- In Windows 7 and Windows Vista, click the Yes or Continue button or type the administrator's password.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy registry.
- Set the value as 0 as mentioned in the screenshot below.
- 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:
- 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 Configuration Settings > Execution > Java Install Path.
- 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 8.0.0\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 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:
- Log on to Qualitia Automation Studio.
- On the Settings menu, click Configuration Settings.
- 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:
- 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.
- 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.
For Example: If your license manager system’s IP address is 192.168.1.1 then setting will be: SERVERADDR = 192.168.1.1 - 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. - 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.
- 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 a 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.
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:
Open the UFT, specify the application URL, and the browser as Internet Explorer.
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?”Click Yes to enable the required add-ins.
Record a few steps and save them.
Run them through UFT.
If the execution is successful, open the Internet Explorer, and check the name of the new add-in enabled.
Run the test case through Qualitia.
On this page: