What is descriptive Programming in qtp.
Answers were Sorted based on User's Feedback
It is method to write the script even before the application
is ready. It is done without objects in object repository.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sudeepthz
Actually QTP identify the objects with the object
properties. and all the properties will store in the
Repository. But by using the discriptive programming we have
to give the property name of the object to identified by
QTP. So there is no need of third part to identify the
object.. and it will increase the QTP performance speed. And
the discriptive programming is used for the dynamic objects..
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / meenakshi.patil
whenever we make use of object reprository in qtp,this
object reprository disply's the properties of object,thus
such a huge storage property of an object make qtp to run
slowly.Thus to overcome from such a drawback of object
reprository in qtp we make use of descriptive programming
in qtp.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashok
without using object repository...we can able to run the
scripts using descriptive programming..whenever object
properties are changed,or objects are not recognized
properly..and object repostiroy size will increase..that's
the reason we write descriptive programming..just we add
the properties in our scripting.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anil grandhi
Test engineers are preparing test script manually without
going to recording concept and without using object
repository. After preparing script manually then they are
describing descriptions of objects or windows in script
itself in terms of physical properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Did u use check points during ur work experience ?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
What is test object model in QTP ?
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T
Is it mandatory to know abt regular expression in descriptive programming
Can anyone explain about Keyword driven framework in detail and how to use it in case of any project
How you can replace string in qtp?
How to find given string is palindrome or not without using strreverse() function?
what is QTP batch testing tool?