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
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
What will be happen if i load object repository at run time, but it has already associated.
what is the difference between built-i function and In-built function?
What is the extension of qtp local repository?
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?
Can I change properties of a test object?
What are the trigger events in qtp?
What is contained in the object repository?
What is reusable action?
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
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What are the Application Functions available in QTP?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Is QTP supports Unix. If yes, then how the test automation is done?