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

Jump to navigation Jump to search
Line 101: Line 101:
== Handling browser instances  ==
== Handling browser instances  ==
TBD - mwargers
TBD - mwargers
== Returning the page object after completing an action <njpark>==
== Returning the page object after completing an action ==
When invoking a certain UI action causes the phone to open a new page, it is recommended to return the appropriate page object.  <br />
When invoking a certain UI action causes the phone to open a new page, it is recommended to return the appropriate page object.  <br />
On a related note, each page should have its own class definition, where it lists methods that manipulates and checks the associated UI elements.
On a related note, each page should have its own class definition, where it lists methods that manipulates and checks the associated UI elements.
352

edits

Navigation menu