Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
validate textbox
#1
Not Solved Question 
How to validate text box?
I have web based application, I want to validate text of text box,
The valid and invalid data is passing from data table.
Now validate mean i have a field named contact no. so it Should only accept numeric data. the text box is accepting all characters but validation of application is firing at when we press submit or save button. (if it is invalid then message is shown near by that text box is "Invalid")
I want to know from the result that particular which text field is accepting wrong value( which is passed from data table)
I tried this
Code:
If browser(a).page(b).web element("invalid").exist then
reporter.report event mic fail "Invalid","data"
else
reporter.report event mic pass "valid","data"

But it is always shows Fail in result even if we passed valid data from data table.
Help me about this Thanks in advanced
Reply


Messages In This Thread
validate textbox - by nirmal_k1231 - 05-03-2009, 09:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] [WPF] Trigger on TextBox robertosalemi 2 2,168 05-26-2016, 07:32 PM
Last Post: robertosalemi
  How to validate mandatory filed (*) in web application using balak89 1 4,124 09-13-2015, 12:54 AM
Last Post: ADITI1992
Smile Need to validate a .txt file and .jpeg image. aman8604 0 2,341 04-09-2015, 11:33 AM
Last Post: aman8604
Sad Validate New Employee Creation hello_sanjay 0 1,908 04-07-2015, 06:16 PM
Last Post: hello_sanjay
  how to validate all lebel object in a table niketa 1 2,827 10-30-2014, 01:56 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 2 Guest(s)