0 votes
in QuickTest Professional (QTP) by
What is Optional step in QTP? How you can add optional step in QTP?

1 Answer

0 votes
by

When running a test, it test fails in opening a dialog box, QTP does not necessarily abort the test run.  It bye passes any step designated “optional” and continues running the test.  By default QTP automatically marks as optional steps that open certain dialog boxes. In order to set an optional step in the keyword, right click and select “Optional Step”.  The icon for optional step would be added in next step. In the expert view to add optional step, add optional step to the beginning of the VBScript statement.

Related questions

0 votes
asked May 8, 2020 in QuickTest Professional (QTP) by Robindeniel
0 votes
asked Apr 25, 2020 in QuickTest Professional (QTP) by Robindeniel
...