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 is the limitation to XML Checkpoints?
what is the difference between modular framework & datadriven framework
How do we handle run-time errors?
Have you done batch testing in qtp? If yes how you are doing?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
can u explain relative path architecture framework in qtp?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How can you close the second opened browser?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What is regular expression?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
What are the check points can be inserted without recording?
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
what is run-time data?
Hoe can we do retesting using functions please give the code for it using login page