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 the extension .hta?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
why variable name should not exceed 255 characters?
What is the purpose of the err object in the vbscript language?
How are arrays declared in the vbscript language?
Explain How do you create a recordset object in vbscript?
Compare java script and vb script?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
what is the standards used for writing the script in QTP
What is the use of option explicit in vbscript?
How will you format a number in percetage format in vbscript?
how to increase the values in text box in a given text box increament by two values by clicking on button
How will you get the exponent of the given number in vbscript?
How to pass argument by reference to a function in vbscript?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?