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
IntelliJ Idea ide
Let's start by creating a new project, we will be using the IntelliJ idea IDE for this project
An example to Fetch the daily petrol price using Python, pandas, BeautifulSoup
import pandas as pd
from bs4 import BeautifulSoup
Extract data from the Website
r = requests.get(url)
htmldata = getdata("https://www.goodreturns.in/petrol-price.html")
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
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
Homebrew complements macOS (or your Linux system). Install your RubyGems with
gem and their dependencies with
Type following command in terminal to install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
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