Code Monkey home page Code Monkey logo

Comments (2)

lukeis avatar lukeis commented on May 25, 2024

What page and section(s) are you talking about?

You could provide a pull request for the change you are taking about.

from www.seleniumhq.org.

samitbadle avatar samitbadle commented on May 25, 2024

Thank you for pointing this out. While the command is not intuitive, the documentation is in fact correct. The first parameter to store is the value and the second parameter is the variable name. Changing the command to take the parameters in a more intuitive manner would break many scripts and cannot be done. I know that many people get confused by it and it is such a common error to get the order wrong that I wrote an inspector to automatically detect and fix this in my Selenium Expert plugin for Selenium IDE.

On 17 Mar 2015, at 00:01, jterry999 [email protected] wrote:

Store Commands and Selenium Variables

You can use Selenium variables to store constants at the beginning of a script. Also, when combined with a data-driven test design (discussed in a later section), Selenium variables can be used to store values passed to your test program from the command-line, from another program, or from a file.

The plain store command is the most basic of the many store commands and can be used to simply store a constant value in a selenium variable. It takes two parameters, the text value to be stored and a selenium variable. Use the standard variable naming conventions of only alphanumeric characters when choosing a name for your variable.
Command Target Value
store [email protected] userName


Reply to this email directly or view it on GitHub.

from www.seleniumhq.org.

Related Issues (20)

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.