07-21-2012, 05:20 PM
Hi
I am automating a windows application using QTP.
This QTP automation script(second script) is calling from another QTP script (first script) using RunAction Command.
When the second script (calling by RunAction)is over, I will close the exe in the last line of the script which is throwing an error
"An existing connection was forcibly closed by the remote host Line(20):"SwfWindow("mainwindow").SwfToolbar("mainMenuStrip").Select "Reader;Exit"".
I know none of my applications using this exe other than QTP.
If I skip this error QTP will continue.
Can anyone suggest a solution for this.
I am automating a windows application using QTP.
This QTP automation script(second script) is calling from another QTP script (first script) using RunAction Command.
When the second script (calling by RunAction)is over, I will close the exe in the last line of the script which is throwing an error
"An existing connection was forcibly closed by the remote host Line(20):"SwfWindow("mainwindow").SwfToolbar("mainMenuStrip").Select "Reader;Exit"".
I know none of my applications using this exe other than QTP.
If I skip this error QTP will continue.
Can anyone suggest a solution for this.