How did u write macros?What is the main importance of

VB macros in testing environment?



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

Answer / sreeprasad

A macro is a series of commands that any tool or application

(VB, Editors, Textpad etc) executes automatically. You

create a macro by recording it or writing it yourself. When

you "play back" or run a macro, it repeats the actions you

performed while the Macro recorder was on.

In testing before running actually the scripts or manual

runs, we need to do some initial activities, opening the

QTP/any tool, selecting tests, sheduling them, running

them. All these activities we can record thru macro's and

can run them, to reduce mnual efort and realibility.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More QTP Interview Questions

What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication

1 Answers  


Hi All I am installing QTP 8.0/8.2 in my office desktop (WIN XP) but it is not working. Inspite Installion is succesfully done but when i open qtp from programs it opens only first screen of add-in and after that it disappears. But in my other computer at home (winxp) it is working fine. Can you please give the reason, why it is not working in office desktop. DEEPAK SINGH

4 Answers   Satyam,


Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


how to retrieve the xml file data through qtp. can anybody send script for this..

3 Answers   Synechron,


How did you achieve reusability via QTP?

1 Answers  






write a qtp code to count the number of child objects in login page and highlight it

2 Answers  


hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish

3 Answers   Syntel,


Tell some commonly used Excel VBA functions?

0 Answers  


What are the recording modes in qtp?

0 Answers  


i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)

3 Answers  


when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.

5 Answers  


in login module login button chage regularly(means login button change to submit button).What is the code for it.

3 Answers  


Categories