After receiving lot of requests seeking information around Component Based Test Automation (CBTA), I had decided to write a blog post series. This is the first one!
CBTA is a test automation tool present in SAP Solution Manager (SAP SolMan), and the usage right is available for all enterprise support customers. The tool helps in creation of modular test cases which are made of components. The user can record a transaction or a SAP web application as a normal business user, subsequently, CBTA would create a modular test in SAP Solution Manager.
So, what’s big deal? – The CBTA generated tests are made of default and screen components. The default components typically signify user actions e.g. pressing of enter key, navigation to menu item, etc while the screen components represent a screen or sub-screen which does the input for application under test. The screen components are easier to repair or recreate if the application under test changes, which leads to much easier maintenance.
Many default components are pre-shipped by SAP, and it’s available in SAP Solution Manager, while the screen components are created automatically, when a particular screen is accessed while doing the recording. It’s also interesting to note that the screen components are created by accessing the DDIC from the System Under Test, and also the input fields are automatically parameterized. The process of the screen component creation is called Inspection.
The CBTA generated tests would have the following:
The CBTA generated test scripts can be seen in an environment called Test Composition Environment (TCE). TCE provides powerful environment not only to trigger test script creation, but makes edit of the test script easier in the following manner:
CBTA was launched in 2012 in SAP SolMan 7.1 SP07, and it was supporting following UI technologies:
With SAP SolMan 7.1 SP10, CBTA started supporting automation of the following UI technologies over and above the ones already mentioned before:
With SAP SolMan 7.1 SP12, CBTA also started supporting automation of SAP UI5. CBTA generated test for SAP UI 5 application is currently using only default components.
The above mentioned information can be simply put in the following table:
The component used by CBTA has following parameters which are classified in the following:
The parameters are also classified on the basis of usage:
Generally, a suitable Export parameter is exposed, so that end-to-end test can be created.
In the next post, I will explain several of ways of executing a single CBTA test and passing of multiple data iterations via a Test Data Container.
Other relevant Blogs:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
17 | |
13 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 |