I'm new to Amazon Web Services and I want to use Amazon Web Services'(AWS) device farm to run an Appium-automated-test against my built application. However, while automated testing using Appium and my test code works locally, uploading my configured test code (for Appium TestNG it's as a .zip file) doesn't seem to run properly, and even though my code calls for a snapshot, snapshots/screenshots don't appear in the AWS device farm runs.
I've configured my pom.xml file according to the specifications of the AWS Appium TestNG set-up but still the logs for my code don't appear.
So my question is this: is there a way to possible configure both my code and AWS device farm to function correctly with my code so that AWS takes screenshots of the app as the code is executing? And also is there a way to verify whether or not my code is actually running?
Thanks,
Ilian
Are you working with jdk version 8?
If yes then downgrade it to version 7 because for now device farm doesn't work with jdk 8.
And check locally if your appium logs is displaying correct version after downgrading to jdk 7.
Related
One of our E2E tests involve checking whether the sample apps for our SDKs work properly. To do that, we would just mimick the end user behaviour (download the sample app zip file, unzip it and run npm start) and the tests pass if the server starts in http://localhost:3000.
Now the problem is that while the test suite is running, we cannot run anything on port 3000, as the sample app instances keep getting started and killed for the E2E tests. This brought the following question into my mind.
Is there any way to configure Cypress to open this sample app servers inside a cypress supported sandbox environment, instead of opening in a new tab of one of my working browser windows?
Thanks in Advance.
Can we run the CodeCeptJS works on AWS device farm? Did not see the CodeCeptJS dropdown test methods like Appium TestNG etc.
With Device Farm's custom environment, almost any test library/framework can be used. These test types do not require the test package to be parsed currently:
Appium Node
Appium Ruby
If you upload the test package as one of those you can then author the testspec.yml file to execute the tests the same way they're executed locally.
I am trying to do a PoC on how to achieve continuous integration and deployment using VSTS.
I have been successful in the build process i.e. from VSTS it will pull the code (asp.net based application) and build. The build process is also getting successful.
Now after the build is done I want to deploy the application and run my maven based selenium test cases written in java on the application. This is the part where I am struck. As in the deployment step it is not able to put the artifacts to the remote path that I am mentioning.
Can anyone please provide me some pointers on how to achieve the deployment on a remote machine and then run the java based test cases on this application?
Any pointers would be greatly appreciated.
Ok..here is the complete scenario...
1. I have the asp.net code on cloud in my vsts
2. I have been able to add a build step and create the artifacts successfully
3. Now I have a IIS server where i want to deploy these artifacts, and the server is not accessible from the public network and is behind a firewall.
Hence I am looking for any task that would help me achieve this. I am not sure of the complications that might arise due to the firewall and hence am trying out different methods to understand the complete big picture.
I received a reply here to use the Win RM tasks. I used that but it is giving a 53 error and not able to connect to the server that I am trying to deploy the code on.
To deploy asp.net based application, you can use IIS Web App Deployment step/task to deploy to your server or deploy to azure web site by using Azure App Service Deploy step/task.
To do Java test, there is a Maven step/task.
I have a web app running on Heroku from which I need to build and make available a JAR file when a user of the app requests it. I also need to run ProGuard on the generated JAR file. Is it possible to do this on Heroku?
We're working on exposing Heroku build infrastructure as services and what you describe is a use case that we want to support. You might be able to get something working by using or reverse-engineering heroku-push: https://github.com/ddollar/heroku-push
Here's the server-side bit that actually builds code: https://github.com/ddollar/anvil
Ryan Brainard has built a Java wrapper for Anvil: https://github.com/ryanbrainard/janvil
I have been trying hard to deploy a java application through cloudfoundry into an Amazon EC2 instance using the console as described in this screencast video on cloud foundry.
http://classic.cloudfoundry.com/screencasts.html
but only failing to get the console where I can deploy by choosing a war from the local file system, as explained in the video..
What is the correct URL where I can find a console similar to the one shown in the video ??
And I have already tried signing up for the url http://classis.cloudfoundry.com, but not getting an approval or acknowledgement mail from the team even after 4 days..
Did anyone face similar issue in the recent times?
If yes please help!
The Cloud Foundry Classic service (at http://classic.cloudfoundry.com) is no longer accepting new accounts.