on 04-02-2014 12:02 PM
Is there any way to implement/execute some kind of unit tests for floorplan manager applications? I would like to write some automatically reproducible tests but cannot find any solution/framework for it.
Thomas
Hi Thomas,
I think we can do unit tests with FPM Feeder Class using ABAP Unit Wizard
Using the ABAP Unit Wizard - Test and Analysis Tools in ABAP - SAP Library
Also, you may want to take a look at this ABAP mocking framework by Uwe Kunath
Hope it helps. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nguyen,
I don't think this will work the way I thought about. What I want is not to run tests on the functionality behind the GUI, for which I can use ABAP Unit tests. I would like to verify that the GUI/application behaves to the user always as expected. For example, in my FPM applications I have a complex logic which UIBB elements are presented to the user according to the data the user has supplied. So I need some functionality to fake user input in some way (press a button, input to some text field, etc.) and to check how the GUI/screen behaves.
Thomas
Well then you might want to look at eCATT for Web Dynpro or ABAP Selenium
http://service.sap.com/sap/support/notes/948076
Hope it helps. Cheers!
Dear Thomas,
Nguyen is right. Either you mock the behavior directly in the UI (then no ABAP Unit is needed). Or you are using GUIBBs with feeder classes and use ABAP Unit which requires you to call methods like FLUSH or PROCESS_EVENT in the ABAP unit test manually.
I tried it myself and it works pretty straight forward. All you would have to to is to
Regards,
Uwe
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.