testing-samples icon indicating copy to clipboard operation
testing-samples copied to clipboard

A collection of samples demonstrating different frameworks and techniques for automated testing

Results 111 testing-samples issues
Sort by recently updated
recently updated
newest added

I notice UiDevice.getInstance() maked as "Deprecated", so how can I get UiDevice out test case Instrumentation? we want to implement our automate testing case , not using current testing framework....

I can install the app and use it. But when I want to run a test, it shows error like this: `Illegal character in opaque part at index 11: jar:file:D:\04_myproject\official\testing-samples-master\ui\espresso\BasicSample\app\build\intermediates\apk_for_local_test\debugUnitTest\packageDebugUnitTestForUnitTest\apk-for-local-test.ap_`...

hi, i tried to run the RecyclerViewSample, but an error occured with the following information: ``` java.lang.AssertionError: Activity never becomes requested state "[RESUMED, DESTROYED, STARTED, CREATED]" (last lifecycle transition =...

I can use onWebView().withElement(findElement(Locator.ID,"checkbutton")) to find this button, but how can I get the text on it ?

Hi, I tried to follow the steps before starting to run. I am new to AndroidStudio. I think I've already imported the testing samples project successfully. I want to try...

My espresso tests were working fine before I updated to AS 3.6 with ``` viewBinding { enabled = true } ``` Now, when I do something like this it is...

In the basic sample of webview , you use findElement, how to work with Atom findMulipleElements

Android Testing CI has been failing for many days, and thus it's been difficult to diagnose issues with it failing with Bazel@HEAD [Here](https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1368#3a7fa3e7-5af6-4902-aba9-032104d467a8) is a failure for Unbuntu 16 this...

https://buildkite.com/bazel/android-testing/builds/634#81249842-64a0-4154-9b9f-7e718deed314 ``` (00:03:15) ERROR: D:/b/xfb66erf/external/maven/BUILD:17:1: Couldn't build file external/maven/androidx_appcompat_appcompat_1_0_0_symbols/symbols.zip: Compiling Android resources for @maven//:androidx_appcompat_appcompat_1_0_0 failed (Exit 1) Jan 30, 2020 12:03:15 AM java.util.stream.ForEachOps$ForEachOp$OfRef accept SEVERE: Error during Compiling bazel-out\android-armeabi-v7a-fastbuild\bin\external\maven\_aar\unzipped\resources\androidx_appcompat_appcompat_1_0_0\res\drawable-xxhdpi-v4\abc_textfield_activated_mtrl_alpha.9.png: Command:...

Incompatible flag --incompatible_no_implicit_file_export will be enabled by default in a future Bazel release [1], thus breaking Android Testing. The flag is documented here: https://github.com/bazelbuild/bazel/issues/10225 Please check the following CI builds...