Está en la página 1de 1

QTPWorld http://www.qtpworld.com/index.php?

cid=47

Login | Search QTPWorld.com

Chapters Actions
Upcoming Trainings
Actions is a set of logical statements to perform specific test.
QTP Interview Questions
There are three kinds of actions:
VB Script - Part I
1. Non Reusable action
VB Script - Part II 2. Reusable action
3. External action
VB Script - Part III
Non Reusable action:
Working with Files using FSO
An action that can be called only in the test with which it is stored, and can be called only once.
Excel
Reusable action:
Actions
An action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
Functions
External action:
Difference between Action and
Function
A reusable action stored with another test.External actions are read-only in the calling test, but you can choose to use a local, editable
Parameterization copy of the Data Table information for the external action.

Object Repository
Steps to follow to perform different operation in Actions:
Descriptive Programming
Create an Action:
Regular Expression Insert-->call to new action-->enter name of the action-->click OK.

Error Handling & Recovery Rename Actions:


Scenario Select desired action in action drop down box--> edit menu-->action-->rename action-->modify the name-->click OK.

Output Values Call an Action:


Insert-->call to existing action-->browse path of the test-->select desired action-->click OK.(Note: We cannot edit)
Database Connections
Copy an Action:
Automation Object Model Insert-->call to copy of action-->browse path of the test-->select desired action-->click OK.(Note: we can edit this action).
Synchronization
Make an Action Reusable:
Select Non Reusable action -->edit -->action-->action properties-->check reusable action check box -->click OK.
Environment Variables

XML Delete Actions:


Select desired action in action drop down box-->edit menu-->action-->delete action-->confirm deletion.
Outlook

Reporting Defect

Contact Us

info@qtpworld.com
+91- 9886477710

Copyright QTPWorld.com 2013 Home | Demo videos | Students | Training | FAQ's | Feedback | About Us Designed By WebZone

1 of 1 1/29/2016 7:57 AM

También podría gustarte