LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

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

Valued Contributor

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!

 

 

6 REPLIES
HPE Expert

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

Valued Contributor

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.

 

 

Valued Contributor

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!

HPE Expert

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
Network Virtualization PM
Valued Contributor

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!

HPE Expert

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
Network Virtualization PM