Skip to Content
0

Unit test floorplan manager

Mar 02, 2017 at 04:55 PM

33

avatar image

Hi, I am looking for information regarding unit tests for fpm applications. I try it by using CL_WD_WEB_DYNPRO_TESTER. It is working for FPM_LIST_UIBB but not for FPM_FORM_UIBB. My Coding is basically like this. For some reason this is not working as expected. Do you have an idea, why? Or do you have an example for an fpm form unit test?

lo_input ?= lo_tester->get_view_element_tester(
                     view_id                 = 'V_FORM'
                     uielement_id            = lv_ui_id
    component_path          = 'FPM_FORM_UIBB_ZMIM_LO_OIF_FORM_HEAD_EHP5_00_'
                 ).

*                   CATCH cx_wd_web_dynpro_tester.  "

lv_value = '0003029013'.

lo_input->raise_change( value = lv_value ).

lo_input->raise_enter( ).
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers