Giter VIP home page Giter VIP logo

Comments (10)

HoLeAnh avatar HoLeAnh commented on May 20, 2024

appium-server-logs.txt
Full log appium

from appium-flutter-driver.

shibupanda avatar shibupanda commented on May 20, 2024

@HoLeAnh As I can see in the logs there is no such request "find.byValueKey("action_payment_method");" coming to the server and the beta appium-flutter-driver has been release with appium 1.16.0.

from appium-flutter-driver.

HoLeAnh avatar HoLeAnh commented on May 20, 2024

I don't know why there is no request find element : "action_payment_method" .
But in my code i already find it, you can let me know where i am wrong ? @shibupanda

MobileElement addressButton = find.byValueKey("action_payment_method");
addressButton.click();

from appium-flutter-driver.

ahashmi24 avatar ahashmi24 commented on May 20, 2024

@HoLeAnh
In order to interact with flutter elements, you have to use AutomationName as 'FLUTTER' in place of 'IOS_XCUI_TEST' and also you need to switch the driver context to 'Flutter' view before interacting with flutter elements or 'Native' for native elements respectively.

from appium-flutter-driver.

HoLeAnh avatar HoLeAnh commented on May 20, 2024

@ahashmi24 my app is native and some page be embedded flutter, if i start driver with AutomationName as 'FLUTTER' my test cannot run.

from appium-flutter-driver.

HoLeAnh avatar HoLeAnh commented on May 20, 2024

@shibupanda there are any solution for my problem ?

from appium-flutter-driver.

pferdalburakcinar avatar pferdalburakcinar commented on May 20, 2024

@ahashmi24 my app is native and some page be embedded flutter, if i start driver with AutomationName as 'FLUTTER' my test cannot run.
I have the same problem. Please inform me if you find the solution.

from appium-flutter-driver.

chughrahul avatar chughrahul commented on May 20, 2024

@shibupanda @ahashmi24
I'm having the same issue, my app is native and some views embedded flutter. If I start driver with AutomationName 'Flutter', it shows error. Is there any solution for this ?

from appium-flutter-driver.

KazuCocoa avatar KazuCocoa commented on May 20, 2024

Technically, if Observatory listening on http://xxxxx system log was in the system log, this driver does not work since it means probably Dart VM does not expose its port.

from appium-flutter-driver.

KazuCocoa avatar KazuCocoa commented on May 20, 2024

Please check logcat/system log if they have Observatory listening on http://xxxxx.
If Flutter officially did not provide tests for embedded components, this does not work as this driver as well.
(I have no idea...)


Please create a new issue then.

from appium-flutter-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.