# Automation Week Challenges October 2020 - Web UI

**URL:** <https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665>\
**Category:** Archive\
**Tags:** challenges\
**Created:** [7 October 2020 17:03 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665 "2020-10-07T17:03:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![friendlytester](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/friendlytester/32/14436_2.png) [@friendlytester](https://club.ministryoftesting.com/u/friendlytester)\
**Post date:** [7 October 2020 17:03 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/1 "2020-10-07T17:03:02Z")

</div>

All the following challenges are focused on Web API automation.

## Automation Week

These challenges are part of [Automation Week](https://club.ministryoftesting.com/t/what-is-automation-week/43663). Complete them for your chance to talk at Test.bash(); about your approach and experience.

## Application

The application for this challenge is Restful Booker Platform. More about the application is available [here](https://club.ministryoftesting.com/t/automation-week-test-applications/43664). You can also ask questions related to the application there.

# The Challenges:

Complete these challenges using any tooling of your choice.

### Beginner:

Create an automated test that completes the contact us form on the homepage, submits it, and asserts that the form was completed successfully.

### Intermediate:

Create an automated test that reads a message on the admin side of the site.

You’ll need to trigger a message in the first place, login as admin, open that specific message and validate its contents.

### Advanced:

Create an automated test where a user successfully books a room from the homepage.

You’ll have to click ‘Book this Room’, drag over dates you wish to book, complete the required information and submit the booking.

## Questions

If you have any questions at all about this challenge, please post them below.

---

<div class="post-metadata">

**Author:** ![sunnysachdeva](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@sunnysachdeva](https://club.ministryoftesting.com/u/sunnysachdeva)\
**Post date:** [12 October 2020 12:44 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/2 "2020-10-12T12:44:31Z")

</div>

Nothing happens on clicking the dates(other than today’s date) inside the calendar.  
Is this expected ?

---

<div class="post-metadata">

**Author:** ![friendlytester](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/friendlytester/32/14436_2.png) [@friendlytester](https://club.ministryoftesting.com/u/friendlytester)\
**Post date:** [12 October 2020 13:10 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/3 "2020-10-12T13:10:25Z")

</div>

No. You need to drag over some dates to select your stay. You need to drag over at least one night.

---

<div class="post-metadata">

**Author:** ![vickie](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@vickie](https://club.ministryoftesting.com/u/vickie)\
**Post date:** [25 October 2020 14:52 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/4 "2020-10-25T14:52:44Z")

</div>

Could someone help me for the date selection while booking the room.  
I tried using drag and drop in Actions class & also click and hold.  
Nothing seems to work for me.

---

<div class="post-metadata">

**Author:** ![mwinteringham](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/mwinteringham/32/9023_2.png) [@mwinteringham](https://club.ministryoftesting.com/u/mwinteringham)\
**Post date:** [27 October 2020 16:15 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/5 "2020-10-27T16:15:49Z")

</div>

Hi @vickie

So I have an example of working with the drag and drop in this project for RBP:

> **[mwinteringham/managing-state-talk](https://github.com/mwinteringham/managing-state-talk)**
>
> Code for managing state talk. Contribute to mwinteringham/managing-state-talk development by creating an account on GitHub.

Specifically, you want to look at this test:

> <https://github.com/mwinteringham/managing-state-talk/blob/master/src/test/java/com/automationintesting/ExampleOneTest.java>

---

<div class="post-metadata">

**Author:** ![lgibbs](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@lgibbs](https://club.ministryoftesting.com/u/lgibbs)\
**Post date:** [29 October 2020 10:06 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/6 "2020-10-29T10:06:19Z")

</div>

Managed to complete all three WebUI challenges using C# and Specflow. Here is my solution:

> **[LouiseJGibbs/RestfulBooker](https://github.com/LouiseJGibbs/RestfulBooker)**
>
> Contribute to LouiseJGibbs/RestfulBooker development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![cpascal](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cpascal](https://club.ministryoftesting.com/u/cpascal)\
**Post date:** [29 October 2020 11:41 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/7 "2020-10-29T11:41:28Z")

</div>

Here is my solution on WebUI Intermediate challenge using Cucumber-JVM with Spring boot, maui and jEntityTest

> **[TestMonkeys/Test.Bash-Online---WebUi-Automation-Challenge---Intermediate](https://github.com/TestMonkeys/Test.Bash-Online---WebUi-Automation-Challenge---Intermediate)**
>
> This repo shows the solution to the Test.bash('Online') AutomationWeek WebUI intermediate challenge - TestMonkeys/Test.Bash-Online---WebUi-Automation-Challenge---Intermediate

---

<div class="post-metadata">

**Author:** ![christinepinto](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/christinepinto/32/14086_2.png) [@christinepinto](https://club.ministryoftesting.com/u/christinepinto)\
**Post date:** [29 October 2020 13:40 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/9 "2020-10-29T13:40:41Z")

</div>

I solved all three WebUI challenges with [Cypress.io](http://cypress.io/). This is my solution:

> **[ChrisZie/Automation-Week\_Web-UI](https://github.com/ChrisZie/Automation-Week_Web-UI)**
>
> This repo is solving the Automation Week Challenges that is focused on Web API automation from the Ministry of Testing - ChrisZie/Automation-Week\_Web-UI

---

<div class="post-metadata">

**Author:** ![darktelecom](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/darktelecom/32/4957_2.png) [@darktelecom](https://club.ministryoftesting.com/u/darktelecom)\
**Post date:** [29 October 2020 19:30 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/10 "2020-10-29T19:30:51Z")

</div>

The source code and full description of my UI challenges, using Model-Based Testing and with the traditional sequential approach, can be found at [https://github.com/bitcoder/automation\_week\_mot](https://github.com/bitcoder/automation_week_mot)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ministryoftesting/original/2X/c/c5326861f1d8844bed97712974292103fc035373.jpeg)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ministryoftesting/original/2X/6/6b5c8d18eab04e22ebe50c8cae200e050eff7852.jpeg)  
Enjoy 🙂

---

<div class="post-metadata">

**Author:** ![samsonite8652](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@samsonite8652](https://club.ministryoftesting.com/u/samsonite8652)\
**Post date:** [29 October 2020 20:00 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/12 "2020-10-29T20:00:59Z")

</div>

Here is my solution for the WebUI advanced challenge, using TestCafe 🙂

> **[Samsonite8652/MoTChallenge](https://github.com/Samsonite8652/MoTChallenge)**
>
> Code for Mot Automation Week challenge. Contribute to Samsonite8652/MoTChallenge development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![scriptmunkee](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/scriptmunkee/32/7494_2.png) [@scriptmunkee](https://club.ministryoftesting.com/u/scriptmunkee)\
**Post date:** [29 October 2020 22:45 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/13 "2020-10-29T22:45:13Z")

</div>

Here is my WebdriverIO solutions for the Automated UI Test Challenge.

> **[scriptmunkeeofficial/mot-automation-week-challenge-2020](https://github.com/scriptmunkeeofficial/mot-automation-week-challenge-2020)**
>
> Ministry of Testing Test.bash 2020 - Automation Challenge - scriptmunkeeofficial/mot-automation-week-challenge-2020

---

<div class="post-metadata">

**Author:** ![scriptmunkee](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/scriptmunkee/32/7494_2.png) [@scriptmunkee](https://club.ministryoftesting.com/u/scriptmunkee)\
**Post date:** [29 October 2020 23:06 UTC](https://club.ministryoftesting.com/t/automation-week-challenges-october-2020-web-ui/43665/15 "2020-10-29T23:06:41Z")

</div>

Drag and Drop functionality still isn’t working. I have some custom work to do since I don’t have access to the JSONWire Protocal.
