BASE I Basics and concept

Tosca Base Engine is used for executing automated TestCases. Visual Basic 6.0 skills and a basic knowledge of Tosca are required for using this engine.

In Tosca Commander™, the test cases are managed business-based. The Tosca Base Engine receives business-based test case information and activates the steering of the test target. The actual steering is conducted by the corresponding engines.

Engines may be extended for customer-specific needs. There are two options for these extensions:

  • If only some screen controls need to be modified, specific Keywords can be created (see chapter "BASE I Keywords").

  • If individual control steerings have to be developed or if customer-specific implementations would require massive engine modifications, CustomEngines can be developed for the existing engine (see chapter "BASE I Custom engines").

Components of Tosca

Procedure for executing automated TestCases

If a test case is executed in Tosca, the business-based test information stored in Tosca Commander™ is exported to an XML file (see chapter "BASE I Business layer") and is passed on to the engine.

The engine arranges the execution information in an object tree (see chapter "BASE I Engine object model") and subsequently executes this tree structure from top to bottom to run different steering commands.

Technical range of the engine

We distinguish between Tosca Base Engine and specific engines (adaptors). Tosca Base Engine contains all the basic objects for processing automated test cases. From a technical point of view, it comprises the following components:

  • Engine.dll is a COM.dll which encapsulates the required classes. The Engine.dll file uses a set of basic objects (e.g. Services.dll, etc.).

  • Executor.exe is an executable file which is started for test execution and uses Engine.dll.

  • ToscaWizard.exe is an executable file, which starts Tosca Wizard for scanning definition data.

Tosca Base Engine has no control logic. The control logic is technology-specific and is therefore implemented in specific engines (Tosca HTML Engine, Java Engine, etc). From a technical point of view these are VB OCX files.

Other help files

There are additional help files (*.chm) for the components and adaptors of the Tosca Base Engine which describe various categories and interfaces. These help files are located under %TRICENTIS_HOME%\dll\Help.