Questions tagged [negative-test]

a test designed to determine the response of the system outside of normal parameters. It is designed to determine if the system performs error handling with unexpected input.

Filter by
Sorted by
Tagged with
2
votes
2answers
464 views

How to perform “front end unit testing” of Single Page Applications?

"Front-end Unit Testing": To test the client side validations from front-end UI tests but in isolation(hence calling unit tests). By isolation mean, testing static HTML pages to avoid unnecessary ...
3
votes
2answers
101 views

How do I convince a customer to implement more tests than just “happy case” tests

I have been building a test automation project for a customer that uses Microsoft Dynamics 365 as their business platform. All test cases I have been building for them are happy cases, the chance for ...
3
votes
2answers
74 views

Negative testing - delivering error when it should not?

I am a bit confused as in a few books, negative testing is described as trying to break the system with providing inputs outside the defined group..which I understand and agree with ...and that a ...
0
votes
1answer
260 views

Is negative testing possible in TestNG?

I want to check if a site allows a user to register using the same email multiple times. I use TestNG framework. How can I do negative testing for the case below? @Test public void testRegistration() ...
1
vote
1answer
97 views

How to report and record a negative test case

I have a QTP test case and wanted to expand it to test multiple user role types. It should pass for high privilege users and fail for low privilege users at various points depending on what page they ...
4
votes
3answers
1k views

Creating negative tests [closed]

Let's say that I want to create an ad on some website. I am using Selenium IDE to test. I understand how creating positive tests work, but I am confused about how to create good negative tests. What ...
2
votes
4answers
329 views

Should I design negative tests for my Test Automation?

Should I include negative test scenarios in my test automation? As of now, I'm just using positive tests for my test automation. Any ideas from you are pretty much appreciated. Thanks in advance. ...