Automation Test Engineer by Profession, Traveller by the Weekend

We learned how to set up Appium in the last Blog, in this one we will write our first test using Appium for Android and later for an iOS device in the upcoming blog.

Below is Appium Architecture

Image for post
Image for post

Required Softwares

Appium Setup

IntelliJ Idea ide

Let's start by creating a new project, we will be using the IntelliJ idea IDE for this project

  1. Select New Project.

Image for post
Image for post

An example to Fetch the daily petrol price using Python, pandas, BeautifulSoup


import requests
import pandas as pd
from bs4 import BeautifulSoup

Extract data from the Website

def getdata(url):
r = requests.get(url)
return r.text

htmldata = getdata("")
soup = BeautifulSoup(htmldata, 'html.parser')

Declaring required Variables

# Declare string var
# Declare list
mydatastr = ''
result = []

Searching for the variable in HTML data and storing

for table in soup.find_all('tr'):
mydatastr += table.get_text()

mydatastr = mydatastr[1:]
itemlist = mydatastr.split("\n\n")
for item in itemlist[:-5]:

Calling DataFrame constructor on the list using pandas

df = pd.DataFrame(result[:-8])

Saving to Excel using pandas and printing rates in console


Console Output

Image for post
Image for post

Jenkins is The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying, and automating any project.

Step 1: Install Homebrew.

Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.

Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

Homebrew complements macOS (or your Linux system). Install your RubyGems with gem and their dependencies with brew.

Type following command in terminal to install Homebrew

$ /bin/bash -c "$(curl -fsSL"

Step 2: Install Jenkins

Once Homebrew is installed, you can run the following command which will download and install the current Long-term support (LTS) version of Jenkins.

brew install jenkins-lts

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store