QA SoftVision Team/Mobile/Writing tests: Difference between revisions

no edit summary
No edit summary
Line 419: Line 419:
* You can use mAsserter.dumpLog(Sting) or mAsserter.ok(true, Sting, String) to print any string or value of any variable
* You can use mAsserter.dumpLog(Sting) or mAsserter.ok(true, Sting, String) to print any string or value of any variable
* Note that you will need to cast the variable to String in order to print it: String.valueOf(Variable)
* Note that you will need to cast the variable to String in order to print it: String.valueOf(Variable)
 
= Substituting mSolo.sleep =
= Updating your test directory =
= Updating your test directory =
It is not always necessary to rebuild Fennec to use new tests. If you are updating the build with your own test, ensure that your test has been added to the manifest in /PATH/TO/FENNEC/SOURCE/mobile/android/base/tests/robocop.ini .
It is not always necessary to rebuild Fennec to use new tests. If you are updating the build with your own test, ensure that your test has been added to the manifest in /PATH/TO/FENNEC/SOURCE/mobile/android/base/tests/robocop.ini .
Confirmed users
905

edits