Printing, Personal Computing and Mobile BoardsHave Been Migrated to HP Support Forums

Open Menu

Printing, Personal Computing and Mobile BoardsHave Been Migrated to HP Support ForumsOpen Menu

We have completed the migration of all boards within the Printing and Digital Imaging, Desktops and Workstations, and Mobile categories to the HP Support Forums. Please see this post for full details on the migration, and how to get to your content.

Can TruClient start IE with the -nomerge option?

I am using "simulate new user each iteration set" with "failed event causes step failure" when testing using TruClient and IE10 (VUgen 11.52 patch 1). In the script I made sure cache and cookies are cleared before the usecase actually starts. The problem is that sometimes the scripts runs into an unexpected situation, and it is rather random at what point this happens. When this happens the script step will then fail and the iteration aborts. Next iteration cache and cookies are cleared, but on the server the session remains for 15 more minutes. So when the browser approaches the server again the page presented is how it was left at time of the abort of the previous iteration. The app developer tells me that I should start IE with the -nomerge commandline option to make sure a new session is started on the server.

1. Create a parameter in the init part LR.setParam("isLogged","false")

2. In the Action

if LR.getParam("isLogged")=="true"

execute log off step

3. Log in and set LR.setParam("isLogged","true")

4. Perform the rest of the steps

5. At the end of the script if the user logs off successfully set isLogged to false again.

Kind regards,

HP SupportIf you haven’t tried it yet, come and join us in our entitled forums at Support Customer ForumsIf you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.