Follow Fantora on Twitter
Fantora Word of Classified Ads and Community Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

Error with QTP DP

Options
manzor
Posted: Monday, December 15, 2008 10:15:59 AM
Rank: Advanced Member
Groups: Member

Joined: 1/31/2008
Posts: 39
Points: 117
Location: GB

Error with QTP DP

Hello Friends,

I am new to DP in QTP. But I was able to recognize almost all the
objects in my application. Now I am getting the very common error as
follows :
Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class
Browser). Verify that parent properties match an object currently
displayed in your application.

My code is as follows :

'for browser
Set tBrowser = Description. Create
tBrowser("micclass" ).value=" Browser"

'for page
Set tPage=Description. Create
tPage("micclass" ).value=" Page"

'for frame
Set tFrame=Description. Create
tFrame("html tag").value= "FRAME"

'For table
Set tWbTable=Descriptio n.Create
tWbTable("micclass" ).value=" WebTable"
tWbTable("name" ).value=" Apply Template"
tWbTable("name" ).RegularExpress ion = False

'Web edit
Set tWbEdit = Description. Create
tWbEdit("micclass" ).value=" WebEdit"
tWbEdit("name" ).value=" H_PROJ_REQUEST_ DESCR$0"
tWbEdit("name" ).RegularExpress ion = False

ID=Browser(tBrowser ).Page(tPage) .Frame(tFrame) .WebTable
(tWbTable).WebEdit( tWbEdit). GetROProperty( "value")

msgbox(ID)

Could someone help me with this.Any help in this regard would be
highly appreciated. I am trying to work this from last two days w/o
success.

Thanks
hissan
Posted: Monday, December 15, 2008 10:17:09 AM
Rank: Advanced Member
Groups: Member

Joined: 1/31/2008
Posts: 44
Points: 132
Location: Pakistan

Error with QTP DP

Hi


You are writing the Descriptive programming for the webtable in a browser. Can you please check with "cell value" of the webtable. or else If you provide the snaphshot of the screen , we can try for the solution.

Feel free to ask if you have any questions.

Users browsing this topic
Guest

 Related
Zephyr-Forrester Webinar
Free Test Management Tool
What is Software Testing?
Webinar: Where Agile Testing and Test Management collide
Selenium core vs Selenium IDE vs Selenium RC
Fuzz Testing
Webinar - Zephyr & JIRA for Test Management
Webinar - Zephyr & JIRA for Test Management, 18 Jan 2011  
Real-time Individual Productivity and Project Quality Metrics
Simple, Affordable Global Licenses
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Fantora Blog | Discount Shop UK | Discount Shop USA | Discount Shop Canada | Discount Boutique France | Discount Shop Deutschland | Discount Shop Italia | Descuento Shop España

Free Classified ads, Webmaster Forum & Technology Reviews | Fantora Free Classified Ads | Buy & Sell Electronics, Mobile phones & Accessories | fantora Forums Community | Buy & Sell DVD, Games and Consols | Free eBooks & Softwares | SEO & Affiliate Marketing Discussion | Programming Language Forum (.NET, ASP, PHP, SQL) | Free Classified Ads | General Stuff (Movies, Chat, Comics) | Free Online English Movies & Reviews | Free Online Hindi Movies & Reviews | Australia & New Zealand Immigration Forum | Europe immigration forum | Canada Immigration Forum | Ireland Immigration Forum | US Immigration Forum | United Kingdom Immigration Forum

Main Forum RSS : RSS

Powered by: YAF.NET
Copyright © AI Logica All rights reserved.
This page was generated in 0.226 seconds.