How to abort a test and succeeding actions in UFT?
Question ID:
105694
♥ 0 |
I have a test that requires that a configuration item be present. I can query our database and check that the option is present or not. When the configuration item is not present, my UFT script goes to a Debug dialog error. I can put an if statement before the statement in error and avoid executing the line that will bomb into the debugger. However, then a later statement gets an error. The test is comprised of multiple actions and every action from here on requires the configuration option be present. Is there a command in script that I can use to gracefully abort the test so that succeeding actions in the Test don’t also run?
Marked as spam
|
Answers (1)