简体   繁体   English

可以在Java或Android中进行自动化测试

[英]Automation testing in Java or Android possible

I am working on writing automation to test hardware (Wi-fi, Ethernet, Bluetooth, GPS and keyboard). 我正在编写自动化测试硬件(Wi-fi,以太网,蓝牙,GPS和键盘)。 Nothing is automated its all manual testing at the moment. 目前,没有任何东西可以自动完成所有手动测试。 the product will load a live USB OS and from there it will run a application. 该产品将加载实时USB OS,并从那里运行应用程序。 I need to write Java code which will launch the application, selects the proper options and spits out the pass or fail results. 我需要编写Java代码,它将启动应用程序,选择适当的选项,并吐出通过或失败的结果。 This all things needs to be developed in Java if possible or Android, I am not sure if I am allowed to use any existing third party tool. 如果可能的话,所有这些都需要用Java或Android开发,我不确定是否可以使用任何现有的第三方工具。

If this is possible to write on Java or Android are there any tutorials or if there any third party suggestions I appreciate information in general about this if this is at all possible and where to look for this information. 如果可以在Java或Android上进行编写,那么是否有任何教程或任何第三方的建议,如果可能的话以及在何处可以找到这些信息,我一般都欢迎您提供有关此方面的信息。

What you are looking for is Cucumber framework. 您正在寻找的是Cucumber框架。 It is a framework which automates the testing for you. 它是一个为您自动化测试的框架。 You write some calabash/ruby scripts and open up a port on your network and Cucumber takes care from there on. 您编写了一些葫芦/红宝石脚本,并在网络上打开了一个端口,Cucumber从那里开始照顾您。

Check this link: https://github.com/cucumber/cucumber/wiki Also see: http://cukes.info/ 检查此链接: https : //github.com/cucumber/cucumber/wiki另请参见: http : //cukes.info/

Also search for the cucumber_book by Matt Wynee if you can get one. 还搜索马特Wynee的cucumber_book如果你能得到一个。 It is a real good reference. 这是一个很好的参考。

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

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