Selendroid + Facebook APK downloaded from Web Automation

Skip to first unread message

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 -

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

public class FBSelendroid {
WebDriver driver;
public void setUp() throws Exception {
SelendroidCapabilities capabilities = new SelendroidCapabilities("com.facebook.katana:");
driver=new SelendroidDriver(capabilities);
public void selendroidTest() throws Exception {
System.out.print("Start executing test");
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
0 new messages