How to test embedded data in Sisense Js with DB through Automation?

Comments

1 comment

  • Avatar
    Moti Granovsky

    Hi Sai,

    Sisense does not have any built-in tools for automated testing.

    To write automated tests on the end results of embedded widgets, I can suggest two possible approaches for you to research:

    1. If you would only like to ensure the data is correct, you can use Chrome Headless + the Puppeteer framework to capture HTTP responses, filter them to only the JAQL queries, sort by widget ID (so you know which "desired result" to compare to) and compare the JSON response.
    2. If you would like to check that visually the widgets display correctly, a tool such as Selenium might be useful. In this case the test would traverse the generated DOM and check that it is as expected.
    1
    Comment actions Permalink

Please sign in to leave a comment.