06-26-2009, 05:49 PM
Hi,
I am suma. I hav a query in QTP as below.
For particular field can hav no. of conditions like.,
ex: First Name
conditions :
For this how to write coding, that QTP has to display appropriate message automatically?
(ex: Through datatable parameterization if we pass "ra" and "ram" then for "ra" it has to display "Enter min 3 char and max 10 char"
and for "ram" has to display "Entered First Name is valid")
Hope i'l get solution for this query.
Thankyou in advance, Please help out
Thanks
Suma.K
I am suma. I hav a query in QTP as below.
For particular field can hav no. of conditions like.,
ex: First Name
conditions :
- should accept only char.
- Should not contain any numericals - if then error message has to display
- should not accept only special chars - otherwise error message has to display
- should contain min 3 and max 10 char - otherwise appropriate error message has to display
For this how to write coding, that QTP has to display appropriate message automatically?
(ex: Through datatable parameterization if we pass "ra" and "ram" then for "ra" it has to display "Enter min 3 char and max 10 char"
and for "ram" has to display "Entered First Name is valid")
Hope i'l get solution for this query.
Thankyou in advance, Please help out
Thanks
Suma.K