If a CBTA test script fails, you can execute the components (test steps) one at a time. Component-Based Test Automation provides a graphical overview of the test (steps) and displays the corresponding UI components.
The CBTA debugger allows you to debug a test at component level, without seeing the Visual Basic Scripting (VBS) code, so you see the actual state of the tested application UI, and input and output parameter values.
Note
To examine the code, you can use the Microsoft Visual Studio debugger. Do the following
In Microsoft Visual Studio, choose
.Next to the Attach To drop down list, click Select and choose Script.
In the Test Repository, select a CBTA test script, and choose Execute.
You go to the Start Options screen.
On the UI Control tab page, in the Mode for External Tool field, select Debug Mode.
Choose Execute.
The CBTA debugger starts. A graphical overview of the test steps is displayed.
Choose Run.
The test script steps are executed while the corresponding UI components are displayed.
You have the following options:
To insert breakpoints, choose the Toggle Breakpoint button.
The following shortcuts are available:
Toggle Breakpoints: F4
Run: F5, F8
Skip a component: F6, F10
To change parameter values dynamically, double-click them in the table.
To examine the code, choose the Start External Debugger pushbutton.
To identify errors (on request by the SAP support, for example), display the CBTA logs:
Under MS Windows, choose
.On the Log tab page, choose View Log.