what is the use of descriptive programming in QTP ? when we
need to use DP? can we test the application completely with
out useing DP?? please explan with example
Answers were Sorted based on User's Feedback
Answer / suchismita
descriptive programming in QTP means whenever qtp facing
dificulty with obj identification then we will go with
regular exp or desc prog .
without using the objectrepository, and by using the
objectspy we will write the DESCRIPTIVE programming .
when ever we will go to DESCRIPTIVE programming :-
1.when ever objects are dynamicaly changing.
2.when ever QTP is not going to recognise the objects.
3.when ever objectrepository size is huge automatically QTP
wil get down slow.
4.when ever not yet develop the build then only we will use
DESCRIPTIVE programming .
Yes we can test the application completely without using
DP.hera we can use Object reposotary.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / nidhi jain
Suchimita is correct.
For example - your radio button is customize and every
client changes its option as per their requirement then you
can use following code
WebRadioGroup("value = ...").select".."
| Is This Answer Correct ? | 0 Yes | 0 No |
How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
How to use Regular Expressions in QTP? give an example.
10 Answers ABC, Accenture, Ordain Solutions, SCL,
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
what are the limitations of smart identification in qtp 9.0
How can you quit from Action.
without Qtp features can we automated?
what is action in QTP?
Can we do Load Testing with QTP?
When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.
what is the purpose of SetTOProperty Method?
1 Answers Cap Gemini, iGate, Wipro,
Is it possible to merge two object repository files in qtp?