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 |
What are the different types of operators and their order of precedence?
What are the naming conventions while declaring a variable in the vbscript language?
How to create a cookie using vbscript?
What are keywords in the vbscript language?
How to write VB script for login module?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
write a vb script to calculate factorial of a number?
How can I write HTML text to the window in VB Script?
How to remove the spaces in a string Ex: "this is apple"
Which object provide information about a single runtime error in a vbscript?
write a qtp script to count the number of minimized windows
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false