To get data from table which method will be used in QTP
Answer Posted / nag
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 |
Post New Answer View All Answers
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Explain about filter expression?
Description.Create
How will you format a number in percetage format in vbscript?
Mention what is the technology used by vb script?
Which date function is used in the vbscript language to find the difference between the 2 dates?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Which operator can be used to change the value of the operand or change the state of the condition?
Explain sga memory structures?
What is the difference between function and procedure?
How will you convert a string to lower case string using vbscript?
Explain what is loose binding? Why is it not a good practice to use it?
How will you convert a given number to long in vbscript?