how can we perform web datatable operations on webpages(Like
rowcount,col count,cell data)?
Answer Posted / ram.polavarapu
r=browser("").page("").webtable("").RowCount
print r
'this will display the number of rows in webtable
c=browser("").page("").webtable("").ColumnCount
print c
'this will print the number of column in webtable
for i=1 to r
for j-1 to c
a=browser("").page("").webtable("").GetCellData(i,j)
print a
this will display the all data in the web table
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
What is expert view in qtp?
How do you create new test sets in td?
Step 3&4 are repeated until an the object in recognised uniquely.
What are the differences between quicktest professional (qtp) and winrunner?
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
What is action? How many types of actions are there in qtp?
What is qtpro? What is quick test pro?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
how u will evaluate the tool for test automation?
Discuss the QTP Environment?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button