简体   繁体   English

Tableau的自动化测试

[英]Automation Testing Of Tableau

I am trying to automate the testing of tableau reports. 我正在尝试自动测试tableau报告。 So I am looking for some directions and framework that I can use for automation testing of Tableau using groovy, gradle and selenium. 所以我正在寻找一些方法和框架,我可以使用groovy,gradle和selenium来自动测试Tableau。 The tableau contains reports and charts which are not easy to test as it is difficult to locate the elements on the back end as they are in canvas. 该画面包含不易测试的报表和图表,因为很难在后端找到元素,因为它们在画布中。 Any experience with this issue and the approach you are following will help me too. 任何有关此问题的经验以及您所遵循的方法也会对我有所帮助。 Thanks in advance 提前致谢

I highly recommend looking into the spock testing framework and geb. 我强烈建议调查spock测试框架和geb. For UI testing of web apps, geb is very helpful. 对于Web应用程序的UI测试,geb非常有用。 Search for the Book of Geb. 搜索Geb书。

See http://spockframework.org/ and http://www.gebish.org/ http://spockframework.org/http://www.gebish.org/

Since you are already using groovy, these should look very familiar. 由于你已经在使用groovy,这些应该看起来非常熟悉。 They are great tools. 它们是很好的工具。 Spock works in a JVM world (so your app can use any JVM language). Spock在JVM世界中工作(因此您的应用程序可以使用任何JVM语言)。 Use Spock for unit and integration tests. 使用Spock进行单元和集成测试。 Geb works as a simulated web client (the system could be written in any language). Geb用作模拟Web客户端(系统可以用任何语言编写)。 Use Geb for end to end tests. 使用Geb进行端到端测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM