Micro Focus QTP (UFT) Forums
Question about QTP Script - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Question about QTP Script (/Thread-Question-about-QTP-Script)



Question about QTP Script - Manish - 01-15-2009

Hello All,
I would really appreciate if some of you guru’s could clear up a few conceptual thing (doubts) which I’ve not been able to understand in QTP. Just letting you all know that I’m new to testing and trying to learn QTP.
My main concern is (or the thing I’ve not understood) is mainly the scripting part in QTP. From what I understood after reading many of the posts in this forum is that I can write scripts (in Expert View) and use them for testing the page. Now my questions to you guys are:
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.
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.
browser("title:=Yahoo.*").page(ParameterOverHere?)…….
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?
I appreciate your time and answers.

Thank s