IBM i Global

 View Only
Expand all | Collapse all

Automation Testing ( iSeries RPG Screens )

  • 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 )

    IBM Champion
    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 14, 2023 04:13 PM

    Thank you, I appreciate you.



    ------------------------------
    Juan Marks
    ------------------------------



  • 4.  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
    ------------------------------



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

    IBM Champion
    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
    ------------------------------



  • 6.  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
    ------------------------------



  • 7.  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
    ------------------------------



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

    Posted Mon July 17, 2023 09:49 AM

    Any load testing tool for built-in green screens (iSeries RPG Screens)?



    ------------------------------
    Farhan Ghani
    ------------------------------



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

    IBM Champion
    Posted Tue July 18, 2023 04:30 AM

    Hi Farhan,

    It sounds like you might be looking for a solution like Rocket DevOps Test... you can read more about the features and capabilities here: Rocket DevOps Test concepts

    Thanks,

    Jeroen



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



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

    Posted Tue July 18, 2023 06:45 AM

    Hi Jeroen,

    Thanks but I'm looking for iSeries RPG Screen supported load testing tool where I can have result in terms of throughput of let's say 500,000 users.



    ------------------------------
    Farhan Ghani
    ------------------------------



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

    IBM Champion
    Posted Wed July 19, 2023 02:25 AM
    Edited by Satid Singkorapoom Wed July 19, 2023 02:43 AM

    Farhan

    If you watch this Youtube video: DevOps test – IBM i screen record and playback at https://www.youtube.com/watch?v=OeA2EQwIJ3A&list=PLrS4TQFvievT4zH9iy051kZh_ZTExvYkl&index=3, you will see that RDO serves one main basic capability that you need for what your asked for.  The next question you need to ask Jeroen is whether RDO can also help automate play back on a massive number of 5250 sessions on multiple PCs (from one control PC)?  Then you may ask if it can measure the response time of each transaction as well as overall average response time and whatever else you want to know. 


    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



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

    IBM Champion
    Posted Wed July 19, 2023 05:02 AM

    Hi Satid,

    RDO was designed to scale: the playback/load generation is done by independent agents that can run on any platform (Windows, IBM i, Linux, ...). 

    Farhan, you mention 500000 users - is that the number of peak concurrent users or the total number of users on the system? I would be happy to jump on a quick call to learn more about what you are looking to achieve/prove?

    Thanks!

    Jeroen



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



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

    Posted Wed July 19, 2023 05:28 AM

    It is peak number of concurrent users.

    Please share time and contact details to connect on this subject.

    Thanks!



    ------------------------------
    Farhan Ghani
    ------------------------------



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

    IBM Champion
    Posted Thu July 20, 2023 03:41 AM

    Hi Farhan,

    You should have a message with my contact details in your inbox. 

    Thanks,

    Jeroen



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



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

    Posted Tue August 15, 2023 01:39 AM

    Hi there,

    you can use the Virtual Terminal Session Technology from System & Method. I am a distributor of that product and with this you not only can test your 5250 Screens but also can remote control them. That means. you can enter and get information to/from the screens. With this technology we create new Webservices and Microservices within minutes or hours instead of weeks and months.

    You can all do that with RPG or Cobol (or ILE C / C++). So it is also very fast.

    If you like to have more information or examples please tell me.

    Kind Regards

    Markus A. Litters



    ------------------------------
    Markus A. Litters
    ------------------------------