What is step generator UFT
Rachel Hickman
Published Mar 20, 2026
This is a facility that QTP provides in order to make adding programmatic steps into QTP easy for the user. You can use it in the Keyword view, function library, Active screen, or Expert view to generate steps. It can be used to write steps into a test or to a function library.
What are the categories in step generator?
Ans: Function, test object, utility.
What is keyword view UFT?
Overview of Keyword View: UFT Keyword View facilitates user to see the steps of created actions or components in a modular, table-like format. User can generate and change steps by selecting items and operations in the Keyword View. … Each step displays in a row and automatically get documented as user complete it.
What is the shortcut key to open a step generator in QTP?
For Breakpoint :F9. Step Into: F11. To open “Object Repository”: Ctrl+R.What is an object in UFT?
In UFT, All the GUI elements are considered as objects, like Buttons, Edit boxes, links, image, List box etc. The properties related to these objects are Text, Size, Height, width, Id and so on. Then comes the methods ‘Click’ on button, ‘set’ data in edit box etc.
What is Standard checkpoint in QTP?
Standard checkpoints: It compares the expected values of object properties captured during recording to the object’s current values during a run session. Page Checkpoint: A Standard Checkpoint created for a web page can be called a Page Checkpoint. It is used to check a total number of links & images on a web page.
What are the four types of parameters in UFT?
148: There are four types of parameters: Test/Action, Random number, Environment Variable, Regular Expression.
How do I use SendKeys in UFT?
- Create a WScript. Shell object.
- Activate the browser in which you want to execute the keys.
- Use the SendKeys method to type the key combination.
How do I use virtual objects in UFT?
- To open virtual object wizard, go to ‘Tools –> Virtual Object–> New Virtual Object’. …
- Click on Next and at the next window select the class as ‘object’.
- After selecting class, click Next. …
- After marking the object, click on next.
The Object Spy enables you to view the native properties and operations of any object in an open application, as well as the test object hierarchy, description properties, and operations that UFT One uses to represent that object.
Article first time published onWhat are the different views available in UFT?
An action in UFT can be designed and viewed in two ways; Keyword View and Editor. Keyword View enables you to view the action steps in a tabular excel-sheet-like format. Editor is much more powerful and allows you to create/edit scripts , write logical statements in a more natural fashion.
What is ordinal identifier in UFT?
An Ordinal Identifier assigns a numerical value to the test objects, which indicates its location or order relative to its group. The Ordered value enables QTP to recognize it uniquely when the inbuilt properties are NOT sufficient to do so.
What are the run modes in UFT?
QTP and UFT have 2 modes to run a test: Fast Mode and Normal Mode. There are different ways to control this depending on what you need.
What is UFT action?
What is Action in QTP? Actions help divide your test into “logical units” or “Business Processes”. Actions help create a script which is more modular and efficient. When a script is newly created it consists of only one action. But you can add more Actions to your Micro Focus UFT Script as per requirements.
What are various step actions in QTP?
MethodShortCutStep IntoF11Step OverF10Step OutShift+F11
What are mandatory properties in UFT?
Mandatory properties are the properties that are always recorded when UFT learns an object. Assistive properties are the optional properties that are recorded only when UFT is unable to create a unique object description using mandatory properties alone.
What is output value in UFT?
An output value step is a step in which an object property value is captured at a specific point in your test and stored at the desired location. The stored values can be used as input at different points in a test script. In this tutorial, you will learn –
How is parameterization done in UFT?
Click the Parametrization Icon. Click on Parameter Radio Button. QTP assigns a default name to this parameter. … When you click on “expert view” you will see that “Agent Name” is replaced by “Guru”, and the type of sheet used. Likewise, you can also parameterize the argument Password and enter different test data sets.
What is DataTable in UFT?
An UFT DataTable is similar like a Microsoft Excel DataTable that benefits developer and testers to generate data driven test cases that can be used to run an Action multiple times. … Local DataTable–For each action there is a private DataTable known as local DataTable that can also be opened across actions.
What is smart identification in UFT?
Smart Identification is a mechanism to identify the objects in Object Repository when the normal mechanism fails. It is applicable only for Web Applications. This mechanism is used by UFT to identify objects at Run time.
What is split action in UFT?
- QTP makes a copy of the local object repository.
- The two actions have identical local object repositories containing all of the objects that were in the original local object repository.
What is database checkpoint in UFT?
Database checkpoint is one of the checkpoints in QTP which is used to test the contents of the database accessed by application under test. It stores the expected data and compares this with the data stored in the database.
What is recovery scenario in UFT?
Using Recovery Scenarios you can instruct HP UFT to recover from unexpected events and errors that occur in your Testing environment during a run session. Recovery scenario becomes crucial for large tests, which run unattended and are paused until recovery operation, is performed increasing the test execution time.
How many types of recording modes are there in UFT?
There are 3 types of recording modes in UTF: Normal Recording mode or contextual recording mode. Low-level recording mode. Analog recording mode.
What is object spy in QTP?
Object Spy is a utility/option within QTP to add objects to the Object Repository. Object Spy can be accessed from the tool bar as shown below − Step 1 − Clicking the Object Spy icon, the Object Spy Dialog box opens. The Objects can be added to the repository on clicking the pointing hand.
What is WScript shell in UFT?
WScript provides a function called Sleep which is used to wait for specified milliseconds. In our script, we are waiting for 10000 milliseconds or 10 seconds(10000 milliseconds=10 seconds). Try to run the above code in QTP. It will error out as WScript is a host specific object which is not recognized by QTP.
What is Shell object in UFT?
Shell Scripting in UFT is used sendkeys (simulate keyboard key press) to tackle a few very uncommon behavior of some test applications. … Consider an example wherein UFT can identify a WebList object but if you record the action of selecting an item from the drop-down, the particular step does not get recorded.
How do you hit enter in UFT?
- Use mentioned above Type method: YourObject.Type micReturn.
- Use SendKeys method: Function SendKeys(sKey) Set WshShell = CreateObject(“WScript.Shell”) WshShell.AppActivate “Your browser” ‘ You may need to activate your browser first. WshShell.SendKeys sKey. wait(1) ‘ You may need to add some Wait statements around.
How do you highlight an object in UFT?
- Create a new script.
- Add the following line of code in your script: Browser(“index:=0”).Page(“index:=0”).WebEdit(“name:=MERGE0”).highlight.
- Run the test and you should see the Enter your email here field flicker. Highlight it a few times.
What languages does UFT support?
FeaturesSeleniumQTP/UFTProgramming LanguageSupports mature Object-Oriented Languages like JavaSupports only VBScript. Thus, the Object-Oriented Approach to automation becomes challenging with QTP/UFT
What is the difference between functional testing and automation testing?
Functional testing first is done manually and once a feature is stable, test cases are automated. While in regression testing, only those test cases are executed manually or automatically – that are already stable, so this can be automated when needed. To know if your team needs to adopt automation check here.