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

Answers were Sorted based on User's Feedback



I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

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

I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

Answer / lavanam

Dear Check Object Identification,
Add some more details like prop of webtable and try out the
thing once again.

Is This Answer Correct ?    0 Yes 1 No

I'm new to QTP, i facing a a problem in the script says"Object not found", "B..

Answer / wiredrawingmachine

sell wire drawing machine, wire and cable machine
www.wire-drawing-machinery.com

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More VB Script Interview Questions

What is the purpose of on error resume next statement?

0 Answers  


What is vbscript procedures?

0 Answers  


Anyone have qtp11.0 crack?

0 Answers  


write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple

7 Answers  


Mention when to use function procedures and what are its characteristics?

0 Answers  






i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

0 Answers  


Explain sga memory structures?

0 Answers  


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

0 Answers  


Which function is used in the vbscript language to convert the specified expression into a date type value?

0 Answers  


What is the use of "Option Explicit"?

2 Answers  


which is the good software training centre in bangalore?

1 Answers  


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

0 Answers  


Categories