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

How can you exit from an action?

797


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1962


What is a checkpoint? How many check points are there in qtp?

750


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2441


How to save your test using quicktest professional (qtp)?

851


How did you resolve conflicts present in Object Repository?

1809


what is stepin & stepout?

1614


Does quicktest professional (qtp) is unicode compatible?

766


what is object and child object.. explain ..if possible give some example for better understanding ..

1744


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1884


What is action split and the purpose of using this in qtp?

745


what is clean sweep?

1718


How many types of Automation frameworks are there in UFT? Describe them.

766


How can I use Call dlls in QTP ?

2037


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

759