GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 602 of 684    Print  
QTP : Web table objects are not counted in the run time
Hi,

I have n number of links in my webtable, these links will be change based on some conditions
first condition this webtable links count is correct
But second condition it display wrong count.

Condition and display links are correct.

But webtable links are not counted correctly, i cant find the resion for this.

Have any idea for this problem?

Thx

Punitha.



  
Total Answers and Comments: 3 Last Update: March 26, 2008     Asked by: Punitha.R 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 22, 2007 09:23:59   #1  
ramugogurla Member Since: January 2007   Contribution: 14    

RE: QTP : Web table objects are not counted in the run time
try with object.getrowcount
object.getcolumncount


for queries contact 09380207251

 
Is this answer useful? Yes | No
February 12, 2008 12:55:52   #2  
newqtp Member Since: January 2008   Contribution: 30    

RE: QTP : Web table objects are not counted in the run time
There is no such property like getcolumncount instead of that use getparametercount for counting column.
 
Is this answer useful? Yes | No
March 26, 2008 05:55:33   #3  
ManjuPillae Member Since: March 2008   Contribution: 20    

RE: QTP : Web table objects are not counted in the run time
We can count the number of links that are present in the web table using Descriptive programming.

Set Lnk Description.Create()
Lnk("micClass").Value "Link"

Set LnkPres Browser().Page().WebTable().ChildObjects(Lnk)

LnkCnt LnkPres.Count
MsgBox "Total Links Present in WebTable are" & LnkCnt

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape