Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6637767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:21:13+00:00 2026-05-25T23:21:13+00:00

Selenium has the ability to temporarily store data items and then later retrieve them

  • 0

Selenium has the ability to temporarily store data items and then later retrieve them in subsequent tests, e.g.

storeText | @id='ctl00_ContentPlaceHolder1_FormView1' | someValue

This works well within a single test and also between tests in the same Test Suite when a value needs to be carried forward across test boundaries. Unfortunately it doesn’t work between Test Suites (which is a requirement for our application that includes a number of workflows referring to the same object). How can Selenium be used to store values across Test Suite boundaries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:21:14+00:00Added an answer on May 25, 2026 at 11:21 pm

    It’s possible to store values from a Selenium Test into the browser’s Local Storage using javascript, e.g. if previously a value had been stored to someValue:

    getEval | this.browserbot.getUserWindow().localStorage.setItem("someValue",storedVars['someValue'])
    assertEval | this.browserbot.getUserWindow().localStorage.getItem("someValue") | ${someValue}
    storeEval | this.browserbot.getUserWindow().localStorage.getItem("assetLabel") | someValue
    

    In this case, this.browserbot.getUserWindow() returns the window of the application. This will store someValue into Local Storage from where it can subsequently be retrieved back into the Selenium stored variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Every now and then my selenium tests randomly fail with an element X not
I am working on Selenium tests for one of our pages that has an
I'm using selenium to run some functional tests on the UI for our current
I'm using the Selenium Fitnesse Bridge Fixture in order to write tests in Fitnesse
We are running Selenium regression tests against our existing code base, and certain screens
I'm running Selenium tests from within Eclipse, but I can't load a custom Firefox
I know that Selenium has a built-in method getTable(tableName.row.column) can return a cell conveniently.
I am Using Selenium RC in C# My application has 3 Captha image in
In selenium IDE, I need to click on the nth link that has text
How do I test which element has the focus in Selenium RC?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.