Micro Focus QTP (UFT) Forums
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t (/Thread-Cannot-find-the-WebEdit-object-s-parent-Browser-class-Browser-Verify-t)



Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t - Divya Roopa - 03-07-2014

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"".



RE: Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t - devarapallliramana - 03-11-2014

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.