Page 1 of 1

validation process

Posted: Thu Oct 28, 2010 7:52 pm
by mahesh
can some one help me with the validation process
fro example
how do we validate a search field, i mean in terms of business logic
or
address field interms of business logic.
i am talking in negative test case perspective.
if i enter wrong data in the address field alpha numberic telephone number in the telephone field.
the validation should fail. how do we do that.

i mean in the process of recording how do i validate the field. input parameters for all the fields in a web site
if i enter some wrong data in the address field, the validation should fail. I need to know the process of validating the fields in terms of business during the process of recording.

Re: validation process

Posted: Thu Oct 28, 2010 11:04 pm
by Ciege
Are you asking how to you write the automated code to do those tests or are you asking what type of tests you need to create? Is this a technical development question or a test plan creation question?

If you are asking for how to verify if you are able to enter (or not enter) certain text in a text box in code then it should be as simple as writing code to enter text into the field then writing some code that reads that text back and verifying what is there versus what is expected.

Or am I missing something you are asking?