I am using Selenium to do testing, We write our test cases in html files and make test suites out of them, our requirement is to write test cases that are robust enough to change themselves as per the test environments.
for this, I prefer not to enclose specifications such as urls to open, text to search for on screen, etc in the html script itself.
I have come accross a good user-based command extension: storeGlobal while this command does help me a lot, what i want is to give the testers the facility to just change properties file and the testcases would pick up the values from them:
eg: in properties file:
startUrl = "http://www.google.com"
I am aware that due to browser restrictions, javascripts usually do not have access to the file systems, however we are using an hta file not html file to do testing, is it possible to access file through that? how ?