Let me know anyone, how can i check length validation of all edit box of a web page, i wrote one script but from this script i can check only single edit box, i want to check all edit box. Pls. find my script in attachement.
Create a function library and then include the length validation steps with in it.
The issue what you have listed does not exist, works fine in my machine- stupid comment from the developer
Check at below link
Set Desc = Description.Create()
Desc("micclass").Value = "WebEdit"
Set objEdit = Browser(...).Page(...).ChildObjects(Desc)
For i = 0 To objEdit.Count -1
vTxt = objEdit(i).GetROProperty("value")
If Len(vTxt)>15 Then
MsgBox "Pls. enter value less than 15 characters"
Thnx for reply, but pls. let me knw one thing how can i pass the value in text box thru this script.
I am not getting you. Can you please elaborate your query?
Thnx,this is very useful for me.I'll be in ur touch further.