Auto-tools/Projects/Robocop/WritingTests: Difference between revisions

Line 37: Line 37:


= APIs  =
= APIs  =
Robotium itself provides a rich API through the Solo class - javadocs for Solo are available at [1].


The main interfaces are Actions, Elements, and Driver.  
"Robocop" provides an additional API to make common tasks easier. The main interfaces are Actions, Elements, and Driver.  


Actions provides commonly used non-element specific actions that can be taken on the application, such as dragging and sending key events.
Actions provides commonly used non-element specific actions that can be taken on the application, such as dragging and sending key events.
Line 81: Line 82:
   int getGeckoWidth();
   int getGeckoWidth();
</pre>
</pre>
Finally, an evolving set of test base classes - BaseTest, PixelTest, etc - can be leveraged for some types of tests.


= Usable IDs =
= Usable IDs =
Confirmed users
1,759

edits