Download User Manual - Testing Whiz
Transcript
Create Test Script to Call/Fetch data created in the Data table.
Step 5: Add a Test Case and select Test command as ‘Open Page’ and add Value as ‘http://testingwhiz.com/demoscripts/place-holder.html’.
Step 6: Add next step and select ‘Loop Start’ or ‘Loop End’ or ‘Loop Continue’ or ‘Loop Break’ as Test command
to loop the process of login with different usernames and passwords. Add Value as ‘Login Data’ (from Data table) to
fetch all the usernames and passwords stored in the Data table.
Step 7: Select Test command as ‘Input’, add Object as ‘txtPass’ and insert Value as ‘${LoginData.username}’.
Step 8: Select Test command as ‘Input’, add Object as ‘txtPass’ and insert Value as ‘${LoginData.password}’.
Step 9: Select Test command as ‘Click And Wait’ and Object as ‘btnLogin’ (To click and wait for login after each
combination of usernames and passwords).
Step 10: Select Test command as ‘Loop End’ (To try logging in with various usernames and passwords until the login
is successful).
143