03-07-2014, 07:34 PM
Hi,
Im getting the following error on the below code when im trying to login to yahoo account.My problem is some times its executing well,but sometimes it throws the following erroe.Can anyone plz help me.
Error:
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.
Im getting the following error on the below code when im trying to login to yahoo account.My problem is some times its executing well,but sometimes it throws the following erroe.Can anyone plz help me.
Code:
With browser("title:=Sign in.*")
With .page("title:=Sign in.*")
.WebEdit("name:=login").Set "xxx"
.WebEdit("name:=password").Set "Divya3169"
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 (22): ".WebEdit("name:=login").Set "xxx"".