{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/321","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/321/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/321/events","html_url":"https://github.com/RobotiumTech/robotium/issues/321","id":101955995,"number":321,"title":"Fragment in viewpager- button click issue","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/invalid","name":"invalid","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-19T17:42:36Z","updated_at":"2015-08-19T17:42:37Z","closed_at":null,"body":"_From [saintke...@gmail.com](https://code.google.com/u/100354904479597716993/) on March 30, 2012 03:38:21_\n\nWhat steps will reproduce the problem? 1.place a button on a fragment inside a viewpager.\r\n2.Try to get access of that button and click it. 3. What is the expected output? What do you see instead? expected output:Button should get clicked and should take us to next state of application.\r\n\r\ncurrently i am facing error:- Method invocation Error.\r\ni tried accessing the button using \r\n1)clickOnButton (int Index).\r\n2)clickOnButtonByName (String ButtonName).\r\n3)ClickonText(String text ).\r\n4)set focus on button  &  keydown\r\n5)Trying to access button by virtual keyboard.\r\n6)sendKeys.\r\n\r\nI tried to get the access of FragmentManager using Activity context.\r\nAs i am developing a systemTest Project i donot have access to application resouces and i want to make it code independent as much as possible. What version of the product are you using? On what operating system? robotium 3.1\r\nwindows 7 Please provide any additional information below.\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=242_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132715044","html_url":"https://github.com/RobotiumTech/robotium/issues/321#issuecomment-132715044","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/321","id":132715044,"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-19T17:42:37Z","updated_at":"2015-08-19T17:42:37Z","body":"_From [renasr...@gmail.com](https://code.google.com/u/108052454046732184536/) on March 30, 2012 17:02:18_\n\nThanks for reporting this. Would it be possible for you to supply a sample project which exhibits this behavior?"}}