09-14-2012, 03:05 PM
Hi,
My QTP test has 2 Actions, Action1 and Action2.
Action 1 is the main script and Action 2 is called in Action 1
script under Action1:
test runs fine till browser().close, After that it again trys to run Action2. how to make sure test doesnt rerun Action2.
My QTP test has 2 Actions, Action1 and Action2.
Action 1 is the main script and Action 2 is called in Action 1
script under Action1:
Code:
browser().Page().webbutton("Sign In").click
CODE
Run Action 2()
CODE
Browser().close
''''''End of the test
test runs fine till browser().close, After that it again trys to run Action2. how to make sure test doesnt rerun Action2.