#filter substitution package @ANDROID_PACKAGE_NAME@.tests; import @ANDROID_PACKAGE_NAME@.*; import android.widget.TextView; import java.util.ArrayList; public class testBookmark extends BaseTest { private static final String URL = "http://mochi.test:8888/tests/robocop/robocop_blank_02.html"; public void testBookmark() { enterUrl(URL); //Click the top item in the awesome list. mActions.sendSpecialKey(Actions.SpecialKey.DOWN); hitEnterAndWait(); //Click the top item in the bookmark list. clickOnAwesomeBar(); mActions.sendSpecialKey(Actions.SpecialKey.RIGHT); Actions.EventExpecter contentEventExpecter = mActions.expectGeckoEvent("DOMContentLoaded"); ArrayList l = null; while (l == null || l.size() < 1) { l = mSolo.clickInList(1); } contentEventExpecter.blockForEvent(); //Items in bookmarks aren't constant so URL can't be tested. } }