Confirmed users
9,511
edits
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
# If you're using a regular expression, comment before using it for what you're looking | # If you're using a regular expression, comment before using it for what you're looking | ||
# 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 = | |||
from selenium import selenium | |||
from GridConnection import GridConnection | |||
import unittest | |||
class testamoAdmin(unittest.TestCase): | |||
def setUp(self): | |||
# import the connection to the server information from the grid connection config file | |||
connection= GridConnection() | |||
self.selenium = selenium(connection.server,connection.port, \ | |||
connection.macFirefox, connection.amoStaging ) | |||
self.selenium.start() | |||
= Some good practices = | = Some good practices = | ||