Closed surbhi03airan closed 1 year ago
I hope u followed this below steps before running your test cases. Your Flutter app-under-test (AUT) must be compiled in debug or profile mode, because Flutter Driver does not support running in release mode.. Also, ensure that your Flutter AUT has enableFlutterDriverExtension() before runApp. Then, please make sure your app imported flutter_driver package as its devDependencies as well.
Yes, app is already in debug mode And we have added the required dev dependencies as well.
Can you please help here to debug this:
There was some issue in my apk. Connected with the develop to add the valueKey or SemanticLabel for some elements uniquely and used the function of flutter setFrameSync as false This issue is fixed and working fine now. Thanks, closing the thread :)
Getting this everytime [io.github.ashwith.flutter.FlutterElement@ee115f32 -> unknown locator]
My apk is in debug mode and have all the pre-requirements to automate the app. I am using appiumflutterDriver@1.14.1 and tried with appiumflutterdriver@1.14.3 which is downloaded through terminal. I have added the maven dependency in my repository and trying to automate the flutter view embedded in native apk.
Desiredcapabilities code:
In the test class...I am trying to use the flutterFinder:`
I am able to see the RenderTree but not able to perform any action on the flutter widget element. Appium server got struck here :
Appium Logs: AppiumLogs.txt
thanks in advance!