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 constants be declared in the vbscript language?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How to insert snapshot during manual scripting in QTP?
What are the disadvantages of vbscript?
Mention what is byref and byval parameters in vbscript?
Can anyone help me in write coding to get this pattern * ** *** ****
if there is any string in a given format like as "company name employeecode date" then we have to fetch employeecode form string for ex-string is "capgemini12345june2013" then we have to fetch 12345 by using vb script so guys how can we do that please reply it.
What are class variables?
Explain the constants in vbscript?
How to load vbs functions in qtp
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
accept a string & display whether a is present or not