cancel
Showing results for 
Search instead for 
Did you mean: 

CBTA 7.2 Solution Manager - FIORI App Testing

sid_dollin
Explorer
0 Kudos

Hello Experts,

Has anyone come across automating SAP FIORI apps using CBTA with Solution Manager 7.2 ?

Could you please share your experience on FIORI apps testing using SAP CBTA? Thanks in advance.

Any information is useful.

With Regards,

Siddappa Dollin

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

You can Create a CBTA test configuration for FIORI, I did PCO this week and managed to record most of FIORI tiles , though dynamic objects behaviour throu challenges.

19 Likes 3,463 Views 14 Comments

CBTA (Component Based Test Automation) as being an integrated tool into SAP Solution Manager 7.2 for creating automated test scripts for various UIs including SAPUI5 is possible

Alongside the SAP GUI (Graphical User Interface) and WebDynpros earlier ad default interfaces for SAP-Applications. This time the introduction of SAPUI5 and FIORI – with the modern and flexible framework SAP created a completely new and appealing frontend for their applications same time challenges for AR application recording tools like CBTA. the importance of testing FIORI applications has increased with that trend. CBTA also supports the frontend scripting of those FIORI Applications and there are good documentations for the same on help site.

The overall supported UI technologies are the following:

UI Technology Description SAP GUI UI Technology used by SAP Transactions

SAP GUI content displayed in MS Internet Explorer

Web / Plain HTML UI Technology used by non-SAP applications WebCUIF UI Framework used mainly SAP CRM Web UIs. SAP UI5 & FIORI UI Framework used by SAP UI5 and Fiori apps Unified Rendering Light Speed

(LS)

UI Framework common to SAP Applications such as:
  • Web Dynpro Application (ABAP)
  • Web Dynpro Applications (Java)
  • • SAP GUI for HTML

    BSP Applications based on Business Server Pages Java Web Dynpro Layer formerly used by Java Web Dynpro applications.

    Follow link here :

    Preparation: Add a FIORI Executable

    In case the needed SAP FIORI Application is not in the execution library, you can easily add it manually to your solution. Therefore, navigate to the SAP Fiori apps reference library and search for the app by name, application or industry. In our case we’ll look for “Create Incident”.

    It is important that you select the correct backend product. As a next step navigate to the “IMPLEMENTATION INFORMATION” tab and open the selection “Configuration”.

    In the configuration section you will find some technical information about the application. For the executable we need the information listed in the section “Target Mapping(s)”.

    Now we have the necessary information, to add the executable to the execution library. Navigate to the Solution Documentation –> “Execution Library”. Perform a right click in the Elements Area of the respective executable folder and select the option “New Executable Element”.

    A pop-up window will appear, where we need to maintain the fields with the information from the Target Mapping(s):

    • Library Element Type: Fiori Application <Exec. Orig.>
    • Name: Process step name/App name and the App ID e.g. Create Incident (F2128)
    • Object: The Semantic Object e.g. Action
    • Action: The Semantic Action e.g. SMCreateIncident

    The SAP FIORI Executable is now created in the execution library and can be used for scripting.

    Create a Test Configuration

    After adding the executable, we can now use it in an automated CBTA Script (Test configuration). For this, we need to navigate to the respective process step (in our case: “PS_Create_Incident”) and add the executable before creating a test configuration. Perform a right click in the elements area and choose “New” –> “Executable”. Search for the recently added executable and click on “OK”.

    After adding the FIORI Executable in the correct Solution Documentation node, we are prepared for creating a test configuration. Therefore, perform a right click in the elements area again and choose “New” –> “Test Cases” –> “Test Configuration (Create)”. Fill out the necessary fields and click on “OK”.

    Make sure that all the necessary fields like “Target System”, “Executable” and “Test Profile” are filled out. In case they are not, navigate to “Goto” –> “SUT Management” and check the sections “Technical Destination” and “Business Destination Enhancement Details”.

    Since CBTA supports both the recording and execution with the Chrome-Browser, change the CBTA Settings according to the browser you are using before starting recording the script. Please see the following video about how to do the recording.

    AjayHS
    Product and Topic Expert
    Product and Topic Expert
    0 Kudos

    Hello Phaneendra,

    We have just delivered a project on CBTA automation of Fiori apps and we did not face any major issues which are show stoppers.

    CBTA is stable wrt automation of FIORI apps.

    Please look into the Test Note which talks about CBTA Known issues to validate if you have any particular functionality which are specified in this note.

    Thanks,

    Aj

    former_member479430
    Discoverer
    0 Kudos

    Hi Dollin

    Any luck with CBTA Testing with Fiori?

    we are busy with CBTA using Fiori Apps , looks like there are lot of issues?

    Whats your view?

    Kind Regards

    Phaneendra K

    0 Kudos

    Hi Siddappa,

    Please refer KB: https://launchpad.support.sap.com/#/notes/2436142

    I have not tested it though but as per that KB, CBTA has support for following UI Technologies for recording and execution:

      • SAP GUI
      • SAP CRM based on HTMLB (Webcuif) : 7.0 SP12+, 7.0 EHP1 SP8+, 7.0 EHP2 SP2+, 7.0 EHP3
      • SAP Web Dynpro : 7.02 SP5+, 7.30 SP1+, 7.31 SP10+, 7.40 SP5+
      • SAP Java Web Dynpro: 7.02 SP13+ ,7.30 SP1+, 7.31 SP10+, 7.40 SP5+
      • SAP UI5 / FIORI
      • SAP Portal (execution supported, the recording need some manual adjustment when the ids are not stable) : only version 730 SP9 supported. Other versions may work, without guaranty nor support

      Warm Regards,

      Govardhan Palla

      http://easy2autotest.blogspot.co.uk