Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ? (269 Views)
Reply
Frequent Advisor
ssawale
Posts: 52
Registered: ‎07-16-2010
Message 1 of 7 (378 Views)

In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

[ Edited ]

Using TruClient for IE9 all script action works till it open window's ( OS ) modal dialog  and stuck at handling this modal dialog. Are there any solutions or workarounds to handle this ? 

 

I want to do two things.

1. Measure time till it open modal dialog

2. Cancel the dialog and move on to next steps

 

 

Your timely help is appreciated.

 

Thanks!

 

 

HP Expert
rleitons
Posts: 146
Registered: ‎07-21-2009
Message 2 of 7 (360 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

Hi,

Using TC IE you can add manually a wait step and in the Setp section select End Event: Dialog opened.

The normal execution will continue after the dialog is open.

 

Rodolfo Leitón

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

For LoadRunner here.
For Performance Center here.

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution

Frequent Advisor
ssawale
Posts: 52
Registered: ‎07-16-2010
Message 3 of 7 (356 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

Thanks but in this case it's a OS dialog and not browser HTML dialog so wait end event isn't working on this modal dialog. Did that work for you ? If you have any OS dialog similar to file Open, Save, Cancel then it should work on those. Please let me know.

 

 

Frequent Advisor
ssawale
Posts: 52
Registered: ‎07-16-2010
Message 4 of 7 (284 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

I found that I can close the dialog using Generic browser action "Dialog - Prompt" with end-event "Step syncronous network complete" but measuring time is still a challenge as previous action doesn't wait until Dialog opened as end-event.

 

Thanks!

HP Expert
Guy_Rosenthal
Posts: 252
Registered: ‎10-24-2011
Message 5 of 7 (273 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

Hi,

Not that clear to me. If you are using the Dialog Opened end event and it works, than what is your current issue?

Guy Rosenthal
TruClient RnD Team Manager
TruClient-StormRunner Load RnD
Frequent Advisor
ssawale
Posts: 52
Registered: ‎07-16-2010
Message 6 of 7 (269 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

Dialog end-event does not work on previous action which click on image that triggers JavaScript on click . I need to use step network completed and then close the dialog using generic browser action in follwoing step as stated before.

 

Thanks!

HP Expert
Guy_Rosenthal
Posts: 252
Registered: ‎10-24-2011
Message 7 of 7 (259 Views)

Re: In TruClient for IE9, how to close File Save\ Open\Cancel modal dialog ?

Hi,

We need to "play" with the script a bit in order to understand the problem.

 

10x.

Guy Rosenthal
TruClient RnD Team Manager
TruClient-StormRunner Load 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.