Giter Club home page Giter Club logo

File Upload Example using Selenium

Background

This example demonstrates how to you can use Selenium's setFileDetector() to push local files to a remote browser test session for the purpose of supplying input to a website's upload file capability. An example of which might be to automate the task of uploading a video to YouTube.

Execution

To execute the full test suite, simply run:

$ mvn test    

See Also

The example backend web server used in this example can be found at https://github.com/billmeyer/file-upload-server.

Bill Meyer's Projects

pagedown icon pagedown

Automatically exported from code.google.com/p/pagedown

piclock icon piclock

A Fancy Clock built around a monitor and a Raspberry Pi

rings-of-saturn-led-light-music-visualizer icon rings-of-saturn-led-light-music-visualizer

This is the code that is used for my "Rings of Saturn" light. It is very crude code right now, and there are a couple bugs, but it works for the most part. I used an electret microphone input, and a 6-channel RF receiver with remote, connected to an Arduino Mega. I plan to port this to an ESP8266 for Wifi control at some point.

saucedemo-web-app icon saucedemo-web-app

This is the Sauce Labs Sample Application which is designed to be used from desktop web browsers

saucedemo-webdriverio icon saucedemo-webdriverio

Sample test suite using WebdriverIO and running tests on Sauce Labs for Desktop, Mobile, and Visual Testing.

saucelabs-job-linking icon saucelabs-job-linking

Example code to generate a URL to job on the Sauce Labs cloud. See https://wiki.saucelabs.com/display/DOCS/Building+Links+to+Test+Results

testng-multi-dataprovider icon testng-multi-dataprovider

Demonstrates running Selenium tests with the TestNG testing framework on Sauce Labs across multiple OS/Browser/Platform combinations in parallel.

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.