The communication between the Focal Point machine and UFT Client is the most important element of the entire automatic solution to run testset.
There are some initial configuration to do on the FP machine and on UFT Clients. The first step, mandatory, is the clean installation of the ALM .Net Client on both type of machine; there is an msi installation file to run.
FP Configuration
There are other some regedit settings to do as recommend in this article
https://admhelp.microfocus.com/uft/en/14.03/UFT_Help/Content/User_Guide/RunYourTest_DisconnectedRDP.htm . You can see here an extract:
Win OS Type |
Registry Key |
Value |
Type |
32 bit |
<HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE>\Software\Microsoft\Terminal Server Client\RemoteDesktop_SuppressWhenMinimized |
2 |
DWORD |
64 bit |
<HKEY_CURRENT_USER>\Software\Wow6432Node\Microsoft\Terminal Server Client\RemoteDesktop_SuppressWhenMinimized |
2 |
DWORD |
Known Issue – “mstsc” closing process: We notice a Terminal Server issue that close the mstsc session after the script that choose the client and perform the RDP connection. The problem is on execution phase because it seems no rdp session is active. The error tells you that "is impossible to start the server process. the configuration identity is not correct. Verify username and password". This was caused by the Java version (1.8.0_191) use to run the slave jenkins service on the Focal Point machine. To solve the problem we need to run the Jenkins Service on the FP through the java.exe version 1.8.0_171. So the right java version to run it is the 1.8.0_171
UFT Client Configuration
On this type of client there is a specific UFT configuration to do to allow the continue the test if the terminal is locked or disconnect. These are the steps:
Troubleshooting
Using WMI query you could face in some issue. In particular you can get error instantiating the objWMIService with this operation:
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & clientname & "\root\cimv2")
where "clientname" is the name of the UFT Client to verify.
If you get the error the causes could be these:
Questo sito è stato realizzato con Jimdo! Registra il tuo sito gratis su https://it.jimdo.com