B2G/QA/Automation/Style Guide/Python Script Style: Difference between revisions

Line 72: Line 72:
</source>
</source>
== Locators ==
== Locators ==
TBD - jlorenzo
* Locator variables should be prefixed with <code>_</code> to show that it is [http://docs.python.org/tutorial/classes.html#private-variables private].
* Locator variables should be prefixed with <code>_</code> to show that it is [http://docs.python.org/tutorial/classes.html#private-variables private].
* Variables should be descriptive of the area and not clash with any properties.
* Variables should be descriptive of the area and not clash with any properties.
352

edits