![]() ![]() Test Cases can be executed with multiple Sets of Data * Changes to the Test Scripts do not affect the Test Data **Note “dtGlobalSheet” is the default excel sheet provided by QTP. Window("Flight Reservation").Check CheckPoint("Flight Reservation") 'Check Flight Reservation Window has loaded SystemUtil.Run "flight4a.exe","","","open"ĭialog("Login").WinEdit("Agent Name:").Set DataTable("AgentName", dtGlobalSheet)ĭialog("Login").WinEdit("Password:").Set DataTable("Password", dtGlobalSheet) Step 2) Develop Test Script and make references to your Test- Data source. Step 1) Create a Test - Data file which could be Excel, CSV, or any other database source. Test Scripts themselves are prepared either using Linear Scripting or Test Library Framework.Įx: Developing the Flight Reservation Login script using this method will involve two steps. Variables are used both for Input values and for Verification values. In this Framework, while Test case logic resides in Test Scripts, the Test Data is separated and kept outside the Test Scripts.Test Data is read from the external files (Excel Files, Text Files, CSV Files, ODBC Sources, DAO Objects, ADO Objects) and are loaded into the variables inside the Test Script. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |