Stock Symbol List from yahoo Downloaded Via QTP

Add to Favourites
Post to:

‘ *************************************************************************************‘ Summary -> QTP Script to download symbols list from yahoo. The url mention below ‘ downloads stock symbols of NSE(a.ns) and BSE(b.ns) using yahoo website. The downloaded list is ‘saved on a file on your c:\‘ Author - Mr. Ashish Abrol‘ Date - June 2010‘Contact – ashish.abrol@grailtest.com‘ THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY ‘ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE‘ IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A‘ PARTICULAR PURPOSE.‘ This source code is subject to the GrailTest Technologies Permissive License. ‘ All other rights reserved.‘ ************************************************************************************For i=0 to 8100 step 50 'url="http://in.finance.yahoo.com/lookup?s=%2a.ns&t=S&m=IN&r=3&b=" & i url="http://in.finance.yahoo.com/lookup?s=%2a.BO&t=S&m=IN&r=3&b=" & i browser("index:=0").Navigate(url) wait 10 Set fso=CreateObject("Scripting.FileSystemObject") Set f=fso.OpenTextFile ("c:\Temp\list.txt", 8, True) For j=3 to 52 step 1 f.Write(browser("index:=0").page("index:=0").webtable("index:=8").getCellData(j,1) & " , " & browser("index:=0").page("index:=0").webtable("index:=8").getCellData(j,2)) f.Write(" , " & browser("index:=0").page("index:=0").webtable("index:=8").getCellData(j,3) & " , " & browser("index:=0").page("index:=0").webtable("index:=8").getCellData(j,4)) f.WriteLine() Next f.closeNext

Join the Web 2.0 Community

Description
QTP Script to download symbols list from yahoo. The url mention below downloads stock symbols
of NSE(a.ns) and BSE(b.ns) using yahoo website. The downloaded list is saved on a file on your c:\

Comments
shrija achanta
By: shrija achanta
629 days 1 hours 43 minutes ago

hi Ashish
thanks for the lesson. can you please share more about qtp and other testing information
with regards
Shrija

shrija achanta
By: Ashish Abrol
629 days 8 minutes ago

Shrija

There is another document that I had posted a day ago. Take a look.

thanks
Ashish

shrija achanta
By: Ashish Abrol
629 days 7 minutes ago

http://www.wiziq.com/tutorial/88458-Test-Automation-Entry-and-Exit-Criteria

IBRAHIM KHAN
By: IBRAHIM KHAN
364 days 15 hours 9 minutes ago

can any one send me this doc
Stock Symbol List from yahoo Downloaded

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
Ashish Abrol
Sotware Test Architect
User
3 Followers

Your Facebook Friends on WizIQ

Explore Similar Courses

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect