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
Post a Comment