what is advantage of descripting programming in QTP?
Answers were Sorted based on User's Feedback
Answer / test
Example:Using descriptive prog.. execution will be fast when we rush to complete 3000 cases to 3 days
In the same situation, if we use repository, it takes more time..
using descriptive execution speed will be more
Disadv: Re-engineering is a problem for desciptive
| Is This Answer Correct ? | 9 Yes | 0 No |
Before u understand the concept of descriptivness programming first of we need to understand behavior of qtp in normal progarming.in normal programming first qtp understand the scripting statement then decide what action need to perform on which object.then i will go to object repository then searching for information.so maintenance is easy.
in descripting language the objects are identified in test plane only.so main advantage is performance is good rather than descripting language.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nitin sharma
Descriptive programming allows you to work with objects that
are not stored in object repository.For Example If we have
so many same name link in the application then we have no
option other than DP to find out their numbers and url.More
while DP is used when application is dynamic and object
description changes frequently.
| Is This Answer Correct ? | 1 Yes | 0 No |
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What is difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?
Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
where did you automate in your project?(please tell me example senarios)
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
what are recovery management techiniques?
What is the extension of the qtp local repository?
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful
Differentiate the two Object Repository Types of QTP.