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
How to create a cookie using vbscript?
Which function is used to perform string comparison?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
Explain what is loose binding? Why is it not a good practice to use it?
How can you fetch the value of a cookie?
How to get the length of the string by making use of the string function?
How will you check that a variable is an array in vbscript?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How to assign a numeric value to a variable?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Mention what is variant in vbscript?
In what way program "hello world" you can write in vbscript?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Explain about .wsf files?