Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [test-design]

Test Design involves the selection of a set of test techniques appropriate for discovering the information that stakeholders want to learn.

1
vote
1answer
26 views

How to identify a specific location in returned Json through a postman test

When submitting an order to an API we get a Json response containing: "AMLResults": [ { "amlResult": [ { "addresses": [ { ...
13
votes
6answers
3k views

Is inverted test pyramid really anti-pattern?

I know that the inverted test pyramid, i.e., having more end-to-end tests than unit tests is an anti-pattern. However, I've started to think, what could be advantage of having less unit tests then ...
3
votes
1answer
38 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 ...
0
votes
0answers
18 views

What may be the edge cases for testing a feature that is designed to ensure correct delivery of orders via 'OTP/QR code submission'?

We are planning to roll out a feature that sends either an OTP to the end customer at the time of dispatch of an order or implements a QR code to ensure that the order is delivered to the correct ...
5
votes
0answers
62 views

Is there any tool for generating decision table from cause effect graph?

I learned about cause effect graphing and it looks like a valuable test case generating method. The issue is that it's hard to generate the decision table from the graph by hand. So I was wondering if ...
4
votes
0answers
107 views

How would you convince someone that the Page Object Model pattern is important?

I'm looking for canonical answers explaining the importance and advantages of the Page Object Model design pattern, specifically answers that I could point to for people who claim the pattern is ...
1
vote
2answers
47 views

How do I test a ranking system?

Let us assume we have 3 students in a class who have secured the below marks. =============================================== | | Maths | English | Science | Rank | |-------------------------...
1
vote
2answers
26 views

Mocking external endpoints in tests on open source project

I am working on an npm package scraper library. I would like to add integration tests but I am not sure the best way to approach it. I have an examples folder which shows how the scraper works with ...
1
vote
2answers
72 views

What an automation engineer could do to maintain a large test code base?

Background: For an UI automation large codebase having thousands of Selenium tests, which multiple people have developed/updated/patched over a period of few years. There is no documentation/manual ...
4
votes
4answers
100 views

Certify in writing that your software will work flawlessly

A client pays you for a job and on delivery he wants you to assure him in writing that your software will work flawlessly. What if that software is for an airplane;do you deliver it with a notice of '...
5
votes
6answers
193 views

How can 100% test coverage be “not enough to prove working code”?

It is known that 100% test/code coverage does not mean your code "works" as expected. What is generally meant by this statement and what use cases could demonstrate that 100% coverage is not enough?
1
vote
1answer
63 views

Importance of having tests in home test assignments when applying for a new job

I've been a part of the interviewing process for Software Engineering positions (including QA engineers as well) in our team for the past several years and I am still struggling to determine my ...
-1
votes
2answers
80 views

How to pause test execution in testng

I am using testNG, Rest-Assured and Java for API automation. Is there any way to pause the execution for a specific time if any event/exception occurred?
2
votes
2answers
102 views

Should I store my test results in a database or google docs?

I'm currently trying to decide what is the better place to store my test results; database (sql/nosql) or in a spreadsheet placed in google docs. I have the impression that storing it into a database ...
4
votes
1answer
52 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 ...
0
votes
2answers
50 views

Performance-testing according SLA - full page load

There are many tools allowing performence testing with full page load time parameter monitoring. Problem is I can check a page by pasting its URL. Suppose I have a website with 100 pages, some of ...
3
votes
3answers
172 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 ...
4
votes
2answers
57 views

Equal or different test data for higher test levels

It's just a little issue, but one that pops up in my mind regularly when writing test scripts. Imagine you have an application which does some car tax calculation, having a REST service which has a ...
0
votes
2answers
401 views

What is major task in test planning?

A test plan is a record enumerating the destinations, target advertise, inward beta group, and procedures for a particular beta test for a product or equipment item. The arrangement commonly contains ...
0
votes
2answers
95 views

How to structure the test suite in test management tool

Im using Testlink as our test management tool. We are using in agile environment How to structure our test cases as test suite in our test management tool. Also how to maintain the tracerbility We ...
3
votes
4answers
1k views

Test strategy and Test scenarios for data-migration testing

We are converting one of our standalone windows application to a web application, Once this is completed we need need to do a data migration . How to prepare test strategy for this ? What are the ...
0
votes
1answer
108 views

Has anyone written automated tests for Looker?

We are starting a reporting project that integrates Looker and Snowflake to gather data from multiple micro services. We were wondering if anyone is doing something similar and how do / did you create ...
1
vote
0answers
21 views

Sync data and conflict resolve module testing

We have an application which track the animal data in various locations called stations. Even without internet they user can save the data to local machine. Once those data save in the local pc they ...
12
votes
3answers
1k views

Test strategy to bring automated tests from UI to lower(API/Unit) layers?

Background/Problem Statement: Recently I came across a project team, which is having thousands of UI automated tests covering all kind of manual tests including positive, negative etc., and obviously ...
3
votes
2answers
119 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 ...
0
votes
2answers
52 views

What may be the edge cases for testing a 'Payment link in SMS' feature?

We are testing a new feature that is about to get released in a few days and most of the testing has been done by the team. The feature in essence is about payment link being sent in SMS to end ...
3
votes
3answers
75 views

What are the testing practices in Financial Services

I'm currently working on a new financial services software and wanted to know what is the current testing practices in the financial services. Would love to hear any thoughts/insights regarding the ...
0
votes
1answer
30 views

How to test a class that wraps methods connect to a remote database

I wrote a class creating connection to a remote database, query and do some more actions on that. Which is the best way/ strategy to test that kind of class? I tried to mock third party functions ...
3
votes
4answers
110 views

How to evaluate a candidate skills for purely manual testing [duplicate]

Is there any well-defined process to be followed in evaluating a candidate for manual testing?
0
votes
0answers
39 views

Can I keep the Groovy power assert and still have a custom message printed?

I use Katalon Studio for my test automation. It comes with an in-built script editor (Groovy). So, I can use Groovy's power assert that gives me a nice and detailed output message when the assert ...
0
votes
2answers
48 views

Alternative to browsershots.org for taking screenshots on multiple browsers on different platforms?

I'm working on a project where I have to test a javascript library's compatibility on mobile platforms in different browsers on the most recent versions of different mobile browsers. I have been long ...
4
votes
5answers
4k 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 ...
0
votes
1answer
499 views

Test cases for a weather widget

In one of my recent interviews, there was a question: Write the functional and non-functional test cases for a weather app / widget. Note: Test coverage is important than numbers. I wrote the ...
3
votes
3answers
106 views

How should Software Testers improve the process of Requirements Analysis?

Whenever, i am working on my task of Analyzing the functional specification or requirements documents of any new Feature, enhancement or Defect fixes, I just go through what is clearly evident in the ...
0
votes
1answer
146 views

Different Scenarios for two elevators programmed to different floors

Assume there are two elevators programmed for stopping in odd and even floors. i) What kind of test we need to do to ensure that the elevators working fine without any hassle. ii) What are the ...
1
vote
3answers
111 views

How do you design UI automated tests to pick alternative steps randomly in a flow?

Background: In cases(mainly in End to End UI tests), where a number of test paths(selection of alternative test steps) can be huge due to combinations however expected results are same and few. In ...
2
votes
1answer
76 views

What is the typical test automation scenario where decorator Design Pattern can be applied?

What is the typical automation scenario where decorator design pattern can be applied in UI test automation ? Please share your practical experiences with small code examples to help us fellow QA ...
4
votes
5answers
672 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'...
0
votes
4answers
3k views

How to Incorporate the Defunct PageFactory in Selenium with C#?

I just discovered the page object design pattern recently and really wanted to implement it into my company's UI Test Automation suite. I started to do so and immediately ran into problems which lead ...
6
votes
1answer
244 views

What is difference between Test Design & Test Architecture?

Could anyone explain the difference between Test Design and Test Architecture? More specifically; if you tell someone to present Test Design - what would you expect them to present? Same goes for ...
3
votes
1answer
740 views

Test flakiness in Katalon Studio

I'm having a problem but I'm not sure what is the cause. When I run a test case that includes an iframe object, on the first run Katalon is finding the iframe but unable to click an object inside of ...
0
votes
2answers
134 views

What level of Selenium Webdriver Automation Frameworks are being used by experts in the Software Industry [closed]

I have started learning selenium webdriver using java to increase my skill set as a blackbox tester. I have been practicing a lot about JUnit, Test NG, Page object model etc. However, I am not ...
4
votes
2answers
918 views

How to test a video call

I have an Android app that allows to make video calls and I need to test the quality of the video and if both video streamings match correctly. How would you test it, in an automatic proccess? I ...
3
votes
6answers
414 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 ...
1
vote
3answers
92 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?
2
votes
2answers
65 views

Testing a component with selenium before it has been added to multiple products, how do I achieve reuseability?

Scenario: I have a repository that contains a component which is reused across multiple different projects. The component in question is a image viewer component. 3 Products will use this image ...
3
votes
1answer
173 views

Testing Strategy: Modular Test Cases

Currently, my company follows a modular test case approach, in the context of business workflow tests. In this approach, we have a lot of component-level test cases, that, by themselves, are not part ...
3
votes
2answers
194 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 ...
6
votes
4answers
236 views

How do you know when to stop testing?

Background: While manually testing an application in scenarios, where an application has complex functionality features, supporting multiple platforms(Web/mobile/Web APIs)/versions(OS Versions) where ...
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 ...