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
Write a script to verify font style and color of a windows object using descriptive programming
How the exception handling can be done using quicktest professional (qtp)?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
In qtp, how you can use xpath to identify objects?
What are private functions in QTP? How they can be called from the function library?
could any help me please, how to work on visual foxpro application using UFT
What are the advantages of qtp?
What is optional step in qtp? How you can add optional step in qtp?
Explain about the test fusion report of quicktest professional (qtp)?
Explain the qtp test phases.
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
What are the challenges you faced during you entire life automation ?
Please guide me release notes of Automation once scripts are completed
What are the key points to create a framework in QTP for oracle forms?
What is throw object?