Selendroid + Facebook APK downloaded from Web Automation

33 views
Skip to first unread message

sarkaran...@gmail.com

unread,
Jul 29, 2016, 10:23:08 PM7/29/16
to selendroid
Device details - Android version 4.0.4

I am using selendroid - Latest version as of July 29 2016

Downloaded the following Facebook APK from web - http://www.apkmirror.com/apk/facebook-2/facebook/facebook-89-0-0-0-39-release/
com.facebook.katana_v86.0.0.13.69-33840476_Android-5.0.apk

Now i wrote this simple code to just open the FB app in my android device

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
public class FBSelendroid {
WebDriver driver;
@BeforeSuite
public void setUp() throws Exception {
SelendroidCapabilities capabilities = new SelendroidCapabilities("com.facebook.katana:86.0.0.13.69");
driver=new SelendroidDriver(capabilities);
Thread.sleep(12000);
}
@Test
public void selendroidTest() throws Exception {
System.out.print("Start executing test");
}
@AfterSuite
public void tearDown() {driver.quit();}
}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
But i keep getting this error 
INFO: Can't connect to Selendroid server, assuming it is not running.

Please let me know a few things

1) Why i am getting infinite loop of this exception

2) Can i run FB apk application from selendroid , if yes please tell me a few steps where i am doing the code wrong

Thanks a lot in advance

Reply all
Reply to author
Forward
0 new messages