Maximo

 View Only
Expand all | Collapse all

Maximo Test Automation Framework

  • 1.  Maximo Test Automation Framework

    Posted Tue December 19, 2023 01:36 AM
    Edited by Samvid Shivram Tue December 19, 2023 01:36 AM

    Hello,

    I am unable to run a simple test and unsure what is causing the TestNG run to fail. Test result and bin file (test instructions) are attached.

    I am using firefox browser and the eclipse console logs is also attached. Any suggestions/inputs would be appreciated.

    System information

    App Server

    IBM WebSphere Liberty Server 23.0.0.8

    Server Operating System

    Linux 4.18.0-372.73.1.el8_6.x86_64 amd64

    Server Database

    DB2/LINUXX8664 11.5 SQL110580

    Version

    Maximo Integration Framework 8.7.0 Build 20231121-1343 DB Build V8700-09

    IBM Maximo Mobile 8.11.0 Build 20231117-1147 DB Build V81100-50 HFDB Build HF81100-04

    Maximo Application Framework 8.11.0 Build 20231121-0516 DB Build V7600-29

    IBM Maximo Reliability Strategies 8.0.0 Build 20230907-2054 DB Build V8000-04

    Maximo Manage 8.7.2 Build 20231121-1343 DB Build V8700-01 HFDB Build HF8720-07

    IBM Maximo Health, Safety and Environment 8.1.7 Build 20231031-1124 DB Build V8000-01

    Maximo Process Automation Engine 8.7.2 Build 20231121-1343 DB Build V8700-96

    IBM Maximo Connector for Envizi Applications 8.1.0 Build 20230828-1820 DB Build V7610-02

    IBM Maximo Health 8.9.1 Build 20231024-2319 DB Build V8910-02

    Device Information

    1920x953

    © Copyright IBM Corp. 2021,2023

     



    ------------------------------
    Samvid Shivram
    Nexer AB
    ------------------------------

    Attachment(s)



  • 2.  RE: Maximo Test Automation Framework

    IBM Champion
    Posted Wed January 03, 2024 05:39 PM

    Hi Samvid,

    Are you using the Framework for Manage?

    https://epwt-www.mybluemix.net/software/support/trial/cst/programwebsite.wss?siteId=1790&h=null&p=null#



    ------------------------------
    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    Australia
    ------------------------------



  • 3.  RE: Maximo Test Automation Framework

    Posted Tue February 20, 2024 02:02 AM

    Hi Maycon,

    Yes, I am using the same resources. 

    Have you had any success with this? 



    ------------------------------
    Samvid Shivram
    Nexer AB
    ------------------------------



  • 4.  RE: Maximo Test Automation Framework

    Posted Mon February 26, 2024 11:38 AM

    Hi @Samvid Shivram

    The automation framework supports MAS 8.10/Manage 8.6 and you're trying to use it against MAS 8.11/Manage 8.7, which it does not support. It's failing when trying to log in because the login screen changed between releases. If you want to use MAS 8.11, you would have to update the code in the framework to support the login screen.

    Thank you.



    ------------------------------
    Kristin Fernandes
    ------------------------------



  • 5.  RE: Maximo Test Automation Framework

    Posted Wed February 28, 2024 05:37 AM

    Hi @Kristin Fernandes

    Thanks for the clarification.
    Reading through the logs, I was able to find some of the class files and have updated the id/xpath of the elements (mainly username field, password field and continue button) as per the new login page for MAS 8.11. I have attached the modified files. Could you have a look and advise if there are more files to be updated?

    Thank you.



    ------------------------------
    Samvid Shivram
    Nexer AB
    ------------------------------

    Attachment(s)

    java
    Browser.java   108 KB 1 version
    java
    MASPageLogin.java   2 KB 1 version


  • 6.  RE: Maximo Test Automation Framework

    Posted Wed February 28, 2024 09:38 AM

    Hi @Samvid Shivram

    The MASPageLogin page should be the only file that needs to be updated in order to log into MAS 8.11. The IDs look correct to me so hopefully you've had a successful login after making the changes.

    Thanks!



    ------------------------------
    Kristin Fernandes
    ------------------------------



  • 7.  RE: Maximo Test Automation Framework

    Posted Mon March 04, 2024 04:18 AM

    Hi @Kristin Fernandes

    The framework is still unable to find specific web elements on the MAS login page. I have attached the logs along with the properties file and .bin file.
    Could you please have a look and advise? Thank you.



    ------------------------------
    Samvid Shivram
    Nexer AB
    ------------------------------

    Attachment(s)



  • 8.  RE: Maximo Test Automation Framework

    Posted Mon March 04, 2024 07:35 AM

    Hi @Samvid Shivram

    Please remember that you are trying to use the framework on an unsupported version of MAS. We offer support via our community for the supported version only. The community can be found here: https://community.ibm.com/community/user/asset-facilities/viewdocument/ibm-maximo-test-automation-framewor

    But since I can quickly answer your question I'll provide help with this one. If you go to Automation/framework/Page.java, you need to update line 25 to correctly reflect the login page.

    Thanks.



    ------------------------------
    Kristin Fernandes
    ------------------------------



  • 9.  RE: Maximo Test Automation Framework