Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
8Activity
0 of .
Results for:
No results containing your search query
P. 1
SilkTest and Excel[1]

SilkTest and Excel[1]

Ratings:
(0)
|Views: 540|Likes:
Published by api-26765048

More info:

Published by: api-26765048 on Oct 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

Using SilkTest\u2019s
DB_Tester Functions
with an Excel
Spreadsheet
Amelior Technology, Inc.
www.ameliortech.com
Amelior Technology
IN T R O D U C T I O N

It is often desirable to be able to store test data in an easily accessible environment.
Standard ASCII files can fit that bill. However, if one wants more power for getting data into
and out of a test data structure, Segue\u2019s SilkTest\u2019s DB Tester functions are an excellent way of
accessing information in database. Additionally, for even greater ease-of-user, an Excel
spreadsheet can be used as a database provided that proper conditions are met.

This white paper will not cover all of the intricacies of SQL statements. There are plenty
of on-line guides to SQL. Here are a few:
o
http://www.sqlcourse.com/
o
http://w3.one.net/~jhoffman/sqltut.htm
ESTABLISHING AN EX C E L DATA B A S E
One might think that putting data into a Microsoft Excel spreadsheet and saving the
spreadsheet would be all that\u2019s needed. Unfortunately, this is not the case.

It might be logical if each spreadsheet contained in a Microsoft Excel workbook were
considered a table in the database. However, Microsoft designed Excel differently. In the
following example, the worksheet named \u201cAges\u201d is not a database table, just a worksheet.

In order to make the data into a table, you must select the desired region of the
spreadsheet or select thee n t i re spreadsheet and name the region. This is accomplished by enter a
name for the new region into the Name Box in Excel. If you plan on your database table
contents growing, it may be best to make the entire spreadsheet the named region.

SilkTest and Excel Databases
Page 2 of 8
Amelior Technology
After selecting the desired region, enter a name into the Name Box and hit Enter.
Any time you want to select the entire region later, all you have to do is select it from the
Name Box PopupList. The entire named region will be selected.
Save your Excel workbook wherever you like. But remember where it is.
ESTABLISHING AN ODBC DATA SO U R C E
SilkTest\u2019s DB Tester functions require that the database have an ODBC Data Source.
In order to make your Excel spreadsheet an ODBC Data Source, launch the ODBC
Manager from Control Panel.
SilkTest and Excel Databases
Page 3 of 8
Name Box

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->