
Some automated test tasks in python
- or -
Post a project like this3319
£40(approx. $54)
- Posted:
- Proposals: 3
- Remote
- #1252954
- Awarded
Description
Experience Level: Entry
Hi,
I have this job challenge below and I am wondering whether it is something you can do. You will find the notes below in the Readme.md file in the attachment. Let me know if you can do the job.
Python Test Analyst technical test
==================================
This project is a short technical test which will test some skills of a
Python automated tester.Application
Overview
--------------------
The aim of this test project is to create some automated testing scripts to verify functionality of a 'Verification' form that can be found at the bottom of this demo page:
'http://www.seleniumframework.com/Practiceform/';.
For the purposes of this test, the http://www.seleniumframework.com/Practiceform/ site shall be used as a demo site to run your python-behave test cases.
Let's assume that the development team had to develop the 'Verification' form based on the following acceptance criteria:
1. If I attempt to submit two digits, then I should see the following message 'Your form was successfully submitted. Thank you for contacting us.'
2. If I attempt to submit a string that contains other characters than digits (like special characters or alphabetic characters), then I should see the following message 'Please enter only digits.'
3. If I attempt to submit more than two digits, then I should see the message 'Please enter no more than 2 characters.'
4. If I attempt to submit an empty field, then I should see the message 'This field is required.'
The testing team now need to create automated testing scripts that verify that functionality by using python-behave and python-splinter libraries.
Skills to be tested
--------------------
Design and develop functional test cases
Develop automated BDD test cases with python-behave and python-splinter
Instructions and Notes
----------------------
Take as long as you need to complete this test (but try to take less than 90 minutes)
Read the instructions carefully.
Installing the packages
-----------------------
The scripts were tested on Linux/Debian 8.0 and python 2.7.9.
1. Install the required libraries using pip :
pip install -r requirements.txt
2.
Run the behave test cases using the following command :
behave
After you execute the last command, a Firefox browser window should open and start the execution of the test cases found inside the 'verification_form.feature' file. The actual implementation of the steps can be found in the steps/form_steps.py file
Feel free to change the existed steps and feature files to develop new test cases to verify the acceptance criteria listed on the 'Application Overview' section.
The 'environment.py' file was created for you to run before and after steps for each scenario, such as using the python-splinter command to open and close the browser.
Feel free to use python-selenium library instead of the python-splinter library if you prefer.
References
----------
python-behave http://pythonhosted.org/behave/#
python-splinter https://splinter.readthedocs.io/en/latest/
I have this job challenge below and I am wondering whether it is something you can do. You will find the notes below in the Readme.md file in the attachment. Let me know if you can do the job.
Python Test Analyst technical test
==================================
This project is a short technical test which will test some skills of a
Python automated tester.Application
Overview
--------------------
The aim of this test project is to create some automated testing scripts to verify functionality of a 'Verification' form that can be found at the bottom of this demo page:
'http://www.seleniumframework.com/Practiceform/';.
For the purposes of this test, the http://www.seleniumframework.com/Practiceform/ site shall be used as a demo site to run your python-behave test cases.
Let's assume that the development team had to develop the 'Verification' form based on the following acceptance criteria:
1. If I attempt to submit two digits, then I should see the following message 'Your form was successfully submitted. Thank you for contacting us.'
2. If I attempt to submit a string that contains other characters than digits (like special characters or alphabetic characters), then I should see the following message 'Please enter only digits.'
3. If I attempt to submit more than two digits, then I should see the message 'Please enter no more than 2 characters.'
4. If I attempt to submit an empty field, then I should see the message 'This field is required.'
The testing team now need to create automated testing scripts that verify that functionality by using python-behave and python-splinter libraries.
Skills to be tested
--------------------
Design and develop functional test cases
Develop automated BDD test cases with python-behave and python-splinter
Instructions and Notes
----------------------
Take as long as you need to complete this test (but try to take less than 90 minutes)
Read the instructions carefully.
Installing the packages
-----------------------
The scripts were tested on Linux/Debian 8.0 and python 2.7.9.
1. Install the required libraries using pip :
pip install -r requirements.txt
2.
Run the behave test cases using the following command :
behave
After you execute the last command, a Firefox browser window should open and start the execution of the test cases found inside the 'verification_form.feature' file. The actual implementation of the steps can be found in the steps/form_steps.py file
Feel free to change the existed steps and feature files to develop new test cases to verify the acceptance criteria listed on the 'Application Overview' section.
The 'environment.py' file was created for you to run before and after steps for each scenario, such as using the python-splinter command to open and close the browser.
Feel free to use python-selenium library instead of the python-splinter library if you prefer.
References
----------
python-behave http://pythonhosted.org/behave/#
python-splinter https://splinter.readthedocs.io/en/latest/

Ben A.
100% (10)Projects Completed
2
Freelancers worked with
2
Projects awarded
60%
Last project
1 May 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies