Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to create a cookie using vbscript?

1203


Which function is used to perform string comparison?

1124


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

2080


Explain what is loose binding? Why is it not a good practice to use it?

1082


How can you fetch the value of a cookie?

1011


How to get the length of the string by making use of the string function?

1083


How will you check that a variable is an array in vbscript?

1007


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.

2297


How to assign a numeric value to a variable?

1124


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

3025


Mention what is variant in vbscript?

945


In what way program "hello world" you can write in vbscript?

1130


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.

2303


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2371


Explain about .wsf files?

1137