Questions tagged [test-design]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
249 views

IPv4/IPv6 dependency testing

Research from the Software Improvement Group has shown that 1 in every 12 applications behaves incorrectly when confronted with a dual-stack IPv4+IPv6 environment. How does Quality Assurance usually ...
4
votes
3answers
139 views

Have test cases evaluated by everyone in the Scrum team? Including the developers?

I am currently assigned to a new project, on a Scrum team that didn't have a tester integrated before. There are no test cases yet, but the project is more advanced. So I'm busy defining test cases ...
4
votes
5answers
684 views

Should I open the same page in every test?

I'm new to automated testing and asking for your help. As I know every test should have its own steps and if I define several tests in one class, should I open the same page several times in each ...
4
votes
2answers
446 views

Black box testing methods without knowledge

I stumbled upon some black box techniques (1), but I don't really get how it works. I found sources saying that black box techniques are techniques in which you input something in a program and check ...
4
votes
4answers
2k views

Should test cases contain more than one step with expected result (ISO 29119 definition)

There is a big dispute in the software testing world. In general, a test case is a pair of an input and an expected output (or as many books say, it mostly has just a single step: do sth and check it)....
4
votes
3answers
2k views

Repeat/common Test steps in multiple test cases - to do or not to?

I am trying to seek some input on what might be an efficient best practice. I have been told that end-to-end test cases might have certain steps that are being repeated on other test cases. Let's take ...
4
votes
1answer
70 views

How to create input data for unit tests for an API client?

I am building the initial set of unit tests for my team's legacy API client system. We have been writing integration tests, but have no unit tests. It's a Sinatra server that accepts requests from our ...
4
votes
2answers
102 views

How can SDETs improve test script reading & understanding for complicated code bases?

Recently I decided to explore some open source projects. I think it's a good way to learn more that how experienced SDET/Test Architect approach in their design. I found myself a little overwhelmed by ...
4
votes
5answers
2k views

POM Framework Design with Global Elements

New to C#, started learning in order to do test automation using Selenium C# with MS Visual Studio. Currently a manual tester. I've been building a testing framework using TDD and the POM pattern. I'...
4
votes
4answers
201 views

How to create test data/pre-requisites if it is required for only few of test cases of a test class?

I've clubbed feature related tests in one test class. Suppose we've 50 tests in that class. Out of 50, suppose there are 5 test cases which require common test data or pre-requisites. If I create/set ...
4
votes
7answers
9k 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
2answers
408 views

Using a system test framework that handles test dependencies

To explain better, if test B depends on test A, then if test A fails, then test B should not be run and fail implicitly if test A produces some output, then it should be available for test B I can ...
4
votes
3answers
129 views

How do you prevent poorly written acceptance criteria?

One of the biggest problems from my daily work in the team is the acceptance criteria are mostly too unclearly defined. What this means in detail: Stands inquiries, because the PO or a developer has ...
4
votes
1answer
54 views

Use tested class during test setup and assertion? (Errors cancel out each other…)

This is a general question that affects lots of my unit tests as I just recognized: Can I use the class I'm unit testing to perform setups in my test cases? Here's a simplified version of the ...
4
votes
5answers
19k views

How to design test cases for phone number and email input fields?

I'm trying to improve the design of test cases but I came across a different approach from some partners. For example, let's say there's a form to test, this form has 2 fields (phone and email) and a ...
4
votes
4answers
180 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 (...
4
votes
2answers
2k views

How should a Black-box Tester measure Test Coverage?

I work in Product based company as a QA/Test Engineer. For ex:I have been assigned a new project/enhancement that would be delivered to the clients in the next production release. The Business Analyst ...
4
votes
4answers
11k 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 ...
4
votes
3answers
1k views

How to break down a single test case that covers an entire process into multiple interconnected tests?

I have a particular end to end test scenario which am trying to automate using Selenium Webdriver. If I automate the whole scenario into one test case, the test case is going to take a minimum of 25 ...
4
votes
3answers
694 views

Need guidance on how to prepare for an SQA interview

I am scheduled for a technical interview with a company next Wednesday, they provide an electronic payment system for healthcare providers, healthcare clients, and healthcare payers. I am told by the ...
4
votes
3answers
177 views

Should I perform tests during fixture?

I'm automating testing for a fairly complex system involving multiple VMs, routers, and switches. Because of this complexity, the setup/teardowns sometimes fail (a node did not boot up correctly, or ...
4
votes
2answers
360 views

Any good test plan/cycles or experiences without using crowdsourcing?

I'm trying to rethink our test cycle that we use at my company and am wondering if anyone could give any leads, examples, experiences, etc. to how you test without the use of crowdsource data. The ...
4
votes
3answers
158 views

Do I Need To Create Mock Classes For Every Class?

Let's say I have a system composed of three classes: A,B,C that share certain dependencies. To test A independently, I would need to create mock objects for B and C To test B independently, I would ...
4
votes
1answer
45 views

Design test class dependent on current datetime, 24 hours a day, seven days a week

I need to create a test to verify my NewBusinessDateTime.calculate(Integer hoursToAdd) works. The sudo code of what calculate() does is: IF currentDateTime.addHours(hoursToAdd) IS WITHIN BUSINESS ...
4
votes
1answer
92 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 ...
4
votes
3answers
1k views

What are some Problem solving techniques that can be used in testing? [closed]

What are some Problem solving techniques that can be used in testing. For example I need to think of all the test ideas to test a module ..administrator module for instance. How can I improve test ...
4
votes
4answers
1k views

How to ensure Quality of the product with test cases?

The process which we generally follow for quality is: Everytime we receive a Requirement document, we study the same, analyse it, discuss it and then after multiple rounds of the same process it is ...
4
votes
1answer
899 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-...
4
votes
2answers
5k views

Web application GUI automation best practices

Our team develops automation solutions for various web based products. I'd like to compile a list of patterns and best practices from the GUI web automation space that have been used and proven as ...
4
votes
2answers
415 views

XMLs and JMS queue trigger to database - what to test?

I'm testing a system that involves XMLs from a JMS queue getting inserted into a database using a JMS trigger (webmethods). Firstly, I turn off the JMS trigger to let messages accumulate on the ...
4
votes
2answers
191 views

How to structure automated tests for feature with two dashboards?

I'm going to prepare e2e tests for chat app with two customer dashboards. First (written in Angular) is accessible from desktop browsers and second (Ionic) through mobile devices. When customer ...
4
votes
1answer
109 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 ...
4
votes
2answers
1k 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 ...
4
votes
1answer
404 views

Testing techniques for verifying a compiler

As part of a larger project, we are creating (or rather updating an existing) compiler that translates a Domain Specific Language (DSL) into a proprietary bytecode. The bytecode then gets loaded into ...
3
votes
3answers
155 views

How do I test hardware without an existing test plan? [closed]

My manager asked me to test some hardware, but this hardware has been tested by someone previously and they had automated tests. I do not have any test plan, all of the functions of this hardware ...
3
votes
3answers
152 views

What test automation tools and approached to use

When we think of test automation , there are tons of options that comes up and few of them like selenium, UFT , protractor , Cypress etc are popular. So when we takes up test automation ...
3
votes
4answers
4k 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 ...
3
votes
3answers
2k views

How to test the field with different languages?

I have a few pages where we allow the people to enter other language characters like german, dutch, spanish etc.... I want to test the field by using words of different languages to make sure all ...
3
votes
2answers
95 views

Prepare data for groups of test cases

I am going to have a family of test cases that are going to work on a single data set. This data set needs to be loaded into a database as an initial step which is shared between all the test cases. ...
3
votes
3answers
229 views

Is defect driven test automation an good idea?

Defect driven Test automation: Test strategy in place to consider candidates for test automation primarily as earlier found and fixed defects in the application. With the thought process that it will ...
3
votes
6answers
1k 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 ...
3
votes
3answers
230 views

Why testing, by definition, cannot find deadlocks and stack overflows?

Sean M. Beatty says in "Where testing fails" article that "deadlocks, stack overflows, race conditions and timing problems cannot be detected by testing (whether it is code inspection, whide-box ...
3
votes
3answers
6k views

Best practices for organising and naming test cases

I have a Python package which may contain several modules. Of course, I have unit tests, component tests, and functional tests. All of them are in package/module/test directories, most of them are ...
3
votes
2answers
380 views

What are some good thinking tools that a tester can use to generate ideas? [closed]

As a tester I want to generate more out of the box ideas, so that I can test all positive as well as negative test scenarios and find most critical defects before the product is released. Are there ...
3
votes
4answers
1k views

When should a Test Case be marked as “No Apply”?

When executing test cases when should we mark a test case as 'No Apply'. When the test conditions/requirement is not clear or when its not feasible/possible to perm a test. Also why not mark a test ...
3
votes
4answers
285 views

Status of TFS test case after execution when minor errors occured

What's the best status of test case execution when minor error occurs, but the main goal of the test case is fulfilled. Let's consider this test scenario: Test case title: Addition of object Press ...
3
votes
5answers
2k views

When to use White box Testing in a software or a website?

In a software or an website, when to use white box testing technique?
3
votes
2answers
281 views

How do you drive what testcases to write based on a large decision table?

I have constructed a large decision table based on the possible inputs I can have. My question is, how do I determine what test cases to write?
3
votes
3answers
148 views

How to handle bottle necks in agile testing procedures

We have a problem in our development team, the development throughput is much higher than our QA members can test. Our test team found itself in a situation where a new feature needs to be tested ...
3
votes
4answers
138 views

Creation of a test charter within the explorative test? How should it be structured?

According to istqb foundation level, a test charter is the following: "An instruction of test objectives and possible test ideas on how to test. Test charters are often used in explorative testing. ...

1 2 3
4
5
10