There is a table with 4 columns and 10 rows, how to write the
script to display the first column records using qtp? can
anybody help me with script?
Answer Posted / kishan
rcnt=Browser().Page().webTable().rowcount
ccnt=Browser().Page().webTable().columncount(2)
for i=1 to rcnt
print Browser().page().webtable().getcellData(i,1)
next
(or)
for i=1 to rcnt
set obj=Browser().page().webtable().childItem
(i,1,"webElement",0)
print obj.getROproperty("text")
next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the different properties of an web object
How you calling actions in qtp?
With what extension you can save the list of tests in a file to run in test batch runner?
Can any suggest me what is exposure testing?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
what is the difference between the modular framework and datadriven frame work
What is quicktest professional?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Hai anyone please "Explain about Framework in QTP?"
regular expression in qtp standar check point for months from accepting months from january to december only
They asked by using qtp recording writing scripting
What is Unicode Compatibility?
How many types of parameters are available in quicktest professional?
How will you test a keyboard?
what testplan contents and what test strategy contents,what is the diff b/w them