Questions tagged [testcase]

A description of one or more actions with the expected outcome, used to determine whether a system operates correctly.

Filter by
Sorted by
Tagged with
31
votes
15answers
12k views

What's the difference between a good test and a bad test?

Please don't burn me for this simple question. I know, it may be very simple but for me it's complicated. "A Good Test" or "A Bad Test" - every tester comes across these two terms. Sometimes it ...
17
votes
4answers
2k views

Is refreshing multiple times a test case for web applications?

I have been faced with a QA test case where refreshing a page multiple times almost instantly (6x, 7x, 8x) creates a bug. This is totally random and every time the number of refreshes require to ...
16
votes
8answers
50k 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 &...
12
votes
6answers
4k 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 ...
9
votes
5answers
1k views

How is test case design different for GUI & API?

Is there really any difference in designing test cases for the API and the GUI for any product? I am writing functional GUI test cases (CRUD feature) for my application. Can I use the same test cases ...
9
votes
3answers
3k views

What are the limitations of chrome headless browser?

We have written bunch of test cases for code coverage using jasmine javascript. First of all, we are using phantom JS to run the test cases. While test case counts are persistently increased test ...
8
votes
3answers
1k views

How to write this test case?

I have never worked as a QA but have some interest in the field and I received a task for an entry position which requires me to write a test case to fulfil this requirement (it's a messaging service):...
8
votes
3answers
12k views

How do I connect an issue on JIRA to a test case on Testlink?

I have successfully integrated between JIRA and Testlink. I haven't found yet how to connect from one issue on JIRA to its test case on Testlink. How can I connect JIRA issues with Testlink test ...
8
votes
4answers
3k views

TestLink: How to copy test cases from one Testsuite to another Testsuite in Same Testplan

I have a testsuite A in which I have 6 test cases, and I want to copy it to testsuite B in the same Test Plan TS_1 in Same project 'X'. First I Exported the test cases in XML format and then tried to ...
7
votes
3answers
20k views

What are the test cases or test scenarios for palindrome

In the interview, the employer asked me to write test cases or test scenarios to check the Palindrome of the word. I said one with positive test case and another with negative test cases. But employer ...
7
votes
6answers
20k views

How can I test Web service without any automation tool and only using manual

I am a manual tester and my responsibility is the web, mobile application testing in which I need to test a web service but I have not used any automation tools yet. Please suggest me a manual way to ...
7
votes
9answers
2k views

Test cases in source code

Will it be a good practice to have test cases stored along with the source code in a file or within the source code comments itself? Few months back, I met a programmer from a big corporation who ...
7
votes
3answers
1k views

How can we reduce Test Cycle time using manual test execution?

I'm working on a project where we will not use test automation in this starting stage, at least not until first stable build is released. As we are executing test cases manually, I need your help and ...
6
votes
12answers
109k views

Positive and negative test cases for login page

One of the interviewer asked the below question: Tell me the best positive and negative test cases for Login page. Can anyone provide me with the best answer?
6
votes
4answers
2k views

Field Length Validation for Desktop Application which has maximum 1000 characters

The character limit we are updating each field to will differ based on the information they are capturing. As a couple of examples, Company Name will be updated from 630 characters to 1000, and ...
6
votes
3answers
14k views

Difference between Test case, Test specification, Test procedure and Test design?

I have researched this question on the web, but still don't understand the difference clearly. please help! thanks.
6
votes
4answers
12k views

How to write proper Test Case steps?

I am beginner in writing test cases. I am working on a live mobile testing project. Consider a test case to login to a Mobile application: Test case Description: To verify that user is able ...
6
votes
4answers
220 views

What is the Best Way to Manage Test Automation?

At our company we have multiple test automators and they all are using different tools to test their applications (mostly APIs and a web app). The problem I see with this is that: Creates silos, hard ...
6
votes
5answers
2k views

Writing test cases for a test with repetitive test steps

I have a task where I need to test payment through different payment methods (31 methods). What is the best practice in writing test cases with repetitive test steps? Should I just use "Repeat steps 1-...
6
votes
5answers
306 views

New to QA, what is this test technique called?

Entry level QA. Have a question. I was tasked today to compare old tests to our current build and compose a document containing all of the differences between what the test steps expected result ...
6
votes
2answers
2k 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 ~...
6
votes
2answers
273 views

How can a Tester use Heuristics effectively to generate good test ideas?

I have tried to use Test design Heuristics to guide my strategy for test design. For instance, during exploratory test session, I use different tours like file tour, menu tours. Can you give real-...
6
votes
1answer
1k views

Why Phantomjs got crashed while running more test cases?

I have written 751 test cases in Jasmine JavaScript. 116 test cases for Mobile View and 645 test cases on Desktop view. While executing test cases, most of the times, test case execution was not ...
6
votes
4answers
5k views

Equivalence Partitioning for Name field

Equivalence Partitioning for Name field: Requirement says the Name field shall: Accept alpha numeric characters and special characters `!@#$%&* Minimum 4 characters Maximum 40 characters First ...
5
votes
5answers
14k views

How to write a test case for CAPTCHA code

In our project we have a user to sign on after filling the CAPTCHA code. Right now it's working fine and I am a beginner to this field. I am confused how to write a test case for the CAPTCHA code
5
votes
4answers
367 views

Divide Test Cases across multiple Testers

I am writing test cases whereby the basic steps are similar to this: Create a record in system A Check if corresponding record is created in system B Check if corresponding record is created in ...
5
votes
4answers
23k views

Importing Test cases from Excel to TFS

I need to import test cases from Excel to TFS 2013. For this I have already gone through the link SQA and VSTS, but my issue is not getting resolved from these links. I can't use 'Test Case Migrator ...
5
votes
5answers
1k views

What are the different things to capture in a test case?

In our Project we have a test case based on Rational Test Manager (RUP Process). This test case includes: description, preconditions, steps expected results for each step and finally a notes ...
5
votes
4answers
2k views

Should a single test execution with multiple validations be separated into multiple test cases?

Should a single use case with multiple validations be separated into multiple test cases? For example, let's say the use case is a customer updates their user name. This name change will be visible in ...
5
votes
2answers
216 views

Can a smoke test be a pre-condition and assumption for a test case?

Before actually starting testing we do smoke testing and after that we start the actual testing. Can we take the results of the smoke testing session as pre-condition and assumption while writing test ...
5
votes
3answers
702 views

What's the difference between a test scenario and test case?

After years of not writing tests, I'm going back to basics. Can someone give me examples of the relationship between test scenarios and test cases? My understanding to date is, test scenarios are ...
5
votes
3answers
20k views

Selenium + FF : How to fix error, Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms?

My script is not running even by using selenium 2.53.1 and firefox 47.0.1. Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. is the error returned. The script that was tried is, ...
5
votes
1answer
291 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 ...
5
votes
3answers
755 views

How to isolate test cases from each other?

Our system under test is a GUI application. It appears beneficial to have test cases isolated, i.e. their execution does not depend on each other. For example, a later test case should not rely on ...
5
votes
1answer
763 views

Best practices for automating manual test cases in TestRail

Note, this is specific to TestRail but some questions could be considered generic issues: I have worked for a couple companies that have gone through the implementation of automation into TestRail. ...
5
votes
1answer
104 views

How to test code, that depends on file system errors?

I am developing a lib for a Linux project that stores files using boost::serialization. Because the files might be very large (1-50 GiB) and the program might fail writing them at some point (we are ...
5
votes
1answer
1k views

How to find and remove duplicate records in QC ALM?

I have 1,150 test cases in my QC ALM and in Excel spreadsheet I have 1,075 test cases. There are 75 test cases which are duplicate in QC ALM and I need to remove them so that it matches the Excel test ...
4
votes
4answers
895 views

Is it reasonable to refer another test case within a test case

To avoid creating unnecessary/redundant steps within a test case, is it reasonable to mention or reference another test case to avoid redundancy?
4
votes
1answer
1k views

Should test cases contain business logic?

I'm in a disagreement with my superior. Background: Basically, for our application, which is very complex at times we have: App specification in .doc documents JIRA requirement tickets that repeat ...
4
votes
8answers
1k views

Defect Management: Should I fail a test case if a defect is found that is unrelated to said test case?

I'm hoping to open an informed discussion as to the best practices when dealing with defect management. As a tester, if I'm testing a website and there are visual defects, however the test case I am ...
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
2answers
232 views

How to deal with too many test cases?

I have a simple question, but it is still unanswered. For example, I want to test a register feature, where the user must enter their name, email, and password. The possible inputs are like this: ...
4
votes
3answers
711 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 ...
3
votes
6answers
4k views

Should I fill 'Actual Results' section when a Test cases is pass?

I am a black-box tester. Usually whenever a test fails, I write the reason for its failure under 'Actual results' section of the test case and attach a screenshot/image for evidence. But when a test ...
3
votes
2answers
790 views

Radiobutton group with NO default option: bug / acceptable / it depends?

I'd like to have an independent opinion / samples of whether radiobutton group should have an option selected by default: some colleagues tend to submit missing choice as an issue, while others say ...
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
4answers
294 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
2answers
284 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
2answers
118 views

Without writing the test cases is good approach to test the product or software in Agile process?

We have Several projects are lined up along with the product testing. Due to time urgency and time constraints the test cases are not writing up for some functions and UI and doing the testing without ...