11-05-2010, 10:55 PM
QTP10
XP
IE8
This is my test, with no reuseable action. As you can see, it has two reuseable actions within it. Along with closing the browser when all inquires.
It runs through this process perfectly runing the first action of login and then to each flight inquiry, then closes the browsers.
To that point, the test results all check out.
BUT, This is what I don't want to happen...
Instead of the TEST ending and offering a 'passed' for results....
It then goes into the Action of 'login' and attempts to want to enter this again even when there isn't even a browser open.
XP
IE8
This is my test, with no reuseable action. As you can see, it has two reuseable actions within it. Along with closing the browser when all inquires.
Code:
'RunAction "login", oneIteration
RunAction "flight inquires", allIterations
Browser("Flight Reservations").CloseAllTabs'
It runs through this process perfectly runing the first action of login and then to each flight inquiry, then closes the browsers.
To that point, the test results all check out.
BUT, This is what I don't want to happen...
Instead of the TEST ending and offering a 'passed' for results....
It then goes into the Action of 'login' and attempts to want to enter this again even when there isn't even a browser open.