6 Replies Latest reply on Jan 7, 2017 6:04 AM by Tatyana Shevchenko

    javascript API - find Viz on existing dashboard

    Malcolm McRoberts

      I'm using selenium to run tests against Tableau dashboards.  The only documented way I found to obtain a Viz object was to create one as a child of an existing DOM element.

       

      Viz(parentElement: domNode, url: string, options: VizCreateOptions)

       

      If I publish out a dashboard from the Tableau server, is there a way to get a Viz object from an existing dashboard?  It seems like one should exist, unless Tableau generated dashboards use an completely separate API.  I'm probably not going to deliver a Viz inside a custom web page, so I'd like to test a Tableau dashboard directly.