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
  UFT24.2 and Chrome Browser is not resnponding mode kotaramamohana 0 76 11-12-2024, 05:33 PM
Last Post: kotaramamohana
  DP Encapsulation Within Class Object TheGlovner 2 1,794 10-12-2018, 02:11 PM
Last Post: TheGlovner
  Emulating keyboard actions in MS Edge Browser with UFT 14.03 Sekhar9999 0 1,011 06-19-2018, 07:20 PM
Last Post: Sekhar9999
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 34,111 12-19-2017, 10:25 PM
Last Post: sandy2404
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 3,095 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP

Forum Jump:


Users browsing this thread: 1 Guest(s)