Can TruClient start IE with the -nomerge option? (311 Views)
Reply
Frequent Advisor
PeetD
Posts: 58
Registered: ‎08-28-2013
Message 1 of 4 (311 Views)
Accepted Solution

Can TruClient start IE with the -nomerge option?

Hi,

 

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.

 

Can this be done in TruClient?

 

Regards,

Peet

HP Expert
vmanolova
Posts: 528
Registered: ‎05-24-2012
Message 2 of 4 (269 Views)

Re: Can TruClient start IE with the -nomerge option?

[ Edited ]

Hi Peet, 

 

I would suggest you to try the following possible workarounds:

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 Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Frequent Advisor
PeetD
Posts: 58
Registered: ‎08-28-2013
Message 3 of 4 (260 Views)

Re: Can TruClient start IE with the -nomerge option?

Thanks, it's simple, I could have thought of this...(but didn't).

 

But from your answer I understand that the - nomerge commandline option is not possible in TruClient?

 

Thanks,

Peet

HP Expert
Guy_Rosenthal
Posts: 231
Registered: ‎10-24-2011
Message 4 of 4 (238 Views)

Re: Can TruClient start IE with the -nomerge option?

Hi Peet,

It isn't.

 

Cheers,

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.