Questions tagged [validation]

Data validation is the process of ensuring that a program operates on clean, correct and useful data.

Filter by
Sorted by
Tagged with
1 vote
3 answers
2k views

When should we use Assert.true() instead of Assert.equals() method in Selenium?

What's the difference between these 2 Assert class methods?
Tester68's user avatar
7 votes
1 answer
180 views

ORM validation and testing

Writing a web application we have many places where validation takes (or potentially could take) place: - front-end application form - front-end application service - back-end application view ...
user2146414's user avatar
0 votes
1 answer
1k views

calculating minimum test cases for 0-Switch coverage

I'm new to testing and I don't understand 0-switch coverage and 1-switch coverage very well, I understand the concept but I don't know how to solve some questions like this one
roka's user avatar
  • 11
1 vote
0 answers
105 views

Verification and validation of a requirement spec (following B. Boehm's paper)

The purpose of this question is for me to understand the concept, I am well aware in practice I just do these things, regardless of how I call them. Also, the famous paper from B. Boehm (GUIDELINES ...
John V's user avatar
  • 627
0 votes
1 answer
74 views

Tidy HTML with BaseX

How do I tidy this HTML for baseX? Working from a basic example. Looks like the HTML isn't valid, or at least baseX has apparent problems with parsing it: thufir@dur:~/NetBeansProjects/...
Thufir's user avatar
  • 367
0 votes
2 answers
4k views

How to perform Web Table validation in Selenium automation , particular text is available or not [closed]

I am working on Patient registration module , found thousand of patient ids,I need to verify particular ID/text are available or not in the search registration page. how can i validate the search ...
V su's user avatar
  • 1
1 vote
2 answers
3k views

Password field testing, few questions

I have no requirements for this field by default in my case. 1) If password field accept password like 8 empty spaces in a row, is it usually considered like a bug? 2) If no validating for field ...
zuk22's user avatar
  • 13
1 vote
4 answers
567 views

UI validation bug not reproducible on Dev environment

I was asked following question - There is a form on a web page and it has UI validation, but UI validation fails on QA environment and you log a bug for it. But developer cannot reproduce it ...
Alpha's user avatar
  • 311
2 votes
3 answers
259 views

Keep a check on 404s

There is a requirement from the client, they want us to put a check on set of pages, that these pages and link on these pages should never throw 404 error. And Un-fortunately if any 404 appears an ...
paul's user avatar
  • 697
-1 votes
1 answer
353 views

How to massage or format html in order to parse with xmlstarlet?

Just looking to parse html found "in the wild": Very simple script: curl -s http://www.foo.com > 1.html xmlstarlet fo -H -R 2> /dev/null 1.html > 2.html xmlstarlet sel -t -v "//header[@...
Thufir's user avatar
  • 367
3 votes
2 answers
49 views

What are the Invalid Actions & Invalid Conditions options in Decision Table Creator?

If you click View in Decision Table Creator and select either "Invalid Actions" or "Invalid Conditions", what is that supposed to tell you? Both either highlight all of my Actions or all of my ...
lonious's user avatar
  • 783
0 votes
1 answer
277 views

Equivalence partitioning for decimal number

This is my first time using Equivalence Class Partitioning. I have decimal input fields that I need to test. I am going to explain my understanding of the ECP method and provide you with my test cases,...
l1ghtblue's user avatar
1 vote
3 answers
315 views

What elements should I assert for automation of my eCommerce application? [closed]

What are useful and practical asserts to consider in our web automation project which uses selenium (java) to automate an eCommerce web application. As this is my first website to automate, I am ...
Camreyjones's user avatar
2 votes
2 answers
782 views

Should QA be responsible for XML schema validation testing? [closed]

In our company, we use XML as a core part of the integration. We had a few occasions where our customer raised the concern that our XML's are not validated as per the schema. I have asked the QA team ...
Jemsworld's user avatar
  • 123
0 votes
2 answers
184 views

Error messages on UI for 4xx and 5xx server errors

I have to test two scenarios when due to some action unexpected 400 and 500 server errors have been thrown and the proper message appeared on the client for each of the errors. When I try to edit ...
Ellen Seymor's user avatar
5 votes
7 answers
20k 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 ...
Alpha's user avatar
  • 311
2 votes
1 answer
4k views

Validation testing of large datasets

I often have to write and execute validation tests on rather large datasets. The data comes in different quantities (one file vs. many files) and formats - sometimes it is table-like (csv, dbf, ...) ...
Dirk's user avatar
  • 121
0 votes
1 answer
681 views

Is it ok to use Gherkin syntax to describe scenarios for backend applications?

I use gherkin syntax to write the scenarios of features that involve user interaction. However, I'm not sure if it is the correct syntax to describe scenarios to test backend applications. If your ...
Edwin Jaime's user avatar
1 vote
3 answers
143 views

Validating ePub File using selenium webdriver [closed]

Is there any way to validate the ePub file using selenium webdriver?
Sampath Kumar S's user avatar
0 votes
1 answer
358 views

How to validate XML files against XSD (automatically)?

we have a module in our architecture which checks a SFTP(server)directory for new transmitted XML files, validates them against XSD and if successful it takes the XML file from the directory and does ...
bish's user avatar
  • 863
2 votes
2 answers
128 views

How to validate safety-critical software

Background: We are developing software for a small house-hold robot. Its probably not highly dangerous but it could still cause someone to fall down stairs. We are using a waterfall-like model. Now ...
icehawk's user avatar
  • 123
2 votes
4 answers
1k views

Should I consider a valid 9 digit zip code failure to be a bug?

We have a form that accepts zipcode It has quite a big field It accepts 90210 It rejects 902 902111 902-aaa aaabbbccc However it also rejects 90210-1234 Should I consider this a bug? Is it ...
Michael Durrant's user avatar