Code Monkey home page Code Monkey logo

pwaf's Introduction

PWAF (Python Webdriver Automation Framework)

This is web automation framework, implemented using Python & Webdriver. Page Object Model (POM) is used to make the code more readable, maintainable, and reusable.

Prerequisite:

  1. Python
  2. pip
  3. Selenium/WebDriver
  4. nosetests & nose-html-reporting
  5. Browsers (Firefox, Chrome, IE)
  6. Respective Browser drivers
  7. Pycharm

How to run?

Test scripts can be executed by nosetests:

nosetests -s -v --nologcapture <test-script.py>

e.g: nosetests -s -v --nologcapture checkbox_page_test.py

Execute different group of test:

nosetests -s -v --nologcapture -a group= <test-script.py>

e.g: nosetests -s -v --nologcapture -a group=smoke all_tests.py

Get Test-reports:

nosetests -s -v --nologcapture --with-html --html-report= <test-script.py>

e.g: nosetests -s -v --nologcapture --with-html --html-report=test_report.html checkbox_page_test.py

Note: Kindly set the respective browser's driver path either to System variable or update it in drivermanager.py

e.g: self.driver = webdriver.Firefox(executable_path="geckodriver path") # in case of Firefox browser.

Execution:

Execution


Coverage Plan:

Contents Status
Framework level Page Object Model Done
Profiles Done
Grids
Cross browsers & cross platform
Locators Learning how to get locators.
Functionality To Automate Challenging DOM Done
Checkboxes Done
Context Menu Done
Disappearing Elements Done
Drag and Drop Done
Dropdown Done
Dynamic Content
Dynamic Controls Done
Dynamic Loading Done
File Download Done
File Upload Done
Floating Menu
Frames Done
Horizontal Slider
Hovers Done
Infinite Scroll
JQuery UI Menus
JavaScript Alerts
Key Presses
Large & Deep DOM
Multiple Windows Done
Nested Frames Done
Notification Messages
Redirect Link
Shifting Content

pwaf's People

Contributors

anujkumar21 avatar prernapal13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pwaf's Issues

Question regarding python version

Hi Anuj,

I was looking for selenium projects online for contribution and found your project. I find it interesting and would like to contribute. I have couple of questions:

  1. I don't see any contributions since April 2019, Are there any features remaining to test or project is complete?
  2. Is this project using python 2 and if yes, are you planning to upgrade to python 3?

Thanks.

Locator field

Hi, I appreciated and liked your code. Just have one concern. how to find out locator ?

Ask for contribution

Hi Anuj,

We're two students, Kartik and Yi-Pei, from KTH Royal Institute, Sweden.
We're taking a course about Dev-Ops (https://github.com/KTH/devops-course).
We found your open project, PWAF, is quite interesting for us.
We also notice that there are something left in the plan.
May we continue your work and try to complete it?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.