Zowe

  • 1.  Testing Tools for Zowe Desktop

    Posted Tue June 28, 2022 12:50 AM

    We are exploring Use Cases for the Zowe Virtual Desktop, and one suggestion is to use Browser based testing tools such as Selenium to test 3270 applications via the 3270 Terminal Plugin.

    Our initial experiments have not been successful, so I am reaching out to the community to see if anyone has done this and can provide feedback as to what testing tools were used or what tweaks were required.



    ------------------------------
    Ryan Johnson
    ------------------------------


  • 2.  RE: Testing Tools for Zowe Desktop

    Posted Wed June 29, 2022 09:38 AM
    Hi Ryan,
    The use case of using Selenium to test 3270 apps using the Zowe terminal plugin isn't one it's optimized for, although it is an interesting use case.  What are the problems you're running into ?  There is a slack channel https://openmainframeproject.slack.com/archives/CC08782AG where you can reach the team who build the Zowe Desktop and they might be able to provide more detailed help. 
    Another thing to consider is the Galasa.dev product which might be a better fit as it's specifically designed and built to be a testing tool, and it supports record/replay of 3270 datastreams.
    Cheers

    ------------------------------
    Joe Winchester
    Hursley
    ------------------------------



  • 3.  RE: Testing Tools for Zowe Desktop

    Posted Thu June 30, 2022 05:00 AM
    So although ZOWE is not optimised for testing a 3270 application, the Galasa project https://galasa.dev is.  This is an open source integration framework with first class support for applications that use IBM Z as a platform.  One of it's capabilities is to write tests that can interact natively with a 3270 application.  These tests can also drive other functions on IBM Z or on other platforms.  Once built the tests can be invoked as part of a CI/CD platform.  

    Take a look at the website - which also contains a sample application and set of tests so you can get started easily.  If you need any further help/advice please feel free to join our slack channel (link on the website) and you can get in touch

    Good luck

    ------------------------------
    William Yates
    ------------------------------



  • 4.  RE: Testing Tools for Zowe Desktop

    Posted Tue July 05, 2022 09:07 AM
    Hi Ryan, Can u please elaborate like what did you try to do and what were the results ?? Can you please give us some test use cases, as an examples.
    We are not doing any UI testing for TN3270 in ZOWE desktop. The Text area of TN3270 cannot be inspected in a browser,
    However there are bunch of tools like Selenium that can be used to compare the screen captures. you can try providing the mouse(x and y position + mouse click ) and keyboard inputs( type text, press tabs, press enter and other keyboard functions) to replicate the user interactions with TN3270 and then can compare the current ScreenCapture with the expected ScreenCapture. Please let us know if this is what you are looking for and if this answers your question.

    ------------------------------
    Adarshdeep Cheema
    ------------------------------



  • 5.  RE: Testing Tools for Zowe Desktop

    Posted Mon July 11, 2022 01:54 AM
    Feedback from our testing team is as follows:
    "Using Selenium IDE i found it doesn't work with Zowe, specifically
                  You can launch the browser session for Zowe and login
                  But once you have logged in, it doesn't:
    • Detect clicks e.g. launching the Zowe TN3270 emulator or
    • Typing within the Zowe TN3270 emulator


    ------------------------------
    Ryan Johnson
    ------------------------------