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
Explain about tristate constants?
Mention what is the technology used by vb script?
Explain about scrrun.dll?
In html file what is an ideal position to include vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How will you reverse a string in vbscript?
What are keywords in the vbscript language?
what is resorceallocation
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.
How strcomp function works?
How to make sure that items in a wintree are sorted al?
Mention how to assign a date value to a variable?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Explain the arrays in vb script?
How can constants be declared in the vbscript language?