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

Jump to navigation Jump to search
(add link to general Concepts)
Line 7: Line 7:
= [[B2G/QA/Automation/Style Guide/General Concepts|General Concepts]] =  
= [[B2G/QA/Automation/Style Guide/General Concepts|General Concepts]] =  
= External Tools / Resources =
= External Tools / Resources =
== Using webIDE to define locators ==
= How-Tos =
njpark - TBD
== Using WebIDE to Define Locators <njpark>==
WebIDE can connect to firefox OS devices, and lets the user to view the locators of Firefox OS app.  For basics of WebIDE, please refere to [https://developer.mozilla.org/en/docs/Tools/WebIDE this page].
 
Prerequisites:
* From the phone, go to Settings -> Developer and select "ADB and DevTools" under "Debugging via USB"
* Connect the phone to PC via USB.
* From WebIDE, click 'Select Runtime' and select the phone under "USB Devices".
* From the device, allow USB connection.
* From the upper right corner, select the app that you wish to view.  If no apps are shown in the list, go to Runtime -> Runtime Info drop-down menu, and click "Request Higher Privileges" button.  The phone will restart, and you should be able to see all apps loaded on the phone.
 
 
== CSS Selectors ==
Use following references as guides.
* [http://www.w3.org/TR/css3-selectors/ W3]
* [http://www.cheat-sheets.org/saved-copy/Locators_table_1_0_2.pdf Locator Cheat Sheet]


== CSS Selectors ==
== CSS Selectors ==
352

edits

Navigation menu