{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/535","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/535/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/535/events","html_url":"https://github.com/RobotiumTech/robotium/issues/535","id":102022144,"number":535,"title":"Robotium click fails on cordova app with Dojo implementation","user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T23:24:00Z","updated_at":"2015-08-19T23:24:01Z","closed_at":null,"body":"_From [mario....@gmail.com](https://code.google.com/u/104742900324807164019/) on May 16, 2013 06:42:27_\n\nWhat steps will reproduce the problem? 1. Build a Dojo sample hybrid application (AFAIK worklight has cordova/phonegap framework and has capability to implement Dojo as well)\r\n2. Run a simple testcase to click on a webelement 3. What is the expected output? What do you see instead? Expected: next page loads\r\n\r\nActual: Nothing! Tests Fail because an element on the expected page isn't found. What version of the product are you using? On what operating system? Robotium 4.1 on Mac OS X 10.8.3, testing against android-15 Please provide any additional information below. I've been using Robotium for a while now without many problems I couldn't work through. However, recently I started playing with an application that was built with Cordova/PhoneGap and it uses Dojo mobile library (JS lib that provides native look and feel). I've been experiencing the following problem, the web element is found by Robotium (using xpath locator) and the click occurs but the next page never loads. Looking at the emulator during the run I can see the click occur because the blue highlight is displayed on the element as it is clicked. After that nothing happens. No useful info is shown in the Logcat logs. \r\n\r\nI have also tried to click the screen coordinates of the web element without any success. I'm treating the application as a black box.\r\n\r\nUPDATE: I managed to perform 1 click by calling getInstrumentation().callOnActivityResume(getActivity()); prior to click. All subsequent clicks fail again.\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=456_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132824256","html_url":"https://github.com/RobotiumTech/robotium/issues/535#issuecomment-132824256","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/535","id":132824256,"user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T23:24:01Z","updated_at":"2015-08-19T23:24:01Z","body":"_From [renasr...@gmail.com](https://code.google.com/u/108052454046732184536/) on May 17, 2013 07:48:00_\n\nThanks for reporting this.\n\n**Status:** Accepted  \n  **Owner:** renasr...@gmail.com  \n"}}