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

Jump to navigation Jump to search
→‎Logic: remove content
(→‎Tests - Style: provide link)
(→‎Logic: remove content)
Line 10: Line 10:
= [[B2G/QA/Automation/Style_Guide/Python_Script_Style|Python Script Style Guide]] =
= [[B2G/QA/Automation/Style_Guide/Python_Script_Style|Python Script Style Guide]] =


= Logic =
= Best Practices =
== Handling shadow DOM ==
TBD - njpark
== Switching frames and system frame ==
TBD - mwargers
== Handling browser instances  ==
TBD - mwargers
== Returning the page object after completing an action ==
TBD - njpark
    When writing methods that is doing some action on the device, for instance opening an app or opening a subpage, make sure that the resulting action is finished and return the object of the resulting action, e.g. the app or the subpage (PageRegion)
 


= Use of Libraries =
= Use of Libraries =
352

edits

Navigation menu