What are some different styles of writing test cases? [closed]

Course Queries Syllabus Queries 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

For instance, i have to make test cases for a Login Page. I see that all testers have their own style of creating test cases.. they use different words and different sentences. what are some unique words which a testers can use to make test case look more formal. for instance:

  1. Open the url "google.com" in your browser... one can write Navigate to google.com.

Please share some unique styles of designing cases.

profilepic.png
manpreet 2 years ago


Personally, I find the style of writing a test case is irrelevant as long as the essential information for it is there:

  • Who will be performing the test - the level of detail I use will be different for a test that's being performed by an experienced tester than for one that I expect a novice tester to perform. I'll give more guidelines to a novice and use more shorthand for an experienced tester.
  • What the test needs to do - again, the level of detail will vary.
  • What the result should be. This is usually not something I describe in painstaking detail because my test cases tend to be more guidelines for exploration than step-by-step "click this button" type things.
  • When the test should be performed - including any prerequisites for the specific test. The nature of software development means I'll often use a single sequence of actions to verify multiple things at once.
  • Where in the application and in the test environment the test is being performed - including the need to use a hardware lab, the need to access the application via the Internet rather than from a locally hosted instance and so forth. I've tested in situations where all of these factors are involved.
  • Why the test is being performed - this could be as simple as there being a requirement that the software does X, therefore I have to test that the software does X. It could also be a lot more complex and based around what I know of the application user base (is this feature only accessible to specific users who will always be trained, or is it open to the general public?)
  • How the test needs to be performed - mostly this is implicit, but there are times when it's necessary to specify that the test needs to be done with keyboard entry or via touch-screen or... You get the idea.

All these factors go into what I write in a test case, which is usually in the form of stripped down notes.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.