QTP automation framework - 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: QTP automation framework (/Thread-QTP-automation-framework) |
QTP automation framework - shobhasr - 03-26-2009 Please provide sample component files for QTP automation framework so as to get clear understanding of the concept. Also, I want to know "if there is a specific way of executing QTP scripts". I was asked in an interview, whether i was involved in writing scripts, and execution of scripts as well. Pl send files to my email id:sho_rolli@yahoo.com Thanks in advance. shobha. RE: QTP automation framework - sepgs2004 - 03-27-2009 I am a beginner too. I have the same questions still partially open in my mind. So far, I have found two ways to automate? 1. There is a tool called TestBatchRunner {Programs->QuickTestProfessional->Tools->TestBatchRunner}; In this we can batch(add) tests and run them in sequence. 2. In QTP Professional, Go to Professional Help, Go to VBScript Reference, We have "Running your scripts" help. See there. Windows Script Host is a windows tool to run VBScript and We know we have scripts inside our test/actions..etc. I think, the key here is, when you automate, we have to write a (lets say) VB script to does the following for us: a. open QTP b. open our test c. run the existing test d. close QTP. This is a simple template of automation. In addition to these steps, we should be able to do lots like: pass data to the test, interpret the test results and write something to a file, etc... as much as you can imagine fed by necessity and experience. |