Professional Documents
Culture Documents
QTP
QTP
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()