what are the disadvantages of descriptiveprograming
Answers were Sorted based on User's Feedback
-> QTP wont automatically provide the lines of code
while recording. By default QTP follows Object Repository
method.
-> Writing script for objects with multi fields proves
the line of code to be very lengthy and difficult to
comprehend.
-> DP by itself wont support smart identification, if
at any case the object identification properties wont
exactly match.
-> It is not easy to specify regular expression for
object identification if we are using DP.
-> DP is not supportive to insert checkpoints
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ss
writing code takes a lot of time because we need to write
every character in the code.
To my knowledge, since there is no OR, there is no central
control over the script. If OR is htere, we can add the
properties easily to the objects
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chaitu
It is not possible to implement in All areas of an
Application that means simple Test case may be takes alot
code.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / debasis
the exact point for the question is when the property & value
pair changes,we need to change each variable that stores the property & value Pair used in scripting,which is very time consuming.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / naren
In addition to the above ans one more important point is
The scripts developed using DP is not easily understand and
executed by the other members
| Is This Answer Correct ? | 1 Yes | 3 No |
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
what is use of the object repository?
the develeper not accepter your defect what status is that ?
I want to open a text file and then search some specified text in it and then replace that text with some other text i found that text in .txt but do not know how to replace that text can any body help me. if possible put the code for qtp
how to identify a webtable coulmn values ,if we spy the coulmn value it is sometimes identifying as Webedit and some times it is identifying as "webelement", Could any body let me know how to handle the issue?
key word driven frame work is like a folder structure Question is that where is the folder like funtion library folder,object repository,data base,application scenerio folder etc are store whether in a remote machine where we have to access or in our machine (it just like VSS)
using descriptive programming how to close all opend browsers?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
How i can use Regular expression in QTP?give detailed steps for it.
what are recovery management techiniques?
What all challenges you have faced during automation and how you have resolved it?
What is the another extention name of library file.If that is exist than what's the differnce between them.