Hi,
I have a 'logon' test that I would like to use with many different tests. I would like to pass two parameters: "userName" and "password" to the "Logon" test from many another tests.
I have followed the "Data bound Test A calls Test B" instructions here: http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx but it does not seem to work.
Setup {
Users.xlsx
HomeTest.tstest (Bound to dataset Users.xlsx):
} EndSetup
When I execute HomeTest.tstest nothing is entered in the 'username' or 'password' textboxes.
I was under the impression that "the data source definition for Test A will propagate down to Test B and be available for use by Test B", but this is not happening. Do I have to do anything special on the call "Execute test 'Logon'"?
I have a 'logon' test that I would like to use with many different tests. I would like to pass two parameters: "userName" and "password" to the "Logon" test from many another tests.
I have followed the "Data bound Test A calls Test B" instructions here: http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx but it does not seem to work.
Setup {
Users.xlsx
UserId | Password
User01 | somePassword
HomeTest.tstest (Bound to dataset Users.xlsx):
Execute test 'Logon'
- Logon.tstest (InheritParentDataSource is ticked):
-
- Navigate to : 'https://[left this out for the purpose of security]'
- Enter text '' in 'UserNameText' - DataDriven: [$(UserId)]
Enter text '*****' in 'PasswordPassword' - DataDriven: [$(Password)] - Click 'SubmitCredsSubmit'
} EndSetup
When I execute HomeTest.tstest nothing is entered in the 'username' or 'password' textboxes.
I was under the impression that "the data source definition for Test A will propagate down to Test B and be available for use by Test B", but this is not happening. Do I have to do anything special on the call "Execute test 'Logon'"?