Test Strategy for testing the multiple character set support and troubleshoot the char/s that is responsible for failure: Suppose we are testing an API say 'createuser'. And username can contain any supported character with max length of 64 characters, then design ur test input as below:
1 username with 64 characters
1.1 first half of username from test 1.
1.1.1 first half of test 1.1
1.1.1.1
...till username contain 1 character
1.1.2.1
...till username contain 1 character
1.2 second half of username
1.2.1 first half of test 1.2
...
1.2.2 second half of test 1.2
...
2 username with the characters that are not present in test input1 // number of characters that need to be supported are more than 64.
2.1 first half of test 2.1
...
where 1, 1.1, 1.1.1 etc are test case ids.
In your test automation do the following steps: Read the input file.
Call the create user API with input from test1.
If the above step is pass (ie., create user with 64 char length is pass)
then move to test case 2. (no need to execute 1.1 etc.)
else {
execute testid 1.1.
if testid1.1 pass then move to test id 1.2
else execute testid 1.1.1
...
}
In this approach u can minimize the tests that need to be executed if there are no issues in the product.
The number of tests that needs to be executed will be dependent on the stability of the product.
With this approach you can troubleshoot the char that is responsible for failure if any. i.e,
In this approach troubleshooting is done thru automation to save manual effort. What do you think?
To see other answers submitted to the Answer Wiki
View Answer History.