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 |
How we can add actions in the test using QTP?
which checkpoint we use to validate yahoo login screen window after login with ur id and password in qtp
How you automate testscripts one by one or modukewise or all at once
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
0 Answers Magna Infotech, Oracle,
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
Can I change properties of a test object?
What are the different types of recording modes in qtp? Which will be used when?
when do we write a script in qtp?(plz give me more then 2 reasons)
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............
how can i add an action(external action) programmatically?
what is the silent mode in WR?
How to count the no of objects in XML file(QTP)