08-29-2008, 03:00 PM
Hi ,
Tell me if the function is having errors
Tell me if the function is having errors
Code:
sub LaunchBrowser()
SystemUtil.Run"iexplore"," https://stg-myresources.health.ge.com/idm/user/"
If browser("internet explorer").page("path").exist then
wait(20)
reporter.reportevent micpass,"step","The browser is launched"
else
reporter.reportevent micfail,"step","The browser did not launch"
end if
end sub
''login
'if Browser("name:=SSO LOGIN").Page("title:=SSO LOGIN").WebEdit("name:=username").Set"501173213".exist then
'
'reporter.reportevent micpass,"step","The userid is present"
'else
'reporter.reportevent micfail,"step","The userid is not present"
'end if
'
'end sub