Comments (14)
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.
Related Issues (20)
- ActivityFinisher should wait until all finishing Activities are completely destroyed before running next test
- withText matches Buttons too HOT 1
- DexException Multiple dex files define Ljunit/extenstions/ActiveTestSuite$1; HOT 4
- withContentDescription doesn't have resId overload
- AndroidJUnitRunner cannot create ActivityUnitTestCase's target activity HOT 3
- Adding "androidTestCompile 'com.android.support.test.espresso:espresso-core:2.0'" to dependencies causes build to fail HOT 3
- AndroidJUnitRunner doesn't run JUnit test with clear JUnit4 style HOT 1
- Espresso2.0 (bundled with guava) - NoSuchMethodError while initializing Espresso HOT 1
- Google maps support
- AndroidJUnit4 should skip tests with failing assumptions
- scrollTo() is not working?
- is enabled doesn't match the selected view HOT 1
- Cannot build on Maven 3.2.5
- Clicking on Component when developer don't know the ID of the component
- Espresso does not wait until SwipeRefreshLayout RefreshListener finished HOT 1
- Unable to switch on EditText overflowed by auto-complete view
- Russian text in EditText throws an exception
- Russian letter
- Unregistering idling resource causes the Espresso to think we have busy idling resources HOT 1
- Update Support Annotations version used by Espresso Contrib
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.