Blogs

Introduction to new version of B1TC (2.1.0908)
Yatsea Li SAP Employee
Business Card
Company: SAP
Posted on Oct. 27, 2009 05:33 AM in SAP Business One

Subscribe.Subscribe
Print. Print
Permalink Permalink
A new version of B1TC is available now. You can download it from here:

Setup Installation: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0ecac11-4a7b-2b10-a09a-af20982ceff4
Source Code: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d04af764-4b7b-2b10-c6b4-c5cf0dbac792
Help File: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ed6aaf-3d7b-2b10-9798-8f18cf9da1d9

 

The new B1TC is featured as below:

  • Bug Fixes:

The recording and playing in new B1TC is smoother and more intuitive. For example, B1TC used to be stuck by a confirmation dialog. Also some other similar stuck bugs have been fixed.

 

  • More flexible external function call:

It is easier to develop and register the external function in B1TC. Previously, external function in B1TC can only accept an ArrayList as input parameter. And there may be several members with different data type in this ArrayList. It is too generic to know how many of input parameters and what they are from its function signature. Now, external function signature in new B1TC is more flexible and comprehensive.  The input parameters and their data type are determined by its signature.

For example, to develop a custom function to execute a sql query, typically, it has several input parameters, like server, dbName, userId, password, queryStatement.

 

- Old B1TC only accept the function defines with one ArrayList parameter:

public static void ExecuteSQLQuery(ArrayList sqlParameters)

To call ExecuteSQLQuery, the sqlParmeters should be prepared with server and dbName etc in one ArrayList.

 

- New B1TC can accept the function defined with various type parameters.

public static void ExecuteSQLQuery(string server, string dbName, string userId,       string pwd, string sqlQuery)

 

By the way, this function is already included in the default TA_TestAccess.dll under the "plugin" folder.

 

Incompatibility Notice:

New B1TC can't accept to the older scripts which contain calling external function steps.

 

Incompatibility Resolution:

Please follow the steps below.

1. Backup a copy of your script.
2. Backup the EngineOptions.xml file. (This file is under the B1TC install folder eg. C:\Program Files\SAP\SAP Business One Test Environment\B1TestComposer\EngineOptions.xml) This file contains all the external dll information.
3. Open the script with old B1TC and delete all the calling external function steps in the scripts.
4. Uninstall old B1TC
5. Install the new B1TC.
6. Register the external DLL
7. Insert all the calling external function steps into the script again with new B1TC.

 

  • Other function enhancements:
    1. Support the picture columns in matrix.
    2. Display step information in playing mode.
    3. ...

Please refer to the release note in the download package for more information.

Yatsea Li is a Solution Architect for SAP Business One


Add to: del.icio.us | Digg | Reddit


Comment on this article
Comment on this weblog