![]() |
How to implement scripts in a 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: How to implement scripts in a framework (/Thread-How-to-implement-scripts-in-a-framework) |
How to implement scripts in a framework - visitjaga - 09-18-2012 Can any one suggest me how to implement scripts in a framework and also what is mean by driver script ? I need to get pass and fail status of the results in a excel i.e. test case. RE: How to implement scripts in a framework - ricks_ngl - 09-18-2012 Framework is nothing but a "set of standards followed in your script" You can store your inputs in a excel file or flat file or csv file process them using datatable import it to the excel file using datatable.import Driver script is a main script which will be having the function calls and the main data. The detailed code will be stored in a external library. Hope it helps. Thanks, Ricks RE: How to implement scripts in a framework - visitjaga - 09-19-2012 Hi Ricks, As a beginner it's very useful for me and can you provide me sample "Driver Script" and external library.I need to know ,how external library is called in driver script(what function is used). Thanks, Jagadeesh RE: How to implement scripts in a framework - ricks_ngl - 09-20-2012 Code: Libraray file (Libtest.vbs or Libtest.qfl) In the driver script, You can add it using File->Setting->Resoures->Add this lib file call the function directly Eg. Login and this function will be called. RE: How to implement scripts in a framework - visitjaga - 09-21-2012 Thank You Ricks_ngl |