Questions tagged [test-design]

Use for questions about designing tests, specifically selecting test techniques to use in specific circumstances.

3
votes
6answers
597 views

How is enough to automate validation of a form (negative test cases)

Let's say, I have a form has 4 fields (all mandatory with validation messages): Name, EMail, Address, Phone. And a Submit button. Let's assume I have some test cases as below: TC1: All fields empty ...
11
votes
4answers
34k views

Difference between requirement, use case, and scenario?

I've taken a class on software testing best practices and test design. In the content, they have a model that basically shows that the three items are derived in this way: Requirements > Use case &...
1
vote
3answers
95 views

Is there any standard formats available for test cases other than table?

I've written some test cases, but the only thing I know is the format of a table (with the expected results, actual results, pass/fail etc). Is there any standard formats available for test cases?
12
votes
6answers
2k views

Whose responsibility is it to design test cases?

The question: Is it the developer's responsibility to design test cases, or the QA tester's? Or is it someone else's? I am a software engineer at a small company in the United States. We have an ...
3
votes
2answers
201 views

How to Demo Automated Tests

I automate tests based on test plans written by manual testers. I would like to "demo" the automated tests to the authors of the manual test plans to ensure that I've implemented the test correctly ...
3
votes
7answers
29k views

Test data to test form input fields?

I am testing web based user profiles forms which have multiple fields like input box, radio buttons, checkboxes, combo-boxes, alphanumeric fields etc. what are some good tests that I can run to find ...
1
vote
2answers
29 views

Which Design pattern(s) can I apply to robustly instantiate new users in the system from a test automation perspective

Consider a user Account that contains the following members: Username Password Account Type (User/Admin) Security Question (Option of 5 choices) Security Answer A handful of booleans for various ...
4
votes
2answers
1k views

How do we as testers best approach API test cases without entering the realm of insanity?

I'm looking for some clarity on how to approach API testing holistically, I have a project to automate a Restful web service, containing 2 controllers(foo & bar) with a collective sum of around ~...
4
votes
1answer
79 views

Tips to setup a high performance software testing lab?

Every field people set up some kind of the labs like developer setup some developers lab, Penetration tester setup penetration testing lab with the different environment so I want the tips to set up a ...
3
votes
2answers
96 views

Will automated testing tools make testing easier?

It depends on the Project size. For small projects, the time needed to learn and implement them may not be worth it unless personnel are already familiar with the tools. For larger projects, or on-...
12
votes
5answers
2k views

Test for unknown issues

We have been developing wifi/2g boards that communicate to a server and store data. This project has been running for several years already, and we are constantly updating both boards' firmware and ...
3
votes
4answers
3k views

What to call a matrix with all possible combinations?

For example: The application show a list of results. Now we have a new feature: The list can be filtered. The user can use a search input field and a date range to filter the results. To cover all ...
6
votes
1answer
99 views

How do computer virus writers test their viruses?

This is my curiosity based question, neither I am a virus writer nor trying to learn how to be, I just can't imagine these people destroy dozens of computers for each virus as per my understanding ...
4
votes
4answers
176 views

How to verify software when no pre-verified input and the corresponding output are given?

Let's say I have a piece of software that takes X as input (information about a vehicle), processes it and then returns Y as output (valid transfers at the next stop). The way X is processed is known (...
3
votes
1answer
68 views

Anyone aware of a browser where HTTPS can be disabled entirely for negative testing?

I'm looking for a way to have a negative test result on a site requiring HTTPS that has a http->https redirect. I already have steps showing the redirect, and I can use the --ssl-version-max=ssl3 flag ...
5
votes
1answer
128 views

How to identify and justify how many test cases is enough when you have a potentially huge number of combinations?

I'm working on a form builder project. Users can drag and drop elements to build questionnaires. If we simplify and say there is only 3 form elements that can be used: Numeric answer, with ...
23
votes
7answers
4k views

What should a Software Tester do to become more valuable and helpful for the Development Team?

When I write detailed defect descriptions or bug reports, then my team's Development manager feels satisfied. What are few things a blackbox tester can do to help the Developers become more productive ...
1
vote
3answers
220 views

Test Plan/Strategy scenario

New here. i have this scenario right here as im applying for my first intern position. i really don't understand what to do here. should i make a testplan document etc? Problem: 1) You're given the ...
6
votes
2answers
527 views

Is there a name for this (automated random input) technique? And are there any existing tools for using it?

This came up while talking to another developer. He recalled some product that was in development like 15 years ago (but didn't remember the name or details, or whether it went to production) that ...
2
votes
4answers
68 views

Should I test multiple paths to a webpage in this case?

Here is an example. Say you are testing an ebook reader web app. The app lets users highlight text, add notes to highlighted text, view all their highlights & notes in the book, search for ...
3
votes
4answers
158 views

How to develop and review test cases?

This is how our test case development process looks like. A tester writes a test case in a spreadsheet, with each test step and expected result. Then, another tester reviews the test case and approves ...
6
votes
2answers
334 views

Boundary Value Analysis: Why would you test valid values inside the boundary?

I can't understand why to use two values inside the boundary when using Boundary Value Analysis. For instance, suppose a program has the requirement: Values between 1 and 100 are true, while all other ...
4
votes
2answers
871 views

Selenium / Java: how to handle test case execution on a flaky network connection?

What is the best strategy to handle test case execution when there is a possibility of losing network connectivity during execution? In my case, I have to run 300 test cases which usually take around ...
3
votes
1answer
535 views

Which is the better way for data-driven testing for Specflow automated tests?

I'm working with a project and I'm planning to use Specflow and Selenium C#. I'm new with using Specflow (SpecFlow is the open source port of Cucumber for .NET) for automation and I'm going to use it ...
2
votes
4answers
2k views

How to write test case for multiple roles?

How should I create test cases for complex system that provide usage for multiple roles such: super admin, admin, customer service etc. The capabilities such: create, read, delete and update for ...
1
vote
2answers
46 views

Proper button names for warning popups

In our application, we show warning popup about unsaved data and that popup contains following message with two buttons OK and Cancel You've unsaved data. Do you want to continue? If we look at the ...
6
votes
2answers
179 views

Is dependency injection suitable for TDD?

I used dependency injection in some projects but I didn't fully understand why. I think it is partly to facilitate TDD - if we use dependency injection then many dependencies of the software can be ...
8
votes
5answers
28k views

How can I test a user story? Examples please?

I'm a new QA tester in a company in an Agile environment. During the sprint commit I was told that one of my tasks was going to be testing user stories. How exactly do you test something like that? If ...
2
votes
1answer
138 views

Is there a dancing pony on the screen? (Visual testing)

Motivated by this talk about the accidental unexpected pony dancing on the screen. We currently have a rather rich subset of end-to-end tests for our AngularJS applications. And, we do get a lot of ...
5
votes
3answers
299 views

How important is doing QA considered today (2017)?

I'm doing QA since a while now and I am content with my job. However one thing I'm not so sure about is the value of being QA. The reason why I am asking this is because I see far more developers ...
5
votes
4answers
1k views

How to choose page object design & structure

We had a discussion between several automation engineers on page object design, specifically about how many layers it should have and what are the responsibilities of the layers. I hope you guys could ...
15
votes
4answers
281 views

What techniques are available to determine which browsers to test?

When websites being deployed to the internet are about to go live, the age old question always comes up. "Which browsers should I test?" I am not asking that question because it will soon become ...
7
votes
7answers
2k views

How to avoid duplicated bug reports, described from different user perspective?

We get a lot of bug reports that ends up as the same bug, but are described through the eyes of a different user. For example one can see a device has crashed, the other sees communications loss and ...
3
votes
1answer
111 views

Supervised machine learning in a “one-time-test” classification problem

Being inspired by the question "Good practices for identifying "one-time" tests?" I decided to make a proof of concept for the idea of applying supervised machine learning algorithms to a ...
0
votes
3answers
474 views

Where can I find examples of software development and testing documentation? [closed]

I am looking for real-life working examples of documentation of a software development project (including testing). According to some standard, there are a couple of documents involved in software ...
19
votes
9answers
3k views

Should application and automated test languages match?

If an application is written in a certain language, e.g. Python, Ruby, Clojure, etc. should Quality Engineers use the same language to write the tests? Should this be a decision that we can apply ...
4
votes
4answers
292 views

Defending corner cases

Sometimes, we find specific corner cases that cause a failure in our application - for example, broken relationships between the main entities in our application that are not properly handled (that ...
0
votes
1answer
50 views

How to test our web app on an iMac if we don't have one?

We are a software development company that is building a new web application. Part of our responsiveness test, we need to check how it would look like on iMac 21.5" and iMac 27". Problem is, we don't ...
3
votes
1answer
103 views

How should I create test cases for things that should not be present?

How should I create a test case, or what should the test case be, when the scenario is for a function that shouldn't be in the system? I'm creating test cases based on the FSD (Functional ...
4
votes
1answer
65 views

Do we need to do cross browser testing for minor text changes in blackbox testing?

Background: When a new user opens our web page for the first time, we show them how to use the webpage. For each control they need to use, we display a popup next to the control to tell them how to ...
1
vote
2answers
532 views

How can I organize my Specflow test cases?

I'm working with a project and I'm planning to use Specflow and Selenium C#. I'm new with using Specflow (SpecFlow is the open source port of Cucumber for .NET) for automation and I'm going to use it ...
4
votes
1answer
620 views

Should I use markdown as a test case format?

For anyone who has experience with using markdown to write test cases would you recommend it for test cases? I am specifically thinking instead of the HPQC step - expected - actual style, or given-...
1
vote
1answer
486 views

I need some Invalid Test Data for Negative Testing [closed]

I need some valid/invalid test data to test the following: I am testing a web-based financial application written in .NET technologies. It has a SQL Server back-end. I am testing the UI/Functionality ...
1
vote
1answer
88 views

Software Reliability Testing

I am developing a Q&A web application and have implemented an expert recommendation algorithm to recommend experts based on the posted questions. How do I test the reliability of the algorithm? ...
3
votes
1answer
315 views

Test input and expected output with Unity

I'm trying to automate some tests with Unity. For example, I have a C program that works like a very basic calculator with operations such as division, etc. I would like to automate the test ...
4
votes
4answers
99 views

How do I make my test suite keep running when one test fails?

I have a suite of automated test cases, around 50 in total. When one of my tests fails, an exception is caught and an error message is displayed. However, since all test cases are executed ...
5
votes
1answer
6k views

How to ensure 100% coverage of requirements in test cases?

How do I ensure that my test cases covers every aspect of the requirements? For example I had written test cases for the login page with all possible combinations I can think of and submitted for ...
4
votes
7answers
4k views

Test cases to test 'name without special characters'

In our product, we're implementing something like - "video asset name is not allowed with special characters". There are many special characters. In order to test or automate this, if I try to create ...
4
votes
4answers
6k views

How to test session timeout for website?

We have a website that automatically logs the user out if they have been idle for an hour, saying Session has timed out for security purposes. Can this kind of test be automated? If automated through ...
0
votes
5answers
5k views

Suitable Automated Testing tools for POS Systems

This is not duplicate of following question since it was accepted by the asked person with a different answer Automating tests in EPOS systems We are developing a Big POS System with several Desktop,...