QA/Execution/Web Testing/Selenium Guidelines: Difference between revisions

Line 26: Line 26:


label target . .
label target . .
= Run scripts on all environments =
* If you want to run your scripts on all environments then code your steUp() function like this:
      def setUp(self):
      self.verificationErrors = []
      self.objConnection = GridConnection.GridConnection()
      for envCounter in self.objConnection.remoteControls:
          self.selenium = selenium(self.objConnection.server,self.objConnection.port,envCounter,self.objConnection.amoStaging)
          #self.selenium = selenium('localhost',4444,"*firefox","http://preview.addons.mozilla.org")
          self.selenium.start()


=IDE=
=IDE=
169

edits