You are on page 1of 1

http://www.advancedqtp.com/forums/index.php?topic=1582.0 http://www.kabinfo.net/qtp/ Function FieldValidation() Validating the max size of text box i.e 50(req.

SystemUtil.Run iexplore.exe , http://automationlab09.wordpress.com Browser( micclass:=Browser ).Page( micclass:=Page ).Sync upp_bound=Browser( micclass:=Browser ).Page( micclass:=Page ).WebEdit( name:=s ).GetROPrope ty( Max length ) If CInt(upp_bound)=50 then Reporter.ReportEvent micpass , UpperboundaryValue= &upp_bound, Passed else Reporter.ReportEvent micfail , Upperboundary test &upp_bound, Failed End if End Function FieldValidation()

You might also like