Comments (7)
Nothing happened could indicate low level XCTest framework did click event, but the app did not receive such an event, or soemthing.
I found out some logs like below on your attached one. Touch event occurred on the testmanagerd level, so as Appium/XCTest perspective, it worked. mobile:tap
log also looks similar
2024-05-11 10:04:31:384 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus SpringBoard(XCTAutomationSupport)[33] <Notice>: Replying with attribute values: <private>
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus deleted[174] <Notice>: <private> servicePurgeable returned
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: Synthesizing event with implicit confirmation interval 5:
2024-05-11 10:04:31:385 [IOSDeviceLog] <XCSynthesizedEventRecord 'W3C Touch Action display 0'>
2024-05-11 10:04:31:385 [IOSDeviceLog] Path 1:
2024-05-11 10:04:31:385 [IOSDeviceLog] Touch down at 274.0, 454.0, offset=0.00s
2024-05-11 10:04:31:385 [IOSDeviceLog] Touch up at 274.0, 454.0, offset=0.00s
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus deleted[174] <Notice>: dequeuePurge <private> [0x6a490d280] no purges queued
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: Registering for user testing event TouchEventsCompleted
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: current event time offset 0.000
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: current: Touch down at 274.0, 454.0, offset=0.00s
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: touch down {274, 454}
2024-05-11 10:04:31:385 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: Added action for event state <_XCSynthesizedTouchEventState: 0xb78a31680> offset:0.000
2024-05-11 10:04:31:386 [IOSDeviceLog] down touch:{
2024-05-11 10:04:31:386 [IOSDeviceLog] 1 = "<_XCSynthesizedPointerEvent: 0xb78a15cc0> {274, 454}";
2024-05-11 10:04:31:386 [IOSDeviceLog] }
2024-05-11 10:04:31:386 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: current event time offset 0.000
2024-05-11 10:04:31:386 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: current: Touch down at 274.0, 454.0, offset=0.00s
2024-05-11 10:04:31:386 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: touch move {274, 454} with pressure 0.0000
2024-05-11 10:04:31:386 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: touch up {274, 454}
2024-05-11 10:04:31:386 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: Added action for event state <_XCSynthesizedTouchEventState: 0xb78a05e70> offset:0.000
2024-05-11 10:04:31:386 [IOSDeviceLog] update touch:{
2024-05-11 10:04:31:387 [IOSDeviceLog] 1 = "<_XCSynthesizedPointerEvent: 0xb78a16790> {274, 454}";
2024-05-11 10:04:31:387 [IOSDeviceLog] }
2024-05-11 10:04:31:387 [IOSDeviceLog] lift touch:{
2024-05-11 10:04:31:387 [IOSDeviceLog] 1 = "<_XCSynthesizedPointerEvent: 0xb78a05ed0> {274, 454}";
2024-05-11 10:04:31:387 [IOSDeviceLog] }
2024-05-11 10:04:31:387 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus testmanagerd[438] <Notice>: Recap event action playback initiated
2024-05-11 10:04:31:387 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus backboardd(IOKit)[63] <Notice>: Connection added: IOHIDEventSystemConnection uuid:FE481230-B930-4A77-8D45-C6C99D53DCA9 pid:438 process:testmanagerd type:Simple entitlements:0x1c caller:HID: <redacted> + 96 attributes:(null) state:0x0 events:0 mask:0x0 dropped:0 dropStatus:0 droppedMask:0x0 lastDroppedTime:NONE
2024-05-11 10:04:31:387 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus deleted[174] <Notice>: Updating service info amount: 0, serviceID: <private>, volume: <private>, urgency: 3 pushed: FALSE, timestamp: 737114671.248427
2024-05-11 10:04:31:388 [IOSDeviceLog] May 11 15:34:31 iPhone-8-Plus deleted(CacheDelete)[174] <Notice>: 219 updateServiceInfoAmount NO CHANGE for <private> at 3 on <private>```
from appium.
Possibly you could try out vanilla XCTest for UI if it has different behavior. The low-level should be the same/similar, so I guess it also behaves as same.
from appium.
Thanks @KazuCocoa for quick response. The app is developed with flutter framework. On the same screen there are two button Next & Skip. As per this flutter buttons Next button is Filled Button and Skip button is Text button.
Click on Next Button works fine and navigated to other screen but clicking on Text button nothing happens.
Could you please help me with some pointers/examples how to use vanilla XCTest for UI and click on the element ?
Thanks!
from appium.
Some online resources would help, for example. (random pickup here)
In the Flutter framework, the behavior could depend on how the Flutter/DartVM behaves for the iOS native's event. No surprise if it does not work then. (I saw a similar report somewhere before, which might not be Appium-specific)
from appium.
@KazuCocoa, does the vanilla integration is possible with appium ?
I mean the app is launched with appium and perform the click action on the skip button with vanilla? Please let me know. I will try it later.
Thanks!
from appium.
It is separated from Appium. You may need to write launching the test app etc with the XCTest project
from appium.
Related Issues (20)
- bug: Scroll on Android don't work HOT 1
- [Feat]: Can I specify my own registry in "appium driver install --source=npm" HOT 4
- universal-xml plugin issue with webview mode HOT 7
- Appium server crashes and shuts down on first test HOT 25
- Real device architecture is not supported application after upgraded xcuitest driver to 7.15.1 HOT 6
- Nothing happen after Responding to client with driver.createSession() HOT 7
- Delete key on iOS keyboard is not working HOT 10
- [Feat]: Support for custom usbmuxd socket path or url HOT 1
- "Error:Appium Settings app is not running after 30000ms" while running emulator in headless in Android version 13 and 14 HOT 4
- bug: XCUITest-driver invalid platform detection when ipa have more than 1 bundle HOT 3
- Unable to resolve the launchable activity of 'com.google.android.youtube' HOT 8
- Appium accessibility id's different on android to iOS HOT 1
- bug: Appium Inspector loads some app screens slowly/not at all HOT 1
- Possible bug - I get certain errors ONLY when "isHeadless" is set to true HOT 2
- bug: Appium XCUITest crashes the iOS app on clearing the input XCUIElementTypeTextField HOT 3
- The picture stream of ios device is displayed with black edges HOT 4
- Appium Crash after Performing cleanup HOT 7
- PrebuiltWDA for iOS 17 not working well and always got Timeout HOT 13
- [Feat]: help initial steps to use appium HOT 7
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 appium.