Selenium: Stored variable is not considered across test cases while executing test suite from command prompt -


i have test suite 3 test cases, out of first test case has variables required in other 2 test cases(something dataset test suite)

all while executing testsuites in selenium ide (manually loading test suite in ide , run), fine.

but wanted report test case execution, using below command execute testsuite
java -jar "selenium-server jar path" -htmlsuite "*firefox" "baseurl" "testsuite path" "results file path"

now problem while executing test suite command propmt,
variables stored in first testcase, not considered in 2nd test case , on.

so can me solve issue.

open archive: selenium-server.jar\core\scripts\ find selenium-testrunner.js find , remove next code file:

storedvars = new object();         storedvars.nbsp = string.fromcharcode(160);         storedvars.space = ' '; 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -