There are many factors that decide whether a test is "good" or "bad" (useful or not) - some examples are:
A test is more likely to be good if it surfaces new information about the performance of the software
The happy path tests you do when you're exploring new functionality become much less good once that functionality is stable, but can be ...
Every test has a value and a cost. Its value is its ability to reduce risk. Here are some ways that a test can be valuable:
Impact. Detecting high-impact bugs is more valuable than detecting low-impact bugs, which is more valuable than not detecting any bugs.
Diagnostic value. A test that narrows down the cause of a bug is more ...
Yes, while rather crude and possibly not the most graceful of test cases, such 'abusive' test cases are an important tool in stepping off 'happy path' thinking and testing.
Effectively a test like this is a crude load/response test.
While in theory it shouldn't happen in the real world environment, the fact that a bug was discovered with such abusive ...
Palindromes testing is very representative in terms of QA way of thinking. Moreover, writing tests dramatically increase the quality of task specification. When a QA engineer writes test cases, it well may happen that certain case is not covered in initial specs. This is a good reason for QA to come up with idea to improve those specs.
So, when you are ...
A requirement is typically a general statement, whereas a use case is typically a specific statement implied or derived from the requirement. A requirement may map to multiple use cases. A scenario might be a set of background assumptions that put a use case in context, or it might be grouping of use cases.
Here is a contrived example. The requirement is ...
For the REST service testing Postman and HttpMaster are good tools. It supports dynamic parameters, validation of response data, various data viewers, etc. If you are looking for performing load testing of the REST services than Grinder and JMeter open source tools can be considered.
This data is taken from the post
Tools for REST webservice testing
Telling the interviewer what is less important than telling them why. They asked for the two best cases - not just a list of cases. This means that you need to explain to them why these cases are "better" than the many other cases you could have offered up. It doesn't matter if you give good answers if you cannot also explain why they are good answers.
User acceptance test (UAT) criteria (in agile software development)
are usually created by business customers and expressed in a business
I don't think Field Length Validation has anything to do with User acceptance testing. Maybe the business should write their own tests.
Never the ...
There are at least two (conflicting) ways to think about this:
Whether you provide a default depends on the context. If you provide a default, you should be prepared for people to select it even when it's the wrong selection. This is particularly true for user interfaces that require lots of inputs.
For example, my company's application has an online ...
Many of the preceding answers are directed at testing the behavior of the captcha from a customers POV (enter valid, invalid, etc.). But, if you are testing an actual captcha generator that your dev's wrote then you should go deeper. Also, there is some important information about the captcha generator you're testing that would be important for functional ...
It's really no different than any other test case.
Set up conditions:
Check actual result against the expected result
So you'll need a list of all the error messages in the system and the conditions that make these errors appear
If you want to really test them out then use the FAILURE mnemonic as detailed here.
The short version - It depends
The longer version
There are merits to both approaches. Some general heuristics:
Everything in one document is a priority - if your company believes it is important that testers have all the information they need in the test case document, then they will want business logic in the test cases.
DRY is a priority - if your ...
In my experience, it's down to the tester(s) for the same reason that developers can't test their own work. You can't find your own faults. That said, I don't think it'd hurt for you to test as well... but you need to draw the line somewhere.
QA are independent and, whilst you're working towards the same goal, should have a different approach. ie, you do ...
In our company we believe in "checks and balances", so whole process is a balancing act between following major forces:
business management, who requires major features and sets priorities
business analyst, who understands the customer needs and mental models, writes story requirements
developer, who understands the code, and also writes tests (unit, e2e ...
Think it this way:
Test case = is a set of conditions under which a tester will determine
whether an feature can function as expected.
Test specifications = well defined conditions that will define test
Test procedure = how a test is carried out, what to do for step 1,
step 2 and etc
Test design = how a test is conceived from ...
While studying for the ISTQB exam, I have shrinking down to a more summarised text to help me understand and remember the topics at the exam.
Here's a bit of what I have shared in my blog last year.
Before all that you will need a TEST CONDITION.
What is a test condition?
A: An item or event of a component or system that could be verified by one or more ...
To decide whether you are going to reference other test cases to avoid writing the same sets of steps multiple times, you need to consider:
the audience - If your test cases are written for unskilled manual testers who are expected to execute them without much if any thought, you may be better off with redundancy.
usage - if testers are working ...
It is hard to say what your workflow will be. I've worked a few SDET/QA jobs, and it really seems to vary quite a bit. I'll try to cover some of my experiences, though, and hopefully that will be helpful.
I usually like to start my day with a little bit of blackbox, just to get my brain into motion. I'll spend a little while every morning ...
I had the same issue when migrating tests from a legacy tool to TFS. It was simply not possible, independent of any choices offered by Excel and TFS (really, I tried them all and wrote a 43 page document about my test conversion efforts).
Finally I was able to workaround the issue like this:
In TFS, switch to the grid view
In Excel select all steps and ...
I am working as QA and also to write a test cases of mobile application and web application. In Both Application required in writing the test cases are :
Test case id
Test case(unit to test)
Input test data
Steps to be executed
and for more information see below of reference link in ...
Headless Chrome is not stable yet in comparison to "full" Chrome.
In my opinion there will always be problems with headless vs phantomjs (and others) vs full versions. And so there will always be place for phantomjs (and others) in the world of automated testing.
Consider your choice wisely.
Few possible limitations of Headless Chrome:
Headless mode is ...
Most of the question (and answer) isn't specific to API testing; combinatorial explosion is a problem whenever you have a function that takes multiple inputs.
So, first, you'd need to understand how the API interacts with the backend service. Is it actually doing anything, or is it just passing a call on to some other program? If so, was any testing of ...
If you have specifications that say a confirmation must be displayed, the test fails.
If you have user requirements or user expectations that there will be a confirmation dialog, the test fails.
In the situation you describe, I would create a bug from the test, but it would have a lower severity rating because it doesn't interfere with functionality. The ...
Requirement Traceability matrix maps the user requirements with the test cases. In simple words, the matrix helps in determining if all the requirements have been covered(i.e there are test cases which can be traced back to the requirements).
There are 3 types of RTM:
Backward: Test Cases->Requirements
The question asks whether other test cases can cite smoke testing as a dependency. The answer depends on the purpose of the dependency.
If the purpose is to narrow down what your test cases need to cover, that's fine.
If the purpose is to exploit a side-effect of the smoke test, e.g. to take advantage of configuring the software in a certain way, or ...
When possible it is generally a good idea to break out the different assertions into separate cases even though they will repeat the same setup/teardown. The reason is that when one of the assertions fail you want to know that specifically, with text that describes the test and the specific assertion and if bundled together with other assertions, that may ...
I would say no. Your tests Should be written with an expected true/false criteria. As such a pass says all it needs to say. If there is a "but" or a "only when" then i would suggest you add new tests to cover those scenarios and improve your coverage.
One caveat to this is if you need to add the screenshot to Prove you carried out the test, but that ...
No random person on the Internet can tell you what makes sense for your circumstances at your organization.
Here is a way for you to figure out what makes sense for your circumstances:
Decide on how you measure success.
Choose a policy (dev writes test cases, or QA writes testcases, both write test cases, etc.)
Measure how well your policy works.
You should consider time-boxed exploratory testing and risk-based testing - both approaches have their benefits and compliment each other if you're able to execute them both.
Exploratory testing is an approach to software testing that is concisely described as simultaneous learning, test design and test execution.
Risk-based testing functions as an ...