HI,
I use Uiautomator to write automated test cases for my apps. One MAJOR issue that i am facing on one the apps that i am working is with WEBVIEWS like getting text from a web view e.t.c; , Curious to know will appium slove this problem on android ..
--"Please consider the environment before printing this e-mail"Newsworks - bringing advertisers and newsbrands togetherThis e-mail and any attachments are confidential, may belegally privileged and are the property of NI Group Limitedon whose systems they were generated. NI Group Limited isthe holding company for the News International group, isregistered in England under number 81701, has its registeredoffice at 3 Thomas More Square, London E98 1XY and VATnumber GB 243 8054 69. If you have received this e-mail inerror, please notify the sender immediately and do not use,distribute, store or copy it in any way. Statements oropinions in this e-mail or any attachment are those of theauthor and are not necessarily agreed or authorised by NIGroup Limited or any member of its group. NI Group Limitedmay monitor outgoing or incoming emails as permitted by law.It accepts no liability for viruses introduced by this e-mailor attachments.--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Unable to build selendroid server
--
--
Yeah, you'll probably need to cd to Appium.app/Contents/Resources/node_modules/appium and build selendroid. How about I start running reset.sh after I do the package update? Jonathan, do you think that would solve the problem
Siva,We are working on supporting webviews for Android, but are still in the research stages. We will definitely announce when that changes as it's a big priority for us as well.On Apr 10, 2013, at 7:58 AM, Siva Rapaka <siva....@newsint.co.uk> wrote:HI,
I use Uiautomator to write automated test cases for my apps. One MAJOR issue that i am facing on one the apps that i am working is with WEBVIEWS like getting text from a web view e.t.c; , Curious to know will appium slove this problem on android ..
--"Please consider the environment before printing this e-mail"Newsworks - bringing advertisers and newsbrands togetherThis e-mail and any attachments are confidential, may belegally privileged and are the property of NI Group Limitedon whose systems they were generated. NI Group Limited isthe holding company for the News International group, isregistered in England under number 81701, has its registeredoffice at 3 Thomas More Square, London E98 1XY and VATnumber GB 243 8054 69. If you have received this e-mail inerror, please notify the sender immediately and do not use,distribute, store or copy it in any way. Statements oropinions in this e-mail or any attachment are those of theauthor and are not necessarily agreed or authorised by NIGroup Limited or any member of its group. NI Group Limitedmay monitor outgoing or incoming emails as permitted by law.It accepts no liability for viruses introduced by this e-mailor attachments.
not allowed because package com.amazon.mShop.android.selendroid does not have a signature matching the target
Visit this group at http://groups.google.com/group/appium-discuss.
I executed following commands in the cmd promptHow could I proceed Jonathan?. Please help me.I am trying to automate androd app(which has webview) in Windows platform.
C:\Appium\node_modules\appium>reset --selendroid
Log is as below,I ran the command C:\Appium\node_modules\appium>node server.js --full-resetThen ran my code,
@Test
public void test() throws Exception {
System.out.println("1");
File appDir = new File("E://AndroidWorkspace//appiumandroid//src//Resource");
//new FileInputStream(System.getProperty("user.dir")+"\\src\\Resource\\or.properties
File app = new File(appDir, "myApp.apk");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("device","selendroid");
capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
capabilities.setCapability(CapabilityType.VERSION, "4.2.2");
capabilities.setCapability(CapabilityType.PLATFORM, "WINDOWS");
capabilities.setCapability("app-package","com.myApp.activity");
capabilities.setCapability("app-activity","LoginActivity");
capabilities.setCapability("app", app.getAbsolutePath());
driver = new RemoteWebDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"platform":"WINDOWS
","app":"E:\\AndroidWorkspace\\appiumandroid\\src\\Resource\\myApp
.apk","browserName":"","app-package":"com.myApp.activity","device":"selend
roid","app-activity":"LoginActivity","version":"4.2.2"}}
info: Using local app from desiredCaps: E:\AndroidWorkspace\appiumandroid\src\Re
source\myApp.apk
info: Creating new appium session cf0ca267-d6c8-48f4-90ab-5ddde26cec21
info: Starting selendroid server
info: Checking whether selendroid is built yet
info: Selendroid server exists!
info: Starting selendroid
info: Preparing device for session
info: Checking whether app is actually present
info: Checking whether adb is present
info: [ADB] Using adb from E:\adt-bundle-windows-x86-20130522\sdk\platform-tools
\adb.exe
info: Trying to find a connected android device
info: [ADB] Getting connected devices...
info: [ADB] 1 device(s) connected
info: [ADB] Setting device id to emulator-5554
info: Found device, no need to retry
info: [ADB] Waiting for device emulator-5554 to be ready and to respond to shell
commands (timeout = 5)
info: Checking whether we need to run fast reset
info: User doesn't want fast reset, doing nothing
info: Rebuilt selendroid apk exists, doing nothing
info: Rebuilt selendroid server already exists, no need to rebuild it with a new
manifest
info: Checking signed status of C:\Windows\Temp\selendroid.com.myApp.activ
ity.apk
debug: Checking app cert for C:\Windows\Temp\selendroid.com.myApp.activity
.apk: java -jar "C:\Appium\node_modules\appium\app\android\verify.jar" "C:\Windo
ws\Temp\selendroid.com.myApp.activity.apk"
info: Checking signed status of E:\AndroidWorkspace\appiumandroid\src\Resource\myApp.apk
debug: Checking app cert for E:\AndroidWorkspace\appiumandroid\src\Resource\myApp.apk: java -jar "C:\Appium\node_modules\appium\app\android\verify
.jar" "E:\AndroidWorkspace\appiumandroid\src\Resource\myApp.apk"
debug: App already signed.
debug: App already signed.
debug: Getting install/clean status for com.myApp.activity.selendroid
info: Rebuilt selendroid is not installed, installing it
info: Installing C:\Windows\Temp\selendroid.com.myApp.activity.apk
debug: pkg: /data/local/tmp/selendroid.com.myApp.activity.apk
Failure [INSTALL_FAILED_UID_CHANGED]
info: Determining app install/clean status
debug: Getting install/clean status for com.myApp.activity
info: [ADB] Forwarding system:8080 to device:8080
error: Error: Command failed: error: cannot bind socket
info: Overriding session id with ,,,,,,,,,,,,,,,
error: Failed to start an Appium session, err was: Error: Command failed: error:
cannot bind socket
info: Responding to client with error: {"status":6,"value":{"message":"A session
is either terminated or not started (Original error: Command failed: error: can
not bind socket\r\n)","killed":false,"code":1,"signal":null,"origValue":"Command
failed: error: cannot bind socket\r\n"},"sessionId":null}
POST /wd/hub/session 500 11276ms - 305
info: Clearing out appium devices
Thanks & Best regards,
Elangovan GQA Automation Engineer
BPA Technologies Pvt Ltd, Chennai
On Thu, Jul 18, 2013 at 9:25 AM, Jonathan Lipps <jli...@gmail.com> wrote:Appium has changed since then.On Jul 17, 2013, at 3:03 PM, Elangovan Ganesan <elang....@gmail.com> wrote:In the above thread I see below, wrote by Boostrap online.
git clone git://github.com/appium/appium.git
cd appium; ./reset.sh
node server.js -V --fast-reset --without-delay
Thanks & Best regards,
AFAIK uiautomator doesn't support webviews...you need to use selendriod
http://selendroid.io/hybrid.html
--
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discuss+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
--
Swapnil
Best Regards,
Aniket Gadre
“Programming can be fun, so can cryptography; however they should not be combined.”
rebuild selendroid with reset.bat --selendroid
run "reset.bat --selendroid"
Also have you run./reset.sh --selendroid? It grabs the selendroid submodule. If you don't have it it will fail to build selendroid with a file not found error just like the one you're seeingOn Sat, Apr 27, 2013 at 2:09 PM, bootstrap online <ma...@bootstraponline.com> wrote:
Do you have maven installed? Selendroid tries to run mvn install.
https://github.com/appium/appium/blob/d00ecbe217ee60b2cecccc2ced4a6a06fe3cfc8a/app/selendroid.js#L73
--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss?hl=en.