An Example of the CSDDT Framework

The Web/FTP site that supports this book contains an example based on our testing tool of choice, Rational Suite TestStudio. The importance of this example is that, when implemented, it works in the same manner as the data-driven approach does in real automated testing projects. This example is based on the ClassicCD demo that Rational Software has provided for its customers. The reason we are using this example and not one from a client is that we wish to respect the privacy and confidentiality of our clients.

You must have Rational Robot in order to implement this data-driven example. The following information will help you install and run the ClassicCD example. Please read all readme files prior to your installation.

Script File List

DDMain Template.rec

DDWindow_Select.rec

DDTab_Select.rec

DDPerform_Action.rec

DDProcess_Error.rec

DBUtility.rec

get_db_connect_str.rec

DBFileQuery.rec

Convert.rec

Ini_Acess.rec

Manual Test Dialog.rec

Openfile_Txt.rec

Openfile_Xls.rec

Library File List

DataDriven.sbh

global.sbh

excel.sbh

ini_access.sbh

Openfile.sbh

DBase_Util.sbl

DDKeyword_Sub.sbl

excel.sbl

global.sbl

Directions for Installing the Example Files

Step 1.
Copy the *.sbh and *.sbl files to your default sqabas32 folder. Under Rational 2001, this should be the default path. For example:

C:your repositoryfolder.....TestDatastoreDefaultTestScriptDatastoreTMS_ScriptsSQABas32

Step 2.
Copy the *.rec files to your default script folder. Under Rational 2001, this should be the default path unless the administrator has changed it. For example:

C:your repositoryfolder.....TestDatastoreDefaultTestScriptDatastoreTMS_Scripts

Step 3.
After the script files have been copied, Robot will not be aware of these files. You must open Robot, and then select New Script. Type in the name of the script file exactly the same as the name of the file(s) that was copied over. When you click OK, the file should be displayed, already populated with the script commands.

The *.sbh, *.sbl, and *.rec files can be opened and edited with a standard test editor like Notepad.

After all the files have been created and then closed, go to Robot's file menu and select Compile All. Provided all files have been copied to the proper location, the scripts should be able to be executed at this point.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.114.142