Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

navyakanu/PythonUITests

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PythonUITests

Sample selenoid usage for python UI tests (Based on the documentation from the selenoid page)

Sample Application under test:

http://www.google.com

What does ./run_test.sh contain and do?

  1. Brings up the virtual environment for python3.6

  2. Use docker-compose to bring up selenoid and selenoid UI, you can access the selenoid-ui with the below URL

     http://localhost:8081/
    
  3. Make sure you pull the docker images for the browser images mentioned in the browsers.json and configure according to the requirements To quickly do this install jq (brew install jq) Run the command

     cat /path/to/browsers.json | jq -r '..|.image?|strings' | xargs -I{} docker pull {}    
    
  4. All the videos recorded are saved in /video in the PWD (Videos are saved with the session id)

  5. If you are changing or updating browsers.json, restart docker image for selenoid, otherwise you docker would not recognise the environment

  6. Pull the video recorder

         docker pull selenoid/video-recorder:latest-release
    

How to run the tests?

./run_test.sh --test_type=only 

About

Sample selenoid usage for python UI tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.