Selenium Conf 2014

544 views
Skip to first unread message

Dominik Dary

unread,
May 20, 2014, 2:31:52 PM5/20/14
to selen...@googlegroups.com
Hello all,

I don't know if you have seen it, but this year will be again a Selenium Conference, Sep 4-6th 2014, Bangalore.
http://seleniumhq.wordpress.com/2014/02/24/announcing-selenium-conf-14-bangalore-india/

This is a very good conference and if you have the possibility to attend, do it!

I would like to ask the community to submit interesting talks about selendroid, because I will be most likely not able to attend.

You can propose your session here:
http://confengine.com/selenium-conf-2014

It would be great if there would be a Selendroid talk!

Cheers
Dominik

Sumit Shrivaastav

unread,
May 23, 2014, 7:13:06 AM5/23/14
to selen...@googlegroups.com
Hi Dominik,
                   I will plan to join it and would love to see you there if possible please join it I have lot of doubt regarding selendroid.

Regards,
Sumit

Sumit Shrivaastav

unread,
May 28, 2014, 3:48:31 AM5/28/14
to selen...@googlegroups.com
Hi  Dominik,
              I m trying with selendroid framework.It seems there is a big problem where trying to connect the device to the selendroid server continuously getting error.


My application is a hybrid application.


Please check the step i did and let me know if anything wrong in that .

1.After setup i have resigned the app with this command 

java -jar selendroid-standalone-0.9.0-with-dependencies.jar -app TestApp.apk

2.Put the Resigned app into the device and then install the app

3.Run the command


i will get status like mentioned below.


{"status":0,"value":{"supportedApps":[{"appId":"io.selendroid.androiddriver:0.9.0","mainActivity":"io.selendroid.androiddriver.WebViewActivity","basePackage":"io.selendroid.androiddriver"},{"appId":"com.siemens.compass:1.3","mainActivity":"com.siemens.compas.Launcher","basePackage":"com.siemens.compass"}],"os":{"arch":"x86","name":"Windows
XP","version":"5.1"},"build":{"browserName":"selendroid","version":"0.9.0"},"supportedDevices":[{"screenSize":"1280x800","model":"Nexus
7","emulator":false,"androidTarget":"ANDROID19"},{"screenSize":"1280x800","model":"Nexus
7","emulator":false,"androidTarget":"ANDROID19"},{"screenSize":"1280x800","model":"Nexus
7","emulator":false,"androidTarget":"ANDROID19"}]}}

 

Then i have created the test scripts into the Eclips which is mentioned below 


package io.selendroid.demo.webui;

import java.util.concurrent.TimeUnit;

import io.selendroid.SelendroidCapabilities;
import io.selendroid.SelendroidDriver;
import 
org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

public class Test


{

         public static void main(String[] args) throws Throwable

        {

        //SelendroidCapabilities capa = new
SelendroidCapabilities("com.siemens.compassecure:1.0");

        SelendroidCapabilities capa = new
SelendroidCapabilities("com.siemens.compass:1.3");




        WebDriver driver = new SelendroidDriver(capa);

        driver.switchTo().window("WEBVIEW");

        Thread.sleep(10000);

        System.out.println(driver.getTitle());

        Thread.sleep(10000);


        driver.manage().timeouts().implicitlyWait(30000, TimeUnit.SECONDS);


        driver.findElement(By.id("username")).sendKeys("***");

        Thread.sleep(3000);

        driver.findElement(By.id("password")).sendKeys("**");


}
}

When trying to run i m getting the below mentioned error




Exception in thread "main"
        at com.android.commands.am.Am.runInstrument(Am.java:865)
        at com.android.commands.am.Am.onRun(Am.java:282)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
        at com.android.commands.am.Am.main(Am.java:76)

        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
        at dalvik.system.NativeStart.main(Native Method)

Details:
INSTRUMENTATION_STATUS: id=ActivityManagerService
INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for:
ComponentInfo{io.selendroid.com.siemens.compass/io.selendroid.ServerInstrumentation}
INSTRUMENTATION_STATUS_CODE: -1
android.util.AndroidException: INSTRUMENTATION_FAILED:
io.selendroid.com.siemens.compass/io.selendroid.ServerInstrumentation
        at com.android.commands.am.Am.runInstrument(Am.java:865)
        at com.android.commands.am.Am.onRun(Am.java:282)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
        at com.android.commands.am.Am.main(Am.java:76)

        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
        at dalvik.system.NativeStart.main(Native Method)

        ... 20 more

Command duration or timeout: 3.16 seconds

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'BLRKAPT0586PC', ip: '10.187.161.152', 
os.name:
'Windows XP', os.arch: 'x86', os.version: '5.1', java.version:

'1.7.0_45'
Driver info: io.selendroid.SelendroidDriver
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
        at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
        at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
        at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
        at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:115)
        at io.selendroid.SelendroidDriver.<init>(SelendroidDriver.java:61)
        at io.selendroid.demo.webui.Test.main(Test.java:26)
        at com.android.commands.am.Am.runInstrument(Am.java:865)
        at com.android.commands.am.Am.onRun(Am.java:282)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
        at com.android.commands.am.Am.main(Am.java:76)

        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
        at dalvik.system.NativeStart.main(Native Method)

Details:
INSTRUMENTATION_STATUS: id=ActivityManagerService
INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for:
ComponentInfo{io.selendroid.com.siemens.compass/io.selendroid.ServerInstrumentation}
INSTRUMENTATION_STATUS_CODE: -1
android.util.AndroidException: INSTRUMENTATION_FAILED:
io.selendroid.com.siemens.compass/io.selendroid.ServerInstrumentation
        at com.android.commands.am.Am.runInstrument(Am.java:865)
        at com.android.commands.am.Am.onRun(Am.java:282)
        at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
        at com.android.commands.am.Am.main(Am.java:76)

        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
        at dalvik.system.NativeStart.main(Native Method)

        ... 20 more



Please help me.

On Wednesday, May 21, 2014 12:01:52 AM UTC+5:30, Dominik Dary wrote:

Manikanta Deepu

unread,
Jun 12, 2014, 3:08:00 AM6/12/14
to selen...@googlegroups.com
Hi Dary,
 
I am Trying to Install Facebook,Whats app,BBM,Twiteer on Samsung galaxy s4 but it is not installing but i tried installing TrueCaller it Was SuccessFully Installed Can Anyone help me with this Issue
the code is


SelendroidConfiguration config = new SelendroidConfiguration();
config.addSupportedApp("C:\\Selendroid\\Jar\\truecaller-android-4.13");
selendroidServer = new SelendroidLauncher(config);
selendroidServer.launchSelendroid();
DesiredCapabilities capa = new SelendroidCapabilities("com.truecaller:4.13");
driver = new RemoteWebDriver(capa); 

Kamesh Rao

unread,
Aug 18, 2014, 11:48:28 AM8/18/14
to selen...@googlegroups.com
Hi Dominik,

Can you please ping the registration link here. I would love to talk on Selendroid. 

Thanks,
Kamesh.

Kamesh Rao

unread,
Aug 18, 2014, 11:55:09 AM8/18/14
to selen...@googlegroups.com
Hi Dominik,

Got the link, lts a bit late now, i will try if I can make it. 

Thanks,
Kamesh.

On Wednesday, 21 May 2014 00:01:52 UTC+5:30, Dominik Dary wrote:

Kamesh Rao

unread,
Aug 19, 2014, 1:39:24 AM8/19/14
to selen...@googlegroups.com
Hi Sumit, 

Use switch "-forceReinstall true" and try. This should probably solve your issue. 

java -jar selendroid-standalone-0.9.0-with-dependencies.jar -app "your siemens app name" -forceReinstall true

Thanks,
kamesh.

Alexander

unread,
Jan 23, 2015, 6:21:12 PM1/23/15
to
Very interersting.. Sad it's in India this time.. :) Cheers

Luke Inman-Semerau

unread,
Jan 23, 2015, 7:39:25 PM1/23/15
to selen...@googlegroups.com
Umm, did you read the date? :) This was last year. 

The next selenium conference will likely be in May, in Portland, Oregon. 

-Luke

On Jan 23, 2015, at 3:21 PM, Alexander <alf...@gmail.com> wrote:

Very interesting.. I will try to see if i can come :)


Den tirsdag den 20. maj 2014 kl. 20.31.52 UTC+2 skrev Dominik Dary:

--
You received this message because you are subscribed to the Google Groups "selendroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selendroid+...@googlegroups.com.
Visit this group at http://groups.google.com/group/selendroid.
To view this discussion on the web, visit https://groups.google.com/d/msgid/selendroid/952a9bae-46fd-409e-946e-abe36ffb92ee%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages