r/softwaretesting • u/Zestyclose_Bus7782 • Jul 10 '26
Beginner QA questions about test case writing conventions
Hi! I have a question about the writing conventions used in test cases.
I started learning manual testing around June/July 2025, using a website with theory and 2-3 months of practice in Google Sheets on various test sites. I also tried a bit of HTML in Visual Studio Code. This month, I bought a Udemy course on manual and automated testing and I'm currently going through it.
I was taught to use in 2025: Imperative for Test Steps, Simple Present for Expected Result, Simple Past for Actual Result. Is this a standard/universal convention, or does it depend on the company? I'm worried what I practiced might not fit later.
I also get confused with Preconditions. I know they're not always needed, but not always sure when to include one. For something simple like login, I skipped writing a Test Scenario and went straight to Test Cases. Is the Test Title basically acting as the scenario there? Is it ok if I keep practicing in Google Sheets like I'm doing now?
I'll attach a few screenshots of test cases I wrote back then (just a small part of it); they're not entirely correct.






3
u/No-Reaction-9364 Jul 10 '26 edited Jul 10 '26
I have never seen someone write an actual result outside of a bug ticket. If your expected result passes, you would just mark the step as passed. The test writing and formatting are going to differ from company to company. You will learn the format on the job. What matters is the content and the flow. If a company is going to test your test writing in an interview, they will most likely give you a feature or set of requirements and ask you how and what you would test. At my company, we used to do this with what we called the Elevator question. Which we just said a hotel hired you to test their new elevator, what would you do?
I am not sure why you are doing HTML unless you just like it. You would be better off learning something like Playwright.
Preconditions can usually be thought of as states you need for your test to run though certain common states (like an admin account existing that would need to exist for almost all tests) don't use preconditions and are assumed. Say you need to do a delete user test. Well, you need a user to exist to be deleted. For manual testing there might be a prerequisite test to create a user that should be run first. For automation it would probably be created in the test setup scripts.
6
u/jrwolf08 Jul 10 '26
I generally think of scenarios as high level buckets that test cases fit into. So a scenario for your example could be Verify the user login functionality, and that would apply to all your test cases.
When I was writing test cases I would start with scenarios and then create test cases off of the scenarios. Mainly because I didn't quite enjoy writing the detailed minutiae of test cases. You clearly do and these are well thought out.
1
u/Zestyclose_Bus7782 Jul 10 '26
Thank you for the explanation and for the kind words, I really appreciate it!
I do like making my tests easy to understand, both for myself and for others. At the beginning I actually stressed a bit about preconditions and other fields related to test cases. I kept worrying about making them different enough so it wouldn't look like I was just copying the same idea over and over, even though that's technically what needed to be written sometimes. Someone told me not to stress about that. But what worries me the most is probably coming up with complex scenarios myself. I've learned that I need to extract the important ideas from a requirement, but I still have to figure out on my own which ones those are, especially when the requirement is more complex.
1
u/Ankita_1222 Jul 12 '26
Bro it differs company to company and looking at those pics you are certainly doing well !
3
u/SipexF Jul 10 '26
I appreciate how clean this is, that each test can be easily understood at a glance, and that I can quickly understand what tests passed or failed.
There is no universal standard so it depends on the company, but I feel like you have the essentials I would look for. My biggest concern with tests is making sure they are easily understandable from a surface reading so folks reviewing your work (including future you) can understand wtf is going on without needing to investigate deeper.
Preconditions really depends on who is executing your tests and will be dependant on company standards too. Your current preconditions assume the tester has some base knowledge about the product which is what I prefer but if you are building tests for teams that need more guidance you might have to actually post specifics.
1
u/[deleted] Jul 11 '26
[removed] — view removed comment