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

if our qtp vb Script may be Currepted then What we want do?

1491


what is actually contain test report? can anybody post the test report

1477


How is a Step generator used in UFT?

663


How can i check items sorted or not in a weblist ? Give me the script for this...

1582


When Recovery scenario actually starts while testing the application?

1549






how to download mercury qtp9.2 ny internet ?

2966


Hi, how can we check or avoid the memory leakage in QTP9.2?

1712


What are the different ways to invoke an application using QTP?

650


Explain in brief about the quicktest professional automation object model?

519


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

1720


Explain advantages and disadvantages kdf?

527


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2059


How can you pass value one action to another action?

559


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1380


How to use setroproperty?

579