13 years ago
Data driven test
I am new to TestComplete. My company want to buy the tool to test out webapp.
After going throught the sample data driven test desmostration :
http://support.smartbear.com/screencasts/testcomplete/creating-data-driven-tests/
I tried to do similar test for my web app.
My steps are as follows:
Create an excel file with the following coumns:
Gender is a dropdown:
I Create the a project on testcomplete starts recording, i Enter the values for the above headings and selected Gender as Male.
Stop record.
I highlighted all my action ,right click,select data loop and selected the right excel file.
I change the gender to Female.
i want the test do repeat the same sequence for all my Test Suject:10
when i run the test i received this error:
Unable to start a data loop from record 4, because the data source contains 3 records. 12:22:47 Normal
The test execution was interrupted. 12:22:47 Normal
After going throught the sample data driven test desmostration :
http://support.smartbear.com/screencasts/testcomplete/creating-data-driven-tests/
I tried to do similar test for my web app.
My steps are as follows:
Create an excel file with the following coumns:
Salutation | Surname | FirstName | Gender |
Gender is a dropdown:
I Create the a project on testcomplete starts recording, i Enter the values for the above headings and selected Gender as Male.
Stop record.
I highlighted all my action ,right click,select data loop and selected the right excel file.
I change the gender to Female.
i want the test do repeat the same sequence for all my Test Suject:10
when i run the test i received this error:
Unable to start a data loop from record 4, because the data source contains 3 records. 12:22:47 Normal
The test execution was interrupted. 12:22:47 Normal