Open
Description
From [email protected] on May 06, 2014 01:03:37
What steps will reproduce the problem? 1.load a hybird app
2.click a button with a alert What is the expected output? What do you see instead? the alert should be popped up,however the alert was not be popped up What version of the product are you using? On what operating system? robotium 5.1,win 7 Please provide any additional information below. here is the code:
public void testSearchRobotium() {
//Waits for the tag: 'DIV'.
solo.waitForWebElement(By.tagName("html"));
By buttonSearch = By.id("alert");
solo.clickOnWebElement(buttonSearch);
h5 page:
<script type="text/javascript"> function display_alert() { alert("I am an alert box!!") } </script>Original issue: http://code.google.com/p/robotium/issues/detail?id=602