Micro Focus QTP (UFT) Forums
Using external data source for multiple actions - 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: Using external data source for multiple actions (/Thread-Using-external-data-source-for-multiple-actions)



Using external data source for multiple actions - Neetha - 10-26-2015

Hi,

My test requires calling external actions and use the test data from excel spreadsheet. I have been creating single action tests and using the data driven framework by creating Excel.Application object to retrieve the test data from the spreadsheet locally on that particular action.
Now, I want to know if it is possible to drive the test with multiple actions using the test data from the spreadsheet.

Here is how I want to create to test:
My test consists of the following actions.

Action 1: Add Member. (External action)
Action 2 : Modify the member. (non - reusable action)
Action 3 : Verify the actions made in the Action2. (non - reusable action)

And I have the member details and modification details in two different spreadsheets. For every member it adds in the first action it needs to make some modifications in the 2nd action and verify the results in the 3rd action and moves on to the next member.

Please explain how to accomplish this.
Thanks in advance.