Print Page | Close Window

Validation of text of textbox in Qtp

Printed From: One Stop Testing
Category: Queries @ OneStopTesting
Forum Name: Queries @ OneStopTesting
Forum Discription: One Place for all the queries, doubts related to testing. Get all your doubts answered by our Esteemed Panel of Experts.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6438
Printed Date: 23Jul2025 at 4:55am


Topic: Validation of text of textbox in Qtp
Posted By: nirmal_k1231
Subject: Validation of text of textbox in Qtp
Date Posted: 19Apr2009 at 12:26am
i am quite new to Qtp,
i need help in using Qtp,
I have a Registration form of Web page and I want to perform a test regarding validation of Text fields(like text Box)
E.g. in a telephone number's text box should accept numbers,
space, dot(.),hyphen(-),and (bracket)(), etc.......but 
Should not accept Alphabets.
The wrong and correct data is passing from the datatable if some data is
wrong than it should display in test result after completion of run session
in Qtp.
The validation firing at the time of pressing the submit button.

 Many Thanks
 Nirmal Keshvani.



Print Page | Close Window