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
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
Explain the scope of the variables using dim, public, and private keywords respectively.
How to assign a numeric value to a variable?
What is event handling in vbscript?
Write a code to print numbers from 5 to 0?
What are the differences between sub procedures and function procedures?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
what is the use of QCUtil? explain with one example?
How to access array data?
How will you reverse a string in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
what is resorceallocation
what is the differance between BYVAL,BYREF?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)