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 |
Explain some uses of vb script?
How will you compare two strings in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Explain about operator precedence in vb script?
How will you convert a given number to long in vbscript?
How to insert snapshot during manual scripting in QTP?
How to create pull down menu box using vb script
Explain the support of asp for vb script functionality?
What's the difference between vbscript and vb.net?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
how to comvert 120 into one hunderd twenty rupees only and vice varsa
What are the 2 ways in which a variable can be declared in the vbscript language?