How to write scripts in Expert View - 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: How to write scripts in Expert View (/Thread-How-to-write-scripts-in-Expert-View) |
How to write scripts in Expert View - Payal Sharma - 05-14-2012 Hi, I am a beginner in QTP. I want to know for a beginner, how to write easy scripts in Expert View. Please guide me! From A to Z I want to know about generating scripts in QTP's Expert View! RE: How to write scripts in Expert View - Ankesh - 05-14-2012 better way to undersatnd how qtp works...start recording your operation using the record button. QTP will generate a script for that in the expert view. RE: How to write scripts in Expert View - Payal Sharma - 05-14-2012 Thanks Ankesh! But I want more something in details for a beginner and the role of Vbscripts in writing scripts in QTP -10. Regards, Payal RE: How to write scripts in Expert View - joncfrazier - 05-15-2012 Record is really the best way to start your script. Record the basic functionality, this will also add objects to the repository. Then you can start figuring out what you want to do exactly such as parameterizing fields, adding checkpoints, loops, etc.. I don't think there is an exact science to learning to use Expert view (which I find to actually be easier than Keyword view). I'm not a coder by training, and so I have spent a lot of time reading blogs and forums and the QTP help to figure out how to do the things I want (though I'm still a long ways from being an expert ) As far as VBScripting goes, to my knowledge it's the primary method of programming in QTP. RE: How to write scripts in Expert View - Payal Sharma - 05-16-2012 Thank You so much for the help! RE: How to write scripts in Expert View - falvi - 05-16-2012 for VbScript, QTP's own help documentation is very extensive and helpful. try looking into that as well |