Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Utilizing Maximo Selenium Framework and Recorder for MAS9

  • 1.  Utilizing Maximo Selenium Framework and Recorder for MAS9

    Posted Mon May 19, 2025 10:30 AM

    I recently went through the installation and setup document for the Selenium Framework and Recorder for Test Automation to be used for MAS9.  I set up the Eclipse IDE, including all the supplied jars and java configurations to be able to run test scripts.

    Next, I set up a local installation of Apache to serve the recorder JS files and configured the browser bookmark utilizing the script provided...

    I can log in to our old 7.6 Maximo environment and record a test; However, when I am in a MAS9 development region - the recorder does not launch at all...

    Has anyone run in to this issue before or have any properties or configs to check to resolve??

    Thanks,

     



    ------------------------------
    JRA
    ------------------------------


  • 2.  RE: Utilizing Maximo Selenium Framework and Recorder for MAS9

    Posted Tue May 20, 2025 09:14 AM

    @Justin Amig

    Possibly, the value of the system property
    mxe.sec.header.Content_Security_Policy needs to be updated to allow for the recorder files to load from the server.

    For updating the property value, you can go to System Properties application in maximo, filter for mxe.sec.header.Content_Security_Policy and add the recorder file path to the script-src section of the property value.

    For example, if the recorder file path is https://<RecorderFilePath> and if the global value of the property mxe.sec.header.Content_Security_Policy is set to:

    font-src 'self' data: https://1.www.s81c.com *.walkme.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com *.{{DOMAIN_NAME}}; style-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com *.{{DOMAIN_NAME}} 1.www.s81c.com *.ibm.com tags.tiqcdn.com *.tealium.com *.tags.tiqcdn.com *.trustarc.com prefmgr-cookie.truste-svc.net; img-src 'self' d2qhvajt3imc89.cloudfront.net data: *.walkme.com *.{{DOMAIN_NAME}} *.trustarc.com; object-src 'self' *.walkme.com; worker-src 'self' blob: ; frame-src *.{{DOMAIN_NAME}} 'self' localhost:* *.walkme.com *.segment.com *.trustarc.com; default-src https://* 'self' *.tealium.com *.tags.tiqcdn.com

    Then update the property value to:

    font-src 'self' data: https://1.www.s81c.com *.walkme.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://<RecorderFilePath> *.walkme.com *.{{DOMAIN_NAME}}; style-src 'self' 'unsafe-inline' 'unsafe-eval' *.walkme.com *.{{DOMAIN_NAME}} 1.www.s81c.com *.ibm.com tags.tiqcdn.com *.tealium.com*.tags.tiqcdn.com *.trustarc.com prefmgr-cookie.truste-svc.net; img-src 'self' d2qhvajt3imc89.cloudfront.net data: *.walkme.com *.{{DOMAIN_NAME}} *.trustarc.com; object-src 'self' *.walkme.com; worker-src 'self' blob: ; frame-src *.{{DOMAIN_NAME}} 'self' localhost:* *.walkme.com *.segment.com *.trustarc.com; default-src https://* 'self' *.tealium.com *.tags.tiqcdn.com 

    Save the property.

    After this, select the property using the checkbox and click on Live Refresh and logout.

    Log back in and try to launch the recorder.

    Please let me know if this works.



    ------------------------------
    Anjali Chauhan
    ------------------------------