Highlighted
Contributor.
Contributor.
518 views

Tru Client scripts failing due to session time out in controller

Hi,

Need your help in understanding the below issue faced 

Tru Client script is running fine in Interactive mode but failing in load mode from Vugen stating object not found. This object is being found perfectly in Interactive mode but for Load mode the page session getting timed out and login screen comes hence the object identification fails. The wait time and other settings are all same for both Load and Interactive modes.

0 Likes
6 Replies
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Tru Client scripts failing due to session time out in controller

In 'Load mode' (non-interactive) your script might react quicker. It helps to add an wait-for-object before each action, so you are sure the object you expect exists before you take an action.

For testing you might make the timeouts around the failing action short so you might get a better screenshot at the moment your actions fails.

Signature:
Reward community members who take time to respond and help.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Tru Client scripts failing due to session time out in controller

Hi,

Can you please share the snspahot on error? it is located under the script folder in the results folder.
Can you please share the log as well?
Is that TruClient IE or other browser?

I agree with @JHF Remmelzwaal regarding the timing. Load Mode runs faster.

Regards,
Shlomi

0 Likes
Highlighted
Contributor.
Contributor.

Re: Tru Client scripts failing due to session time out in controller

Hi,

Thanks for the replies, sharing the snap shot is not permissible as it is customer controlled environment with restricted access. We are facing intermittently login prompts when the scripts are being executed as a reason they are getting failed.

Now are trying to convert the Tru-Client script to HTTP/HTML and proceeding will keep you posted on the progress

Thanks

Ashwani

0 Likes
Highlighted
Contributor.
Contributor.

Re: Tru Client scripts failing due to session time out in controller

Thanks for the help, we did have a sufficent amount of hold time as you advised, but intermittently we are seeing a login prompt as a result of which the scripts are failing. 

I have converted the scripts to HTML/HTTP mode and proceeding as timlines are quite stringnet and we do not have ample time for the debugging 😞 , will keep you posted in case of any further issues faced.

Thanks again for your time and help 

 

0 Likes
Highlighted
Contributor.
Contributor.

Re: Tru Client scripts failing due to session time out in controller

Sorry for the typo, by converting i meant that we are proceeding with new recording with HTML/HTTP protocol and checking how feasible it will be to script that.

Would have shared the screen shot and other details but the VM has restricted privileges and we cannot copy/paste and do a prt screen adding to our misery 😞

 

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Tru Client scripts failing due to session time out in controller

Good luck developing the Web (HTTP/HTML) scripts.

I have seen cases where authentication dialog appear intermittently, it probably means the application sends a request to the server while there is no authenticated session. You can bypass it by have an optional Authentication step, although it might be tricky in some cases.

If you face any blocker with Web (HTTP/HTML) and you decide to switch back to TruClient, I suggest trying that. 

Regards,
Shlomi

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.