recording is not a good programming practice.How to write
effective script without recording.Which is the correct
method explain in detail
Answers were Sorted based on User's Feedback
Answer / rajanikanthreddy
In qtp we are having descriptive programmming..with using
object properties and values qtp idintify the objects
ex...browser("name:=google").page("title:=google") like
that we are identifying object...here we are not using any
memory(repository) this is use of descriptive
programming...try it
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / deven
Yes, Recording is not a good practice effective scripting
is
1. Writing VB Script and Descriptive programmming
2. Use different types of Frame work in your project
3. Use Expert view for VB scripting
4. Use more Function Library
5. Use Constants (public)
6. Use Subroutine
7. Follow the Standard Programing practice
8. Use conditional, logical operator in scripting
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / srini
Question is wrong..How can recording is not good practice ?
It's always depends up on the application under test.If the application is stable like SAP, or desktop applications, Descriptive programming is time killing..recording is much easier and time saving..
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the cases in which we use XML and accessibility check points.
In how many ways we can add check points to an application using QTP.
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.
I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.
Hybrid framework supports Descriptive programming. Is it true?
Does QTP run in any environment?
what is diff b/w function and action?
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"
What is DOM
Can I import a excel sheet in Action1 datatable? How?
Can we do Load Testing with QTP?