Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t
#1
Not Solved
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.


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
Error:
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"".
Reply
#2
Not Solved
please use WebObject insted of WebEdit
Reason:
Object is not recognised by QTP.That means it is Non-Standared Object.We can change Non-Standerd object to standared object it is only posible if the application is window application but web application we can't.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  DP Encapsulation Within Class Object TheGlovner 2 1,595 10-12-2018, 02:11 PM
Last Post: TheGlovner
  Emulating keyboard actions in MS Edge Browser with UFT 14.03 Sekhar9999 0 891 06-19-2018, 07:20 PM
Last Post: Sekhar9999
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 32,795 12-19-2017, 10:25 PM
Last Post: sandy2404
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 2,886 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP
  General Object Error(Find Object Error) akhandesh 1 3,407 02-24-2016, 01:05 PM
Last Post: sindhus

Forum Jump:


Users browsing this thread: 1 Guest(s)