Comments (16)
Agreed. We are planning to add it. If you have specific requirement (i.e. what
you want and do not want to do with a WebView), let us know.
Original comment by [email protected]
on 14 Nov 2013 at 6:52
- Changed state: Accepted
from android-test-kit.
Original comment by [email protected]
on 14 Nov 2013 at 6:53
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from android-test-kit.
For Woven, I'd like to be able to log into various 3rd party photo services
such as Picasa and Facebook.
https://play.google.com/store/apps/details?id=com.litl.FireDrill
The typical flow is:
- Page loads
- Find the first textfield and enter the username
- Find the second textfield and enter the password
- Find the submit button and press it
- OAuth page loads
- Find the authorize button and press it
Original comment by [email protected]
on 14 Nov 2013 at 7:02
from android-test-kit.
Thanks. Keep the feedback coming.
What are your thoughts about the WebDriver API? Would you like the ability to
get a driver object and use the full WebDriver API or would you prefer if
Espresso provided native support for WebView operations?
One tricky thing with WebViews - it's harder to synchronize the actions.
WebDriver "solves" this problem by wait/retry mechanisms, but this is far from
ideal.
Original comment by [email protected]
on 14 Nov 2013 at 9:25
from android-test-kit.
I really like the WebDriver API and am using that abstraction for native
testing. Testing Woven on iOS & Android using Appium & WebDriver was featured
at GTAC 2013.
http://www.youtube.com/watch?v=1J0aXDbjiUE
The iOS webview login code for Picasa looks like this:
https://gist.github.com/q-a/3f36d9f5da748b8690f7
There are a lot of waits due to WebDriver. For Android I'm using uiautomator
and that has no webview support at all. Anything Espresso provides in this area
will be greatly appreciated. In the ideal world, Espresso would have the full
WebDriver API.
Original comment by [email protected]
on 14 Nov 2013 at 9:37
from android-test-kit.
I'd also love to see a WebDriver implementation of webview support.
Original comment by jlipps
on 14 Nov 2013 at 10:26
from android-test-kit.
A WebDriver implementation with webview support is considered a must-have for
us.
Original comment by [email protected]
on 14 Jan 2014 at 12:44
from android-test-kit.
Agreed. Since our app uses, most unfortunately, an oAuth2 WebView for login,
and some other areas, support for WebView is an absolute must. Thanks chaps.
Original comment by [email protected]
on 30 Jan 2014 at 3:07
from android-test-kit.
Could you share any info regarding when the new version of espresso (with web
view support) is coming? Thanks.
Original comment by [email protected]
on 27 Mar 2014 at 11:19
from android-test-kit.
when udate new version?
when provide webView test?
Original comment by [email protected]
on 14 Apr 2014 at 4:45
from android-test-kit.
I do want the webview supported apis, such as load a url and get current url,
press the element(if can specify linked element is better) on webview...
what is the release time of the webview support version?
Original comment by [email protected]
on 15 May 2014 at 3:50
from android-test-kit.
any update on this?
Original comment by [email protected]
on 23 Sep 2014 at 12:43
from android-test-kit.
The app I am working with uses a webview for log in .. has support been added
for this?
Original comment by [email protected]
on 10 Nov 2014 at 2:55
from android-test-kit.
Also need support for testing WebViews for log-ins.
Original comment by [email protected]
on 30 Dec 2014 at 12:19
from android-test-kit.
@Espresso Team
What about this issue ? Are you working on it ?
Original comment by [email protected]
on 20 Mar 2015 at 11:33
from android-test-kit.
The feature is still being worked on. Some details were provided in this
podcast.
http://androidbackstage.blogspot.com/2015/04/episode-25-espresso.html
Original comment by [email protected]
on 26 Apr 2015 at 7:49
from android-test-kit.
Related Issues (20)
- Espresso fails Chromium's license check HOT 3
- IncompatibleClassChangeError when using espresso-contrib HOT 3
- Performing click on fullscreen does not work (Fullscreen Activity Code Template) HOT 4
- Test failing on Lollipop when performing a click on a view whose parent layout has an indeterminate progress bar HOT 2
- Prebuilt binaries provide/use inconsistent versions of Dagger HOT 3
- getting "Espresso ViewAssertion Failed Looped for 3528 iterations over 60 SECONDS. The following Idle Conditions failed ." error HOT 1
- openActionBarOverflowOrOptionsMenu does not work with non-english locale & proguard used HOT 1
- Unable to run espresso tests - ComponentInfo not found for android.support.test.runner.AndroidJUnitRunner HOT 2
- AndroidJUnitRunner now marking failures where before it had not HOT 1
- DrawerActions is (still) leaking the parent listener HOT 2
- Context not initialized with ProviderTestCase2 (NullPointerException) HOT 1
- Basic intent test fails. HOT 1
- Using recyclerview-v7:22.1.1 causes NPEs with espresso-contrib 2.1 because it depends on recyclerview-v7:22.0.0
- Using onData with an overlaid View won't properly click on items
- Getting DexException when running assembleDebugAndroidTest goal second time
- Enhancement: FlakyTest for JUnit4/Espresso
- MonitoringInstrumentation leaking activity instances through ExecutorService HOT 2
- withText doesn't find views with textAllCaps attribute used
- using onData in RecyclerView HOT 2
- Espresso-contrib cannot inflate RecyclerView with IllegalStateException (Unable to find LayoutManager)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-test-kit.