can anyone explain about the Descriptive programming in
detail. I mean how to use in the script.
Answer / shyam.meghansh
Descriptive Programming comes under Advance QTP .... in
this we do not require any objects in object repository....
with out adding objects in repository we can test the
application .... the concept DSP
so in DSP we will not add the objects in repository....
inside we will take the logical names of the object and
accesss those... chk one of the example
*============================================*
systemutil.Run("C:\WINNT\NOTEPAD.exe")
Set Open_Pad=Description.Create()
Open_Pad("text").value="Untitled - Notepad"
Set Text_Area=Description.Create()
Text_Area("window id").value="15 "
Set File_Menu=description.Create()
File_Menu("window id").value="262737"
Set File_Menu_Save=description.Create()
File_Menu_Save("window id").value="0"
File_Menu_Save("x").value="681"
File_Menu_Save("y").value="53"
'#32768Menu
Set Save=Description.Create()
Save("text").value="Save As"
Set Enter_File_Name = Description.Create()
Enter_File_Name("attached text").value="File &name:"
Enter_File_Name("window id").value="1148"
Set Save_Button = description.Create()
SAve_Button("text").value="&Save"
Set File_Menu_Close=description.Create()
File_Menu_Close("window id").value="0"
File_Menu_Close("x").value="681"
File_Menu_Close("y").value="53"
Window(Open_Pad).WinEditor(Text_Area).type( "This is shyam
doing the descriptive fro notepad")
Window(Open_Pad).WinMenu(File_Menu_Save).Dialog
(Save).WinEdit(Enter_File_Name).set "demo"
Window(Open_Pad).WinMenu(File_Menu_Save).Dialog
(Save).Winbutton(Save_Button).click
Window(Open_Pad).WinMenu(File_Menu_Close)
*============================================*
Is This Answer Correct ? | 1 Yes | 0 No |
which command u will use to access the application through descriptive programing?
I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?
What are the Automation Limitations??
Hi..All I have installed QTP 10.0, and need to Automate SAP Application.....so i need to Install SAP Add-ins, anybady has SAP-Addins, Please help me, and thanks in advanced plese send it on my email id: sandipgami84@gmail.com Thanks, Sandip Gami +91-9714177088
can any one say that where we can download the QTP trail version ??????????
How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance...
What are the details steps to connect a remote mysql database in QTP
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.
There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,