www.SoftwareTestingHelp.com
PAGE 39
Software Testing Career Package
© 2015
By Software Testing Help
For maximum test coverage you should refer all available requirement documents, tech designs, wire
frames, and HTML page mockups. Most of these documents are available while development is in
process. You should also capture the requirements discussed in design meetings and cover these
requirements in test cases.
How to minimize test case writing and execution time?
Sometime you may notice that writing and executing test cases is taking too much time than
required. Test cases writing time can be minimized by following the following techniques:
●
Use standard test case templates to write all test cases
●
Understand the requirements clearly before starting to write test cases.
●
Follow the approach of writing test cases based on testing type sequence. E.g. start writing
functional test cases first and then move on to UI, Compatibility, Security and so on.
●
If you are not using any test management tool then use MS Excel spreadsheet to write test
cases. MS Excel functionalities are so powerful that you can write many
similar test cases in
very less time. E.g. To write test cases for a long form with many fields,
most of these test
cases are repetitive with just the field name changed. You can use spreadsheet functions to
write these test cases within few minutes. You can even import these test cases if you start
usin
g test a age e t tool. I ll suggest sta ti g to use it as soo as possi le.
●
For writing test cases for various permutations and combinations first use truth table formats
and then describe the test cases.
●
Use flow diagrams while writing test cases. This will ensure maximum test coverage. Also you
will be able to write test cases faster covering all use cases.
●
Group your test cases based on application pages/screens or use cases.
Both approaches are
useful and easy for maintaining test cases.
Test execution time depends on whether you are automating or executing those manually. Manual
test execution time varies on complexity of test cases and it has nothing to do with time required to
write the test cases. A test case may be written in one minute but it may take hours or even
days to
execute the same.
Execution time can also be saved by other techniques like using browser auto-fill feature for web
based applications. Using this feature webpage data can be filled in one mouse click thus eliminating
the need to enter data each time you run a test. Also you may consider executing tests in sequence
so that all test cases related to one page (excluding integration and end to end tests) will be executed
before moving on to the next page.
Do'stlaringiz bilan baham: