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

Jump to navigation Jump to search
Line 14: Line 14:
# Add-on IDs are different between production and preview, so if your testcase uses a specific add-on ID, make sure to note that at the top of the testcase in the comment section
# Add-on IDs are different between production and preview, so if your testcase uses a specific add-on ID, make sure to note that at the top of the testcase in the comment section


= Testcase template =
= Testcase template / structure =


<pre>from selenium import selenium
<pre>from selenium import selenium
Line 27: Line 27:
             connection.macFirefox, connection.amoStaging )
             connection.macFirefox, connection.amoStaging )
         self.selenium.start()
         self.selenium.start()
code...
   
    def test_Login(self):
    code...


       
     def tearDown(self):
     def tearDown(self):
         self.selenium.stop()
         self.selenium.stop()
Confirmed users
9,511

edits

Navigation menu