Micro Focus QTP (UFT) Forums
Regarding the bug when i select weedit ,webbutton,link - 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: Regarding the bug when i select weedit ,webbutton,link (/Thread-Regarding-the-bug-when-i-select-weedit-webbutton-link)



Regarding the bug when i select weedit ,webbutton,link - siri - 03-13-2008

Can any one help me regardign the issue in qtp .
i am gettign a bug like

The below one is the script"
Script:
Code:
Browser("name:=Create New Shift Factor - RT [HP]").Page("Title:=Create New Shift Factor - RT [HP").WebList("name:=P_2").Select "Yes"

The below one is the Bug:
Bug:
Cannot find the "[ WebList ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.


This is common for the link,weedit ,webbutton etc i am trying from morning but could nto resolve it pls help its very urgent


RE: Regarding the bug when i select weedit ,webbutton,link - Ankur - 03-14-2008

I see that you have just included a single property-value pair for browser, page, weblist.
You need to include some more properties to get QTP identify these objects.


RE: Regarding the bug when i select weedit ,webbutton,link - sreekanth chilam - 03-15-2008

Hi ,

I agree with Ankur......

u need to add most fundamental property values for "class name"/"regexpwndclass"/"nativeclass" .....for weblist


RE: Regarding the bug when i select weedit ,webbutton,link - siri - 03-17-2008

Which type of properties u want mew t oinclude more it is working fine before ehen i use the same