what is descriptive programming in QTP? How can be done?
Answer Posted / pradeep
It works perfectly....
'USING DESCRIPTIVE PROGRAMMING - WITHOUT OBJECT REPOSTARY
Browser("creationtime:=4").Page("title:=Editorial Company
Search").Link("text:=Codes").Click
'OR
Browser("name:=Editorial Company Search").Page
("title:=Editorial Company Search").Link
("text:=Codes").Click
For descriptive programming the object properties should be
extracted first using the QTP object repository and then
use it in the code.
Ex., name:= or creationtime:= or title:=
Depends on the objects and its available properties
| Is This Answer Correct ? | 13 Yes | 22 No |
Post New Answer View All Answers
What are the properties you would use for identifying a browser and page when using descriptive programming?
how u will evaluate the tool for test automation?
What is synchronization? What are the ways you can synchronize?
What is qtpro?
Can we run multiple QTP scripts one after the other without manual intervention? How?
how to test Web application using QTP software
What is the use of running the scripts in Hidden-mode in UFT?
What is smart identification in QTP?
How software tester can use constants and variables in scripts?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
Explain the concept of how quicktest professional (qtp) identifies object?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
There is an excel file of 1 to 100 sheets how you will iterate through it?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
Define virtual object?