suppose take one row in a row 16 columns is there.in 16
columns 16 numbers is there.but i want to get each 3 column
number.o/p :5 columns get in 16 columns means. so can
anybody write this function? plz send if u know the answer.

Answer Posted / kiran kumar

intCols = Browser.Page.WebTable.GetROProperty("cols")
For i = 3 to intCols
strVal = Browser.Page.WebTable.GetCellData(row,3)
i = i+2
Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

2442


What will be happen if i load object repository at run time, but it has already associated.

1253


what is the difference between built-i function and In-built function?

1627


What is the extension of qtp local repository?

568


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1369






Can I change properties of a test object?

615


What are the trigger events in qtp?

570


What is contained in the object repository?

609


What is reusable action?

593


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1405


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

690


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3046


What are the Application Functions available in QTP?

1469


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2421


Is QTP supports Unix. If yes, then how the test automation is done?

1720