Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Observer QA Exercise #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

zeesattarny
Copy link

@zeesattarny zeesattarny commented May 15, 2017

Overview: I have worked mainly in Page Object Model Hybrid Framework. But this was the first time I tried to create a Selenium Cucumber framework with Page Factory Pattern and i enjoyed it. It was a risky move to go down that route but I still wanted to try it. I had to learn on the fly and create and execute the given project. But it was fun and a very good learning experience I would say. But unfortunately I was not able to finish the project completely. As Sunday being Mother's day, I had plans and some other things came up so I couldn't spend enough time as i would have liked too.

I used the following boilerplate for the project: https://github.com/machzqcq/cucumber-jvm-template

Folder Structure:
Test folder mainly consist of two folders: java and resources.

java consist of 4 folders
helper: which has log class
modules: consist of the main logic for the different actions
pageobjects: consist of the elements written in Page Factory Design Pattern
step_definitions: consist of Hook class which controls the opening of chrome browser and step definition classes which executes the Action classes in module folder

resources consist of 1 folder
features: which has the scenarios in gherkin language

Instructions To Run:
Step1: Clone the repo.
Step2: cd Tntp.QAExercise/
Step3: execute command mvn test

Please make sure you have chrome and maven installed.

Improvements: I would have made some improvements if I had more time. Would have liked to finish all the scenarios. Definitely can cleanup some of the code to improve organization. For state management between step definitions of a given scenario a dependency container should be pulled in to implement the World concept in Cucumber.

- set up initial framework
- implemented blank observation and create observation scenarios
- updated state management between steps to use models
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant