validation process

Ranorex Spy, Recorder, and Studio.
mahesh
Posts: 2
Joined: Thu Oct 28, 2010 6:55 pm

validation process

Post by mahesh » Thu Oct 28, 2010 7:52 pm

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.
Last edited by mahesh on Fri Oct 29, 2010 6:50 pm, edited 3 times in total.

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: validation process

Post by Ciege » Thu Oct 28, 2010 11:04 pm

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?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...