1. Is this manually written script the same as what QTP generates when I record the tests? As I understand is that script is written only in Expert View Window. Please let me know if I’m missing something over here.
When you record an action say you type qtp in google these are the things happen"
a)the text field is added in the object repositary
b) a script is created say
writting scripts is
you can now do the same by manually typing the above code in expert view
for context help to work the object need to be in the repositary
anothere approach is descriptive programming where u do everything descriptively you dont need a object repositary.
2. If I’m writing the scripts manually is there a way I could see the context sensitive help for what I’m typing and is there a way I can find out what parameters / and the values could be passed to the calling function e.g. I’ve seen Browser function/method being used a lot but when I type in browser that does not bring the context sensitive help nor does it tell me the parameter list I can pass to it. Or if there is some help file which tells me about the function parameters that would solve my problem.
3. What is the best way to learn how to write script or where do I start for writing scripts is there a tutorial for doing it like we have a tutorial by HP and learning QTP?
any basic book on vbscripting
I appreciate your time and answers.
When you record an action say you type qtp in google these are the things happen"
a)the text field is added in the object repositary
b) a script is created say
Code:
"Browser("").Page("").webedit("").set "qtp"
writting scripts is
you can now do the same by manually typing the above code in expert view
for context help to work the object need to be in the repositary
anothere approach is descriptive programming where u do everything descriptively you dont need a object repositary.
2. If I’m writing the scripts manually is there a way I could see the context sensitive help for what I’m typing and is there a way I can find out what parameters / and the values could be passed to the calling function e.g. I’ve seen Browser function/method being used a lot but when I type in browser that does not bring the context sensitive help nor does it tell me the parameter list I can pass to it. Or if there is some help file which tells me about the function parameters that would solve my problem.
Code:
browser("title:=Yahoo.*").page(ParameterOverHere?)…….
any basic book on vbscripting
I appreciate your time and answers.