New answers tagged

0

Methods are isolated blocks of code, with one entry point and many exit points. If, e.g. on node #11 you had: type = 2; foo(type); you would draw an arrow from #11 to a special node that represents foo(). The exit of this special node would point to #16. If the reader of your diagram wants to understand what is inside foo(), he/she can look at another ...


0

When it comes to ORMs or really anything I am using to model behavior, I aim to create models that are going to protect the system I am writing tests for the most. This usually means I am modeling whatever backend database or document storage system the software is using. Why? Regardless of what a user can do or an API is written to do most backend systems ...


0

There is no hard and fast rule for assigning steps for a particular test case. I believe it depends on the product functionality as well as the engineer's approach to QA validation. To quote an example: We want to test checkout feature on a website One approach is to: Create a single test case for verifying 'Purchase of a product'from the website and, that ...


5

You're definitely on the right track here. I would start by collecting actual requests and responses generated by the live system, then anonymize as needed. These would be the seeds of your tests, since they would have the correct format. They should be available in your application logs, although you may have to do this by using the web application to make ...


3

Test cases are a documentation - a way of communicating an idea. Textual limits in communication only occur in specific situations, such as the physical limit of a newspaper or the arbirtrary number of words in an essay. In software testing there are no such constraints. The important aspect of any documentation is to communicate its message well. ...


8

Using the word allowed suggests there is or should be a fixed rule. I think what you are looking for might be a guideline. The guidline would depend on factors like the context, the domain complexity, the risks, the level of skill of the people that execute the test-cases, etc.. I would suggest that you start with a max of 10 steps. Once you go over it you ...


5

No. of test steps does not matter but few things matter which can make test cases highly effective: Single Test Goal: Every test should be focused on testing a single requirement only which can be directly mapped to acceptance criteria of the story. Clarity: Every step in a test case should be clear enough so that anybody in the team can follow it. No ...


4

Test steps are written to log the paths to test or reproduce the bug. There is no such recommendation that test steps can't be more than 6. No of test steps varies based on test cases and test scenario. If the scenario is complex and tough to understand, then so many test steps will be required. Test steps should be simple and specific so that another tester/...


20

4500. That's my estimate. Some say 6750, others 500, others yet wouldn't go over one million steps per case. Jokes aside, there is no fixed number nor there is someone who would set the limit. It is pretty vague anyway what is a single step case. For example, you could write a test case in this way: Login to the app Add 2 items to cart Confirm 2 items are ...


0

Test cases creation is done in every software testing company for this type of scenario. Below are few cases : TextBox: Verify mandatory fields by providing values and leaving it blank. Verify non-mandatory fields Verify the maximum and minimum character limit Verify XSS validation to handle javascript scenarios Enter the value as blank spaces on mandatory ...


Top 50 recent answers are included