Professional Documents
Culture Documents
Software Engineering in Test
Software Engineering in Test
● Nama
● Password
● Repeat password
● ID number
● Address
● Date of birth
2. Kindly create automated API testing for this API below (positive and negative
test-case)
○ GET: h
ttps://www.metaweather.com/api/location/search/?query={city}
■ Parameters:
● city (String): i.e: london
■ Response:
● Status: 200
● Header: Content-Type:application/json
● Body:
[
{
title: "London",
location_type: "City",
woeid: 44418,
latt_long: "51.506321,-0.12714",
}
]
○ GET: h
ttps://www.metaweather.com/api/location/{woeid}/
■ Parameters
● woeid (numbers): i.e.: 44418
■ Response:
● Status: 200
● Headers: C ontent-Type:application/json
● Response
●
{
consolidated_weather:[
{
id:4730776056758272,
weather_state_name:"Showers",
weather_state_abbr:"s",
wind_direction_compass:"WSW",
created:"2019-08-07T09:05:01.691141Z",
applicable_date:"2019-08-07",
min_temp:15.23,
max_temp:22.47,
the_temp:23.02,
wind_speed:8.040162114480767,
wind_direction:246.83435580664434,
air_pressure:1006,
humidity:59,
visibility:9.269926131392666,
predictability:73,
},
],
time:"2019-08-07T10:19:40.125561+01:00",
sun_rise:"2019-08-07T05:32:49.573326+01:00",
sun_set:"2019-08-07T20:38:47.772273+01:00",
timezone_name:"LMT",
parent:{
title:"England",
location_type:"Region / State / Province",
woeid:24554868,
latt_long:"52.883560,-1.974060",
},
sources:[
{
title:"BBC",
slug:"bbc",
url:"http://www.bbc.co.uk/weather/",
crawl_rate:360,
},
],
title:"London",
location_type:"City",
woeid:44418,
latt_long:"51.506321,-0.12714",
timezone:"Europe/London",
}
3. Please write an automation script using any test automation script (except for Katalon)
for page below:
○ https://www.seleniumeasy.com/test/basic-first-form-demo.html
○ https://www.seleniumeasy.com/test/basic-select-dropdown-demo.html
Create query to show employees with: