Hi everybody,i'm trying to test OsmAnd and everytime the testcase starts i get "loading data" message, and if as first istruction of the test case i try to click somewhere i get an exception. how can I wait for the application loading data before than test case starts? i've tryed solo.waitForDialogToClose(5000) but i still get the exeption. my first test istruction is clickOnText("Settings") where "Settings" is a button on the main menu but i get the exception junit.framework.AssertionFailedError: Text string: 'Settings' is not found!any ideas?thank's all
boolean | searchText(String text)Searches for the specified text and returns true if at least one item is found displaying the expected text. |
boolean | searchText(String text, boolean onlyVisible)Searches for the specified text and returns true if at least one item is found displaying the expected text. |
boolean | searchText(String text, int minimumNumberOfMatches)Searches for the specified text and returns true if the searched text is found a specified number of times. |
boolean | searchText(String text, int minimumNumberOfMatches, boolean scroll)Searches for the specified text and returns true if the searched text is found a specified number of times. |
boolean | searchText(String text, int minimumNumberOfMatches, boolean scroll, boolean onlyVisible)Searches for the specified text and returns true if the searched text is found a specified number of times. |
first of all thank's for the answer!second, how can I check if( View available) ?