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
How can you create an object in vbscript?
What is the purpose of on error resume next statement?
Mention what is select case statement?
What are the 2 ways to pass a value to the function?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Mention what are the rules to name variable in vbscript?
How to delete a cookie using vbscript?
what is used of Property........End Property loop ? how to write the script for it?
who will create the object?
Which keyword is used to declare a variable in the vbscript language?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
where can i learn VB scripint ?
Explain about tristate constants?
What is the purpose of regexp object in vbscript?
what is the difference between modular and data and keyword driven framework