Can we do qtp testing without creating objects in Dbject
repository? can we do it completely writing code i.e in
expert view only. Are there any books for this?


Answer Posted / alliance info

yes we will create objects by using DP (descriptive
programming)

'here no need of o.r
'cp the general recorded program in new test
'then write the dp
'tools>object spy>click on the hand button>test object
properties in object spy>name

For Eg:

dialog("text:=Login").Activate
dialog("text:=Login").WinEdit("attached text:=Agent
Name:").Set "user"
dialog("text:=Login").WinEdit("attached
text:=Password:").Set "mercury"
dialog("text:=Login").WinButton("text:=OK").Click

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of text output value in quicktest professional (qtp)?

681


Step 3&4 are repeated until an the object in recognised uniquely.

1626


Difference between copy to action and call to action?

673


hou can we use vb script in qtp could u tell me breafly

1849


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1666






How qtp recognizes the object?

765


In qtp, how you can use xpath to identify objects?

704


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1552


Explain about the test fusion report of quicktest professional (qtp)?

639


How to find array size in qtp?

675


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2023


How is a Step generator used in UFT?

756


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1804


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1473


How can you close the second opened browser?

909