Testing html5 inputs in Android application by Robotium
At start i want to say sorry about my English skill. I write automated test for the hybrid Android application. GUI of this app is written in HTML5/JS/CSS3 (with angularJS framework). I want to test any data form. Form is filled with some data on the start (received from server). To enter new data I have to clear current value and enter the new one. For enter new text i use:
By element = By.cssSelector("...");
solo.typeTextInWebElement(element, "foo", 0);
and it works well. I have got problems with data clear. In the Robotium documentation i found method:
This method cannot get index parameter (I don't know why), it only use the "By" object to catch specified element. I decided to use code like:
By item = By.cssSelector("input:nth-child(3)");
but still doesn't work too. I don't know how to test web inputs by Robotium.
Is the real benefit in TDD the actual testing of the application, or the benefits that writing a testable application brings to the table? I ask becuase I feel too often the converstation revolves so
I have an HTML5 offline app and on occasion users have cache errors which I handle with the event listener and display a generic error message. In order to help debug these I'd like to also display a
I've been spending the last week to develop a little platform game with HTML5's canvas element. I was thinking about trying to port my game to the Android platform, but came across a few questions. I
I want to create a mobile chat application in jquery-mobile/html5/css3 + phonegap(client) and possibly java(server). Is there probably a phonegap plugin? Do you know a good tutorial? How would you rea
I would like to know is there any way to access to Android menu with help of Robotium framework? (http://code.google.com/p/robotium/) I want to programmatically select GPS activation line from menu. I
iPhone's Mobile Safari seems to recognize most new HTML5 input types, in particular the ones detailed here, such that tapping in an input declared like so: <input type=number id=myInput value=
i am working on perl testing for android application ,how to use perl script for testing android application using eclipse epic please forward some solution Thank You Very Much Narasimha
I've been writing a simple text-editor in HTML5 that is supposed to work offline. I can't, however, get the offline application cache to work, and I can't work out why not. My manifest file is like th
I have a Jenkins job that starts a Robotium test from command line: adb shell am instrument -w com.foo.tests/android.test.InstrumentationTestRunner Sometimes the test run gets stuck. When I abort th
Just wondering if is there a way to create background task in Android using HTML5 API instead of using native Java SDK?
I'm trying to port a HTML5 app to android and I'm doing it in Eclipse. The android (java) part is no problem, Eclipse is great. When I open the HTML part though, Eclipse is not so great. Since it's
In my android application (Tablet) I want to verify that after selecting a button the fragment appears on the screen. Is there a way to do this?
How much HTML5 android 2.2 's browser supports? Is there any place/doc where I can find that what all HTML5 tags are supported by android 2.2 browser. Thanks for help.
I have a simple HTML5 form, opened in Android webview. But while filing the input textboxes, the keyboard is coming but, the next button ( ->| ) is not coming. What can be the issue ?
I use modernizr to support some html5 features (like placeholder or different input types such as date, number) for my website. However, the current browsers in my mac (chrome and safari) support html
I am able to add one testing application and build it in android source. But the problem is that the new testing application is not getting signed with the platform key. I have added LOCAL_CERTIFICATE
I have read lots of threads and articles all with pointers around how to encode video for HTML5 playback in Android. No matter how much I try the various settings, using Handbrake or Miro, I still hav
I'm using a Webview, playing different html5 videos (internal tag and Youtube videos). When closing the Webview I tried loading a blank page + hiding the view + pausing the webview. The Webview seems
I am adding facebook comments to my HTML5 web application. Using the HTML5 Mobile Boilerplate. First I created a facebook app in developers panel. I then added this to the head of my web app head. <
I have to fight some flaky tests and am stuck at one exception I sometimes get with robotium Caused by: java.lang.NullPointerException at com.jayway.android.robotium.solo.ViewFetcher.getTopParent(Vie
How can I open a html5 pop up in flash web application, can we make applications which are hybrid of html5 and flash?
I am beginner in sapui5. My requirement is to build a Desktop application in SAPUI5 environment using HTML5 elements. What IDE can I use to build that. Please refer me some links which help me in that
Well this is my first question here, so please forgive me if I`m doing it wrong. I`m writing my first very simple HTML5 Mobile game and I have issue that on Android(maybe other phones also) there is y
I want to play youtube video in webview on click of list items. Can anybody let me know in detail how can I use tag of HTML5 in android. -rajani
I try to work on an interface on html5 for mobile. i try to follow a mouvement, with touchstart/touchmove/touchend/touchcancel. but when i try to follow a mouvement i allways quikly have au 'touchcanc
I have found 'Robolectric' framework to be efficient for testing in android. I am currently using 'netbeans' as my IDE for developing android app. So how can I setup Robolectric in netbeans? Thanks
Hi I am new to robotium and currently testing android actionbaritems in my application, i used the following code , assertTrue(solo.searchText(Log In;)); solo.clickOnButton(Log In;); solo.waitFo
I'm trying to test an activity including annotations from android-annotations 2.7 like @EActivity, @ViewById, etc. Every test fails because of an NoClassDefFoundError. Has anyone a working example how
So I am working on implementing an html5 based game into an android app using webview. Now performance varies but sometimes it is decent or sometimes it is horrible. So I was wondering if there is som
We have a webapp that's backed by a java spring web application. Apparently our Rational Robot tool that we normally would use to stress test a browser application doesn't deal with the HTML5'ness of
It seems to me that robotium was designed in a way to test 1 Activity at a time instead of the whole application. So my question is how do I test an activity that expects an extra to be passed to it?
The new Netbeans 7.3 Beta 2 adds a really nice feature for creating an HTML5 application. It also provides a great way to create a Java Server based Web Application. But there does not appear to be an
I created test Project. In that i created folder robotium and pasted 2 robotium jar files(robotium-solo-3.4.1-javadoc.jar and robtium-solo-3.4.1.jar).from the properties i configured java build path
I have the following scenario for a PhoneGap mobile app: App opens and displays index.html User logs in and gets redirected to home.html User can then go to news.html I want to handle the back button
I need to stop a HTML5 animation from outside the Web browser. I have tablets that are showing HTML5 pages with animations. So, I have a Web View (Basic4Android) in my Android Application that shows
I'm having a problem with searchText() function used with Robotium. I'm searching for this string: <string name=provisioning_wizard_title_2>Service Activation Wizard (Step 2)</string>
I am new to android test cases(Robotium). I want to write test case for unlock screen and panel(Button) or Detail(Button) or Launcher icon (Button) using Robotium test case. After i want to Tap on my
I have done a bit of research on HTML5 and started doing minor programming on Android. My questions is whether I should concentrate on HTML5 programming or Android. I understand that with HTML5 I shou
Hi I have a an android app built with PhoneGap. So, the user interface is built as HTML5 page. It worked fine until I tested this on Android 4.0, now when I long press, android give me option to selec
Possible Duplicate: WebView and HTML5 <video> Hi Can anybody tell me Do android webview supports html5 video play?? if yes can you please tell me how ?
I know there are a lot of old discussion about this, but I am developing for new devices. I want to use WebView to show html5 video in video tag. I want to use this for android devices 4.0+ or even 4.
I am using Robotium to test android application. Below is my piece of code. I wanted to verify DB details as well. How to add db connectivity and verify this? package com.robotiumtest.android; import
Why i am getting following error while testing the application? App1 does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in i