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.
There are two Types of DataTables in UFT/QTP.
Local DataTable–For each action there is a private DataTable known as local DataTable that can also be opened across actions. Global DataTable–For testing there is a global data sheet that can be used for multiple actions.
Insert DataTable parameters and output
In last two articles we have learned about “Brief explanation of how Keyword view works – Exercise 1 and Exercise 2“. In this Exercise, you will get to know how to work with condition and loop statement, in Keyword view.
Conditional and Loop Statements in Keyword View:
Conditional statements: In this statement user can join decision making into their tests.
Loop statements: In this statement user can run a group of steps frequently, either while or until a condition is
In today’s Exercise 2 article you will learn how to transfer an Action or Component Step, how to delete a Step, insert and remove the Breakpoints and check properties of Step Elements.
In Keyword view, how to transfer an Action or Component Step
Here, you will see how to transfer a step to a different place within an action or component.
This has been done by following steps,
Drag and drop a step Copy/cut and paste a step
First step to proceed in Keyword view is adding standard steps to the Test or Component:
To add new steps, user need to,
Insert a new step Define the step
1) Insert a new step: For action, user can add a new step as a sibling step or a sub step of an existing step and for components, new step adds below the selected step.
First process: To proceed on this, just click below the existing steps (the action or
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. Facilitate users to see a description of the action or component in understandable format and those descriptions (used as instruction for required manual testing project) are helpful for manual testing. Each step displays in a row and automatically get documented as user