This is regarding your user function to load xml. The relevant code is in this message.
1. In Selenium.prototype.doLoadTestData, you use xmlTestData() instead of XmlTestData()? Was it intentional? If so why? (I thought it is a constructor).
2. After the definition for doLoadTestData function, there is a semi-colon (;). Is it intentional?
3. In xmlTestData() function, I think that this.testdata is not being used. Am I correct?
[If your answers are not what I expect, I need to rethink my assumptions, hence the questions] ------------------------------------------------------------ Here is the relevant snippet: Selenium.prototype.testdata = null;
Selenium.prototype.doLoadTestData = function(testName) { testdata = new xmlTestData(); testdata.load(testName); };