How can u write a script without using a GUI in QTP?

Showing Answers 1 - 5 of 5 Answers

Rekha Basu

  • Oct 3rd, 2005
 

GUI in Qtp?do you mean to say Object repository?without OR,tester need to write descriptive tests,where you would directly assign property values and write methods.you do not need to save OR.

  Was this answer useful?  Yes

nandini

  • Feb 3rd, 2006
 

      we can write scripts in qtp by using logical names

  Was this answer useful?  Yes

G.V.K.Reddy

  • May 19th, 2006
 

Nandini,Can you give me an example of how to write the script using logical names with out using GUI in QTP

  Was this answer useful?  Yes

Tejeswara Rao

  • Oct 10th, 2006
 

we can write scripts in qtp by using logical names. It is just like a Descriptive Progarmming. Just spy on any object and find the tree structure, and identify the unique logical names.

Example : JavaWindow("label:=Tracker").JavaDialog("label:=Case Details").JavaButton("attached text:=Close").Click

 

  Was this answer useful?  Yes

Ritik1008

  • Sep 27th, 2008
 

QTP provides the Active Screen Technology i.e it will take snapshots of the Application when you are going thru' the appl. by using the snapshots you will be able to write the script for that particular appl.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions