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

Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1628


How to create Reusable and Multiple Actions?

1941


Shall we add Local Repository to shared object repository,if yes,how we add

6695


what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

1805


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1687


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1877


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

773


How does you test a weblink which is changing dynamically?

791


what is command for executing files?

1737


How to attach a file to TD?

887


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1790


What is the difference between rational rose and QTP?

2011


What is the difference between local and shared object repository in qtp?

795


Can we create a qtp test from qc?

810


your coming from electrical backgroung..but y ur coming to software side?

1582