1 of 1 people found this helpful
Depending on what you are looking for, you might make some headway using tabcmd. You could use the get command with query strings to set filter values or parameters on your view and request the view back as a csv or xml and using the returned file for validation.
Thanks for reply, Zac. Any other ideas?
I've also not worked out good techniques for debugging the Tableau API. I guess I need to use Firebug.
I'm sure there must be more than you and I out there.
What sort of testing? Functional? Regression? Are you looking to verify that certain charts return certain "correct, expected values" or just that stuff isn't blowing up...
Yes, I'm looking to verify that certain charts contain the correct expected values. I'm able to use Selenium with the Tableau JS API to create a Viz, select marks, get the marks, get the pairs off a mark, and verify the value. It's a bit clunky, but seems workable. I'm not able to select marks based on measure names (for sheets with multiple measures). I think that may be a bug. How to get valid filter values from JS API?
I've also had to introduce waits since I can't seem to get the Promise to wrok with Selenium's async execution.
It would also be nice if there was an easy to way authenticate without automating the login form. But this does match what the user's will see, so maybe that's best.
Is it possible to Use Tableau JS API inside Nashorn JS Engine? Thats because, I want to setup our automation in Java and I recently discovered Nashorn. It seems to be pretty cool.
I've tried the suggested:
The first didn't install properly and their support were slow to respond to my queries.
The second worked very well. It's easiest automation tool I've used though it is only for Tableau.
As with all things there are issues but it has been minimal with this product. There support were quick with replies though timezone differences did cause delay in reply.
I do wish they had a Linux GUI but you can't have everything. It didn't work with Wine. :-(
They do have CLI support for Linux so it's not all bad.
Did you end up purchasing one of the tools? I am looking into Automated testing and seems like these are the 2 main choices.