Hi All,
I'm new to QTP and have no previous experience with coding/programming.
I'm currently automating some test scripts for a Terminal Emulator. I've finally managed to run and retrieve all the data needed for the test I'm automating. However, when I'm running my scripts, occasionally a screen (always the same screen) is generated through the script. I've tried to get around this by using a Recovery Scenario but this hasn't worked. When this screen is generated, a manual user would noramally PF5 three times to get back to the expected TE screen.
Does anybody know of a code to get around this? I've also tried:
If TeWindow("TeWindow").TeScreen("TeScreen").Exists Then SendKey TE_PF8 Then SendKey TE_PF8 Then SendKey TE_PF8 End
Hope I'm making sense!
Thanks in advance,
Darren
I'm new to QTP and have no previous experience with coding/programming.
I'm currently automating some test scripts for a Terminal Emulator. I've finally managed to run and retrieve all the data needed for the test I'm automating. However, when I'm running my scripts, occasionally a screen (always the same screen) is generated through the script. I've tried to get around this by using a Recovery Scenario but this hasn't worked. When this screen is generated, a manual user would noramally PF5 three times to get back to the expected TE screen.
Does anybody know of a code to get around this? I've also tried:
If TeWindow("TeWindow").TeScreen("TeScreen").Exists Then SendKey TE_PF8 Then SendKey TE_PF8 Then SendKey TE_PF8 End
Hope I'm making sense!
Thanks in advance,
Darren