07-31-2013, 09:34 PM
Hi
I have just started learning QTP automation.....
Please find below code i have written and error message and assist...
My o/s is win7 and browser is IE8.
===========
Error message:
cannot find the "[WebEdit]" object's parent "[Browser]" (class Browser).Verify that parent properties match an object currently displayed in your application.
I have just started learning QTP automation.....
Please find below code i have written and error message and assist...
My o/s is win7 and browser is IE8.
===========
Code:
systemutil.run "iexplore","http:\\mrd.mail.yahoo.com\switchclassic"
'sign in
with browser("title:=Browser")
'with .page("title:=Yahoo Mail: The best web-based email! - Windows Internet Explorer")
with .page("title:=Browser").
.WebEdit.("name:=login").set "xyz@yahoo.com"
.webedit("name:=passwd").set "xyz123"
.webbutton("name:=Sign In").click
End with
End with
Error message:
cannot find the "[WebEdit]" object's parent "[Browser]" (class Browser).Verify that parent properties match an object currently displayed in your application.