I'm new to QTP, i facing a a problem in the script
says"Object not found",
"Browser("").page("").frame(Name:=fminfo).webtable().
the issue is, QTp is not able to identify the web table in
run time.becuase in that fram"fminfo" there are "n"table
and the table do not have the names,Html id.
1) i need to count the number webtables available on that
page.
2)need to identify the webtable cell values.
3)How Loop the once i get the count and retrive the cell
data of each webtable?
Can anyone help on this, plz..
Thanks,
Suresh

Answers were Sorted based on User's Feedback



I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

Answer / shashank shekhar raj

Hai Buddy,

Don't worry
Do one Thing Avoid Frame i mean Doesn't use frame in your
Script.
and you are beginner so i suggest you never ever use Frame
in your script it shows ERROR.

just write like this:-

"Browser("").page("").webtable("index:=?","htmlid:=?","name:=?")

Now you can easily find out properties of webTable in object Spy

BEWARE!!!!!!!! Always ignore Frame

Is This Answer Correct ?    3 Yes 0 No

I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

Answer / lavanam

Dear Check Object Identification,
Add some more details like prop of webtable and try out the
thing once again.

Is This Answer Correct ?    0 Yes 1 No

I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

Answer / wiredrawingmachine

sell wire drawing machine, wire and cable machine
www.wire-drawing-machinery.com

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More VB Script Interview Questions

How many types of procedures are available in the vbscript language?

0 Answers  


i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next

1 Answers  


write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links

1 Answers  


Explain the difference between POST and GET Method.

1 Answers  


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

0 Answers  






When to use function procedures and what are its characteristics?

0 Answers  


Mention characteristics of sub procedures?

0 Answers  


how to write validation function for date in vb script

0 Answers  


How to open browser in vb script?

0 Answers  


What are the advantages of vbscript?

0 Answers  


How to take whole text output from screen of Bitmap Application.

0 Answers   CitiGroup,


What is a class in CSS?

1 Answers  


Categories