flutter_driver package provides tools to create instrumented apps and drive those apps from a test suite
Questions tagged [flutterdriver]
78 questions
0
votes
0 answers
Create a list of all Elements and their Valuekeys
I am currently facing the problem that i can't find a way to create a list of all elements and their Valuekeys, of a apk. Is there anyway that can be resolved?
Using the driver.find_elements(by=AppiumBy.CLASS_NAME,value='android.widget') leaves me…

FotogyDS
- 1
- 2
0
votes
0 answers
Appium Error: Cannot read property 'match' of undefined
I focused on working on a testautomation for a little flutter app i made all in the favor for my university papers.
The Problem:
When i start an appium server, an android emulator, and my script in python, i get this error message: "UnknownError: An…

FotogyDS
- 1
- 2
0
votes
0 answers
How to run flutter integration_test_driver_extended and integration_test_driver in same test?
Is there a way to run the integration_test_driver[1] and integration_test_driver_extended [2] from integration_test package in one driver test, because I need both, the responseDataCallback as well as onScreenshot function?

th_lo
- 461
- 3
- 18
0
votes
0 answers
How to differentiate the tests as sanity, regression with annotations in flutter integration test
I'm using google flutter integration driver to automate the mobile flutter apps.
The way we do differentiate the test suites as sanity, regression by tagging annotations in espresso, testNG, etc.
Is there any way in flutter integration tests to…

Jagadeesh
- 358
- 5
- 17
0
votes
0 answers
is their a way to key a error message that is thrown from a text box input in flutter for my integration tests
im having some issues with my integration tests in flutter on how i can check if an error pops up when wrong value is input idk how to check for it any help would be much appeciated.
`
child: TextFormField(
key:…

Batcat456
- 3
- 2
0
votes
0 answers
Flutter driver not able to enter 2 different sub texts in the same text field which is rich text formatted like hh:mm
I am using flutter driver to automate the mobile app,
And I am blocked with this case,
I am trying to entering into a rich text field that is formatted. like hh : mm as and when I type hours the app automatically puts the colon and moves to the next…
0
votes
1 answer
flutter driver chromedriver couldn't detect chrome
chromedriver couldn't open the chrome
dart-debug-extension was installed but not detected
versions are the same 99
how should i fix this?
for more information
i would insert flutter doctor -v output below
flutter doctor
[✓] Flutter (Channel stable,…

hasanm08
- 488
- 4
- 13
0
votes
1 answer
Flutter driver doesn't find or tap TextInputField w/ semantics label
I'm developing flutter integration tests with flutter driver and want to use the semantic labels to find widgets (i.e. find.bySemanticsLabel('my-label')), specifically TextFormFields. However, finding widgets by semantics doesn't work unless I…

t.animal
- 3,012
- 1
- 24
- 25
0
votes
1 answer
Integration testing using Flutter Driver for OTPTextField widget in flutter
I am trying to do integration testing using flutter driver. I am using await driver.enterText(find.byType('OTPTextField')) to enter the otp using flutter driver. But it's stuck at that screen and does nothing and the test fails after termination…

Devansh Shukla
- 15
- 7
0
votes
1 answer
How to run Flutter driver tests remotely
We have Flutter driver tests running locally with a command like:
flutter drive --target=test_driver/app.dart --driver=test_driver/test/login_test.dart --flavor dev --no-start-paused
And having an Android device plugged in to the computer.
Now we…

Tomás Wonderfurt
- 127
- 5
0
votes
1 answer
How to do integration test with flutter driver on autocomplete textfield in flutter
How to do integration test with flutter driver on AutoTextCompleteFiled with GlobalKey value. How we can identify the AutoTextCompleteFiled widget with the Global key and how we can enter text in this widget with flutter driver automation in BDD?

Ebin Francis
- 31
- 4
0
votes
0 answers
Run Flutter Driver Tests On Azure DevOps Pipeline By Flutter Test Job
i want run flutter driver test on devops by flutter test job.
can i run tests on emulator that installed on devops server?
i tried adding flutter command job with this
flutter drive --target=test_driver/app.dart after flutter install job
but it…

congrat
- 11
- 3
0
votes
1 answer
How do I catch exceptions when using `flutter drive`?
When using flutter drive my tests still pass even when there was a runtime exception in the stack.
For example, adding this code to build(), goes undetected:
int? i;
i!.round();
Does anyone know how I can fail on this error?

shawnblais
- 1,038
- 11
- 23
0
votes
2 answers
How to check application state with FlutterDriver?
We're building some integration tests with FlutterDriver, and would like to verify the state of the application.
It seems flutter drive runs in a totally different instance than the app, so they can not communicate indirectly by stashing data in…

shawnblais
- 1,038
- 11
- 23
0
votes
1 answer
How to automate a Flutter Application
I am working on a project in which I am using webview to open a website.
I want the application to automatically fill data in the required fields and log in by reading the OTP and perform various actions depending on various events like people…

Rahul Kumar Jha
- 59
- 1
- 12