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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about tristate constants?

587


Mention what is the technology used by vb script?

523


Explain about scrrun.dll?

536


In html file what is an ideal position to include vbscript?

812


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1539






How will you reverse a string in vbscript?

620


What are keywords in the vbscript language?

527


what is resorceallocation

1774


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2556


How strcomp function works?

626


How to make sure that items in a wintree are sorted al?

2357


Mention how to assign a date value to a variable?

590


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2062


Explain the arrays in vb script?

589


How can constants be declared in the vbscript language?

553