0% found this document useful (0 votes)
16 views2 pages

QTP Actions: Action

This document discusses QTP actions which are sets of statements used to perform tasks in testing. It describes how to create, split, rename, delete, call, copy, and make actions reusable. Key actions include creating new actions, splitting a single action into multiple meaningful actions, renaming and deleting existing actions, and calling or copying existing actions.

Uploaded by

Seshu Venkat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

QTP Actions: Action

This document discusses QTP actions which are sets of statements used to perform tasks in testing. It describes how to create, split, rename, delete, call, copy, and make actions reusable. Key actions include creating new actions, splitting a single action into multiple meaningful actions, renaming and deleting existing actions, and calling or copying existing actions.

Uploaded by

Seshu Venkat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

QTP Actions

Action: Set of Statements for perfoming a Task(s) We divide our test into actions to streamline the process of testing.

Purpose of Actions: For understandability For reusing components Types of Actions: 1) Non Re usable actions 2) Re usable actions 3) External actions Operations on Actions: Creating Actions Splitting Actions Renaming Actions Deleting Actions Calling an Action Copying an Action Making an Action Reusable/Non Reusable Creating an Action: Insert>call to new action>enter name of the action>click ok Steps: 1. Create required actions(ex login, insert,delte) 2. Prepare Scripts for those actions. Splitting an action: Navigation: Place cursor in desired location>Edit menu>action>split action>Enter Action 1 name & action 2 name.

Steps: 1. Generate total test in the default action 2. Split into meaningful actions. Note: At a time we can split one actions into 2 actions. Renaming actions: Select desired action in action drop down box> edit menu>action>rename action>modify the name>click ok. Deleting Actions: Select desired action in action drop down box>edit menu>action>delete action>confirm deletion. Calling an action: Insert>call to existing action>browse path of the test>select desired action>click ok. Note: U cant edit Copying an action: Insert>call to copy of action>browse path of the test>select desired action>click ok. Note: we can edit this action. Making an action reusable: Select Non Reusable action >edit >action>action properties>check reusable action check box >click ok.

You might also like