03-10-2014, 04:46 PM
(This post was last modified: 03-10-2014, 04:51 PM by Divya Roopa.)
Hi Basanth,
Thanks for the reply.For the below code i could see the text displayed in the text field sometimes whereas sometimes it throws the below error.Can you suggest me why i could run succesfull sometimes and why not sometimes.Thanks in Advance
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
Thanks for the reply.For the below code i could see the text displayed in the text field sometimes whereas sometimes it throws the below error.Can you suggest me why i could run succesfull sometimes and why not sometimes.Thanks in Advance
Code:
Systemutil.Run("http://www.yahoomail.com")
With browser("title:=Sign.*")
With .page("title:=Sign.*")
.WebEdit("name:=login","htmltag:=INPUT").Set "xxx"
.WebEdit("name:=passwd").Set "yyy"
.webbutton("name:=Sign In").Click
End With
End with
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.
Code:
Line (4): ".WebEdit("name:=login","htmltag:=INPUT").Set "xxx"".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.