Selenium Testrunner variables don’t work

4

Posted by nick | Posted in Selenium | Posted on Oct 14 2008

Tags:

I have some tests where I store variables and they saved and work fine in the regular test build window. Specifically, I can store a variable in one test, then run another test afterwards and reference the variable for use. However, when the tests are run in Selenium’s Testrunner, the variables are inaccessible if not created in the current test. They do not save across tests in the Testrunner. Please comment if you have a solution. For now, I’ll be running all our tests from the build window.

  • Share/Bookmark

Comments (4)

Hi there. I was facing the same problem. Thanks to Barry Simpson I solved this issue with his patch:
http://jira.openqa.org/browse/SEL-605


Hi,

I am facing the same problem, did you figure out a solution yet?

Thanks.

Thanks for your input Kangs. I was using storedVars for the test runner instead of referencing by the dollar sign and they don’t work. I’m using firefox 2.0.0.17 if that makes any difference.


Use storedVars['YourVariableName']

Write a comment