Text Field Validations
Submitted by: AdministratorNeed to validate text fields against
1. Null
2. Not Null.
3. whether it allows any Special Characters.
4. whether it allows numeric contents.
5. Maximum length of the field etc.
1) From the requirements find out what the behaviour of the text field in question should be. Things you need to know are :
what should happen if field left blank
what special characters are allowed
is it an alpha, nemeric or alphanumeric field etc.etc.
2) Write manual tests for doing what you want. This will create a structure to form the basis of your WR tests.
3) now create your WR scripts. I suggest that you use data driven tests and use Excel spreadsheets for your inputs instead of having user input. For example the following structure will test whether the text field will accept special characters :
Submitted by: Administrator
1. Null
2. Not Null.
3. whether it allows any Special Characters.
4. whether it allows numeric contents.
5. Maximum length of the field etc.
1) From the requirements find out what the behaviour of the text field in question should be. Things you need to know are :
what should happen if field left blank
what special characters are allowed
is it an alpha, nemeric or alphanumeric field etc.etc.
2) Write manual tests for doing what you want. This will create a structure to form the basis of your WR tests.
3) now create your WR scripts. I suggest that you use data driven tests and use Excel spreadsheets for your inputs instead of having user input. For example the following structure will test whether the text field will accept special characters :
Submitted by: Administrator
Read Online WinRunner Job Interview Questions And Answers
Top WinRunner Questions
☺ | How do you handle unexpected events and errors? |
☺ | How do you handle TSL exceptions? |
☺ | What do you verify with the database check point custom and what command it generates, explain syntax? |
☺ | How to have winrunner insert yesterdays date into a field in the application? |
☺ | What information is contained in the checklist file and in which file expected results are stored? |
Top Testing Categories
☺ | Manual Testing Interview Questions. |
☺ | Rational TestSuite Interview Questions. |
☺ | QTP Interview Questions. |
☺ | Database Testing Interview Questions. |
☺ | Software QA Interview Questions. |