awslabs / aws-device-farm-jenkins-plugin

Jenkins plugin for AWS Device Farm.
Apache License 2.0
89 stars 66 forks source link

Jenkin job does not allow to configure webview without any apk #28

Open cloudtestsoftware opened 8 years ago

cloudtestsoftware commented 8 years ago

Suppose if I like to test webapp amazon.com or walmart.com in the browser using mobile or device with appium and java, I am not able to configure the job without any apk. Shall I need to provide a fake apk to test webapp?

I just only want to upload my test framework and test script without any apk and run the test only in browser. How should I configure the jenkins job and what packaging I need to do?

zhaohongda commented 8 years ago

Device Farm has release the mobile web test support for Chrome and Safari.

You may want to take a look at https://aws.amazon.com/blogs/aws/aws-device-farm-update-test-web-apps-on-mobile-devices/

cloudtestsoftware commented 8 years ago

Could you please send me the link of the sample web view automation script for amazon you used in this example in your link.

Also let me know steps how can I configure to pass this automation script zip file using AWS Device Farm plugin using Jenkins

My Jenkins steps are as follows

1) I will run a parametrized build which will compile my TestNg classes which has selenium test script for our responsive HTML5 application which should be tested in Android and iphone devices. The build will create a zip file consists of all runtime jar with XML configuration and data

2) The post build action should use AWS Device Farm plugin in Jenkins and upload the ZIP file to AWS Device Farm for test

3) The tests should be executed and report and logs should be transfer from the Device Farms to my location in the Jenkins server.

Please let me know how I can achieve this goal with some sample program and configuration steps in the jenkins to test that this process works.

zhaohongda commented 8 years ago

Device Farm published some sample codes for mobile web test on https://github.com/awslabs/aws-device-farm-sample-web-app-using-appium

The mobile web test is supported through Console, CLI and SDK. Jenkins support is still on-going.

ghost commented 7 years ago

Up voting this feature. Currently, there's no way to select a Web App test.

zakirhere commented 7 years ago

Any idea if this will be supported in near future?