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 is the default object synchronization timeout in qtp?
How to analyzing the checpoint results?
Have you used xml check point in your project?
when a test case is written how u test using qtp
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
What is the architecture of your project? Can any one answer for this question plz........
Explain runtime dynamic settings?
What is the difference between call to existing action and copy of an action?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
How to break the object spy ?
How many types of actions are there in quicktest professional?
What Folder Structure following in Keyword Driven Frame work?
What is keyword view?