What is Step Generator in QTP, Explain Step Generator with example in QTP | Uses of Step Generator



What is Step Generator in QTP, Explain Step Generator with example in QTP | Uses of Step Generator

Step Generator activates the use of Add Test Steps available in script. With the help of Step Generator we can add more steps to our script without recording.

Step Generator is like a library of methods and property which is commonly used for creating the non-recordable and recordable steps.

Step Generator can be launch with the help of any of the following types:

First Type:
By navigation → Insert Menu > Step Generator

Second Type:
Just Press F7 short cut key only

Step Generator will active you to add more steps by choosing a large range of context sensitive option and to input the mandatory values. You can explained the steps then it can be use:

  • Test Object operations (Tests Only)
  • Utility Object Operation
  • Calls to Library Function
  • Calls to VBScript Function
  • Calls to Internal Function

Real Life Example for Step Generator in QTP:

You can generate a step to confirm and verify the wheteher a specific object available as well as returned value of a function for output result value or as a part of the conditional statement.

You can also parametrize any of the output in out step. Also you can use the step generator to input the steps in method libraries. However you can not use the step generator to assign the names of objects or collection or the libraries list.

You required to know that where the step require to be input in out script before adding the step. Step Generator opens once you need to choose the category for the operation of step (Test / Utility object, Function) and the needy object or the library function.
Then you can choose the correct operations (method, function or property), Explain the arguments and values return. You can parametrizing the mandatory by function.

Generally Step Generator is useful to input the appropriate step at your test. You can also input the another steps without Step Generator closing. You can use the Step Generator inside the Keyword / Expert from active Screen or View.,



















Virtual Objects with Example in QTP
Cross Platform Testing


What is Object Spy in QTP Ordinal Identifiers Alone can Make an Object Unique






No comments:

Post a Comment

Popular Posts