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
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
What are the different attributes used with regular expression?
How to delete an object from the object repository?
Explain the views in the QTP GUI?
What are the factors on which script execution time is dependent?
How will you handle java tree in qtp?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
What is ‘object spy’ and what is the function of object spy in qtp?
Name the different types of recording modes?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What do you mean by iteration?
Explain the types of properties that quick test learns while recording?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!