Good afternoon, guys. Back to my routines, it is time to post some knowledge ?
![]()
In this article, i would like to tell you about preparing our Jenkins server to run QA Testing so your QA can automate their tests. How to download word on mac from outlook. In my test, i used my mac as Jenkins server. So if you have another UNIX system, this article might work for you ?
There are some steps to make Jenkins can doing QA Automation in Android, iOS, and Web.
Apache Maven 3.2.5 Download
Download Maven from its homepage; Follow the installation instructions: Extract the distribution archive, i.e.apache-maven-3.3.9-bin.tar.gz to the directory you wish to install Maven 3.3.9. The subdirectory apache-maven-3.3.9 will be created from the archive. The Apache Maven team would like to announce the release of Maven 3.3.9. Maven 3.3.9 is available for download. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting.
In this guide, Jenkins will have one node which is in the same Mac as Jenkins itself.
Jenkins Preparation
Maven 3.3.9
You can download the archive file from https://maven.apache.org/download.cgi, then extract it to /opt/ directory.
After it’s extracted, change the owner of the directory to jenkins and add its path to .zshrc.
Add Path to .zshrc
![]()
Add Path in Jenkins system configuration:
Java
You could install Java using this instruction: https://java.com/en/download/help/mac_install.xml
To verified that java is installed, you can check it by:
You can also add Java’s Path to your environment:
Android SDK
You can download the latest SDK command line tools from: https://developer.android.com/studio/index.html?hl=sk
Extract the archive file then add it to your $PATH
If Jenkins can’t access Android SDK, you could extract the archive file once again in other directory such as /opt/ and change the owner of the directory then add its Path to Jenkins system configuration.
Appium
You can install Appium on your Mac using
npm :
To check if your environment is already suit to do Android and iOS automation with Appium, we can install appium-doctor.
After it is installed, check it like below:
If there is some item that not checklisted by appium-doctor, you can repair it is installed correctly.
Maven 3.3.9 Download For Mac Windows 10Chrome driver & Safari driverMaven 3.1.1 Download
You can install chrome driver using brew command like below:
To install Safari driver, you can follow this instruction:
Apache Maven 3.6.1 DownloadSetting Jenkins Node
Because of Jenkins user in our Mac is headless (has no GUI), we can use our user as Jenkins Node. This configuration will help us to run Web QA Automation.
Maven 3.3.9 Download Windows
Macos sierra cant download pioneer djm900nxs2 driver. On the Jenkins configuration create new Jenkins Node as follow:
Make sure this node is connected to the Jenkins server, usually we can just configuring from this setting page.
Make Jenkins Job
Create jenkins job like below:
On the build step, you can see the Maven Goals, you can ask the QA team what command to run their script.
Maven 3.3.9 Download For Macbook Pro
Last:
Before run the jenkins job, don’t forget to run the appium server from your terminal and specify which port which you’ll use to run the test.
Note:
If you want to run iOS and Android QA Automation, you need to specify the appium server, make sure you have the same version as the QA.
Office for mac 2011 free download crack. If you want to run web QA automation, you can select the node you have created before, so that jenkins can open browsers to run automation.
To run iOS QA Automation, you need to install the same XCode as the QA team requirements. If you have multiple XCode on your Mac, you need to set the default XCode using XCode Command Line Tools.
If your iOS test can’t launch the App because of error Instrument Exited with error code 253, you can try to restart your Mac, or if you have multiple XCode, try to reselect the default XCode to use by Appium.
For example, in the first try QA ask to use XCode 7.3. And you have XCode 7.3 and XCode 8.2, try to select the default to 8.2 first, then turn it back to 7.3.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |