how to write scripts in QTP?

Answer Posted / kalyana chakravarthy

HI This is Chakravarthy.

If u know "C" language it is very easy to write VB Script.

and u have to know how can we use Scripting in QTP.

for ex. we wil use if conditions,nested if,for loops,while
loop,variable diclarations,functions,......etc in QTP.

all this topics come under "C" Language.

If u have any Queries contact me at

mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many add-ins comes by default with qtp?

784


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

810


what is profile tool?

1819


Can any suggest me what is exposure testing?

1558


How to get Traceability matrix from TD?

921


How to execute a winrunner script in quicktest professional (qtp)?

691


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1620


What is quicktest professional (qtp window?

788


For which type of project the iterative model is suitable?

1555


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

746


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1607


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1543


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

3200


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1840


How to test fly out menu in qtp?

704