How to run Appium tests with WebdriverIO (Android) in Azure DevOps Pipeline - java

I have a test that I want to run in Azure DevOps Pipeline. I'm using Appium and WebdriverIO.
I have done it locally and it worked fine. I have installed an Android emulator from Android Studio and set the SDK and JDK paths.
The problem now is that I need to create a pipeline to run the test. I have no idea how should I do it.
How should I set the SDK and JDK in Azure DevOps. For your information, I don't use YAML. I use classic editor.
I know how to create a pipeline to run Cypress tests. But Appium, Nope

Related

Google App Engine SDK deprecation effecting my Framework application

I have application which is developed in Play framework 1.x and running on Google app engine Standard Environment.
And below is the way I am deploying the application GAE.
Command- play gae:deploy
But this command internally calling "appcfg" from GAE Cloud SDK.
So now I have to change my deployment procedure.I have tried to deploy using Cloud SDK as recommended by Google Document.The base command which - "gcloud app deploy".
I have checked the Google Cloud documentation And found that they are recommend to use Java11 for GAE standard Environment with app.yaml file.
But I want to use Java8 only as of now for GAE standard env.
But while deploying its giving warning as below-
WARNING: Automatic app detection is deprecated and will soon be removed. As an a
lternative, create an app.yaml file yourself using the directions at https://clo
ud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
(App Engine Flexible Environment) or https://cloud.google.com/appengine/docs/sta
ndard/python/config/appref (App Engine Standard Environment) under the tab for y
our language.
Deployment to Google App Engine requires an app.yaml file. This
command will run gcloud beta app gen-config to generate an app.yaml
file for you in the current directory (if the current directory does
not contain an App Engine service, please answer "no").
If I have to build app.yaml file for my java based GAE standard application what will be the structure for that?
If app.yaml file is not possible for java8 GAE application what will be the structure of appengine-web.xml for deploying this application using command
"gcloud app deploy"
There is one more alternative is ,I should migrate the application maven based application. But right now I don't want to migrate to maven tool.
They explain how to migrate here, basically get the Cloud SDK and instead of appcfg command, you’ll have to be using gcloud command.
To your questions:
1 - An app.yaml is not required for Java8 Standard Environment
2 - To deploy a Java8 app with maven to GAE Standard you will use the command mvn appengine:deploy
3 - This documentation explains how the migration to CloudSDK based Maven plugin. And this one explains the migration to Cloud SDK based Gradle plugin

Ionic android side run issue

I am creating application in IONIC framework. I have done with all the basic installations and able to launch the application in browser using ionic serve command.
Now, I want to run the application in Real Android Device. I used following command to execute the same.
ionic cordova run android --device
Among the most of the issues I faced, I stuck at following error, which I could not able to tackle out.
CordovaError: Requirements check failed for JDK 1.8 or greater
I have centos 7.
I have installed JDK 1.8 in the system and set its path /usr/java/jdk1.8.0_161 to both JAVA_HOME and PATH.
Can any one help me.
Thank You

how to run GWT web application with google app engine server localy

I have updated eclipse using this Cloud Tools for Eclips and also updated GWT pluings using this GWT Eclipse Plugin
I did all the updation using above links. i did not updated maven integration because mine project is not maven project. now i have created sample GWT web application i can run this using GWT Development mode with jetty then output will come it runs successfully. when i click on run as then i can run this project using development mode and with getty mode and with lagacy mode.
why am i not getting run this project using google app engine server?
how can run gwt sample application with google app enginer server?
Any help
thanks in advance
See the instructions in the Cloud Tools for Eclipse → Migrating from the Google Plugin for Eclipse.

RegisterActivity: cannot be resolved to a type, AppEngine

I have set up my computer with windows 8.1 completely new (formatted), to be sure to have a working system.
I have installed Eclipse and the plugins the following way:
download and unpack eclipse Kepler
install JDK
install android SDK
install android SDK-plugins in eclipse
in android sdk: install all extras, API 19, in tools: Android SDK Tools, Android SDK-Platform Tools, Android SDK Build Tools (only newest, 19.0.3)
install all google plugins for kepler(Google App Engine Tools for Android, Google Plugin for eclipse, GWT Designer for GPE, SDKs)
Now, is everything set up correctly, to use google app engine correctly?
When I create a new app engine connected android project, google creates a bugged project.
I have 50 errors, of which 49 can be resolved by changing the Java version from 1.4 to 1.7 in the app engine project (Properties: Java Compiler and Project Facet)
However in the non-appengine project, in the MainActivity I get following error:
RegisterActivity cannot be resolved to a type.
How to solve this? I did not do anything by myself yet, I only created a project and I already have an error...
You are very thorough, which is good. Your development installation appears to have flaws, and you might be trying to make it run before you have seen it walk. You need to divide and conquer the potential problems. Initially simplify what you aim to create.
To pinpoint the errors, try the two standard tutorials before starting on your own design: first build and deploy an AppEngine project without Android components, and only after that works, build and deploy an Android to AppEngine project. Somewhere along that process your errors will show up, and then you should have a more specific piece of source code to show and discuss in this question.
Yesterday, a new version of Android SDK (22.6.2) was released. Apparently, the problem with RegisterActivity was solved in this update. Now I can create an Appengine connected Android Project without any errors!

Difficulty in Installing Windows Azure Access Control Services filter plugin for java in eclipse

I'm trying to install the ACS plugin using this link http://msdn.microsoft.com/en-us/library/windowsazure/hh690946.aspx
But, I'm getting this error.
Cannot complete the install because some dependencies are not satisfiable
com.microsoftopentechnologies.acsfilter.feature.feature.group [0.2.0.201211010928] cannot be installed in this environment because its filter is not applicable.
Any idea what needs to be done?
I've Eclipse Juno
Are you on Windows or non-Windwows OS? As documented here this plugin requires Windows Azure SDK 1.8 in the machine and without it you will hit error:
This plugin requires Windows Azure SDK 1.8. This can be downloaded using the Web Platform Installer (WebPI) at http://go.microsoft.com/fwlink/?LinkID=252838. However, if you don’t have it installed, when you create your first Windows Azure deployment project, the plugin will automatically install Windows Azure SDK 1.8.
You can get an test Windows machine to give a try first and then learn how you can port the code to other machine. Not a clean way to achieve what you want but at least you have some option.

Categories