To get data from table which method will be used in QTP
Answers were Sorted based on User's Feedback
to get whole data in web table using loops
run exactly below script(explorer should be default browser
) let me know if i am wrong
Systemutil.Run"https://www.iciciprulife.com/ipru/Current_UnitValue.jsp"
Browser("Browser").Page("ICICI").WebList("navType").Select
"Golden Years"
x=Browser("Browser").Page("ICICI").WebTable("Fund
Name").RowCount
For i=1 to x
y=Browser("Browser").Page("ICICI").WebTable("FundName").ColumnCount(i)
Next
For i=1 to x
For j=1 to y
n=Browser("Browser").Page("ICICI").WebTable("Fund
Name").GetCellData(i,j)
print n
Next
Next
print "no of rows"" "& x
print "no of cplumns"" "&y
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shiak ejiaj
DataTable("ColumnName",dtlocalsheet)
DataTable("ColumnName",dtglobalsheet)
| Is This Answer Correct ? | 1 Yes | 0 No |
How can I write HTML text to the window in VB Script?
Explain about adodb.stream class?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Explain about the support of asp for vb script functionality?
Difference between dim,public and private variables in vb script?
Which data type/types are supported by vbscript language and what are their specialties?
what is resorceallocation
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting
write a script to count no drives in file systems in qtp?
am giving to one number u can set into that in date format.u can use any methods
how many types of recording are there?
write a vbscript for finding the sum of the numbers from 1- 50