IBM i

  • 1.  Automation Testing ( iSeries RPG Screens )

    Posted Fri August 06, 2021 02:32 PM

    Planning to work on the automation testing using some framework ( For Example. Selenium, etc.,).

    Do you suggest any tool/framework to test the iSeries RPG screens?



    ------------------------------
    Todd O'Beda
    ------------------------------


  • 2.  RE: Automation Testing ( iSeries RPG Screens )

    Posted Mon August 09, 2021 09:02 AM
    Hi Todd,

    I would suggest to use a tool that can capture user actions on the green screen and expose that as an API. That way you can check for any change in behaviour on every commit/change by simply invoking the (set of) API(s). Make sure the tool uses solid identification technologies for screen identification though (a simple macro record and playback will probably not suffice). For more information see 'Step 2' in this article: API Strategy for Terminal-Based Applications

    Hope this helps,
    jeroen

    ------------------------------
    Jeroen van Dun
    ------------------------------



  • 3.  RE: Automation Testing ( iSeries RPG Screens )

    Posted Mon August 09, 2021 09:03 AM
    There are some commercial products. My company previously used a product called TestBench, and I think Arcad have an offering too. I've personally used neither so can't vouch for them.

    If you're prepared to build your own framework, we've made use of the xtn5250 and tn5250j emulators in the past, both of which I believe can be driven programmatically. One of those could be incorporated into the Java test runner of your choice - e.g. Cucumber-JVM.

    ------------------------------
    Martin Tosney
    ------------------------------



  • 4.  RE: Automation Testing ( iSeries RPG Screens )

    Posted Tue August 10, 2021 10:34 AM
    I believe that @Liam Allan among others did some work with Selenium a while back - not sure how far the project got - hopefully Liam will see this and respond.​​​

    ------------------------------
    Jon Paris
    ------------------------------



  • 5.  RE: Automation Testing ( iSeries RPG Screens )

    Posted Mon August 16, 2021 08:52 AM
    Todd,

    if you're looking for unit testing then arcad software have Arcad iUnit available

    Automate your Unit Testing on IBM i, with ARCAD iUnit

    Automated unit testing on IBM i – a developer's view of ARCAD iUnit

    we also have regression testing available, and of course both will embed in an automated DevOps pipeline as well,

    ------------------------------
    Adrian Tully
    ------------------------------



  • 6.  RE: Automation Testing ( iSeries RPG Screens )

    Posted Mon August 16, 2021 08:52 AM
    Automate your Unit Testing on IBM i, with ARCAD iUnit


    Automated unit testing on IBM i – a developer's view of ARCAD iUnit

    Todd, 

    we have a couple of short videos which go through the Arcad iUnit product which integrates with jUnit and can be embedded into your DevOps automated pipelines

    I hope they help

    ------------------------------
    Adrian Tully
    ------------------------------