when there is a task that gets repeated in multiple scripts
what do you do in QTP?

Answers were Sorted based on User's Feedback



when there is a task that gets repeated in multiple scripts what do you do in QTP?..

Answer / radhika

use it as reusable actions

Is This Answer Correct ?    2 Yes 0 No

when there is a task that gets repeated in multiple scripts what do you do in QTP?..

Answer / chaitu

Here you want to repeate the multiple scripts in Qtp, So
definately you can for Keyword Driven Frame Work


Here Generally All testscripts are converted into functions
put in separate fold , when we want that script in midle of
the main script we can call that functions like

Executefile"path of the .vbsfile"
Call FunctionName()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

2 Answers   Polaris,


suppose u have two send buttons(same width,height,font) on an application write a descriptive programming

1 Answers  


how to evalute defects in QTP script?

0 Answers  


In QTP, What is Global action and Local action?

0 Answers   Virtusa,


Diff b/w WEB TESTING AND Client server testing?

3 Answers   Ordain Solutions,


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.

3 Answers  


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

0 Answers  


What is the difference between analog and low level recording?

0 Answers  


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

0 Answers  


How to associate shared object repository to test in qtp?

0 Answers  


What is the difference between "Call to copy of action", "Call to existing action" & "Call to winrunner action"?

5 Answers  


Categories