Microsoft Interview Question
Software Engineer in TestsAren't all these test cases? Good ones but still I guess test plan should be different, formal..?
First thing is we have to define the terms
'string' does it mean just alphabets or includes characters and numerical, unicode, binary. its accepted length(there should be a limit)
'search' do we have to find the first occurrence first, or relative first occurrence first, all the occurrences highlighted, keeping search moves to next location.
Now, should we include wildcards, regular expressions, advanced regular expressions
Then what is the behavior in the positive case(highlight), in the negative case(beep), after passing the last result(beep), should it start from bottom to top again or just halt(typical).
(kind of bs.. I know, but to beef up the answer and to look rigorous)
Now device test cases(categories), organize them- positive cases, negative cases, equivalence classes, what can be automated, what need not and cannot be automated, against what specifications(max file size, max string size, max response time when found, when not found, response wrt to file size,language (english, french..), unicode, number of searches supported per min).
Now my aim is to prove that the search functionality does not meet the specifications mentioned above, that's how I will structure my test cases.
For testing notepad
Functional Testing:
1.Check menu operation works
2.Verify find functionality with valid string
3.Verify find functionality with invalid string
4Verify the string has to be searched starts using alphabets.
Performance testing
1.If notepad contains large volume of data searching consumes more time or not
2.verify search box hold large values
For testing notepad
Functional Testing:
1.Check menu operation works
2.Verify find functionality with valid string
3.Verify find functionality with invalid string
4Verify the string has to be searched starts using alphabets.
Performance testing
1.If notepad contains large volume of data searching consumes more time or not
2.verify search box hold large values
1] valid parameters => accepted else gives error
- p1 November 01, 20082] searched valid text .
3] search next functionality
4] wild card searches
5] simultaneous 2 search windows opening ?
6] search up , search down functionalities
7] refined search criteria's..
any more ?