iOS-Tagent icon indicating copy to clipboard operation
iOS-Tagent copied to clipboard

Alert.click, accept and dismiss methods cause tagent crash

Open xd2006 opened this issue 6 years ago • 4 comments

  1. Run tagent on iPhone XR in xcode 10.2
  2. Call any alert on iPhone
  3. Send alert request like http://10.xxx.xxx.xxx:8100/session/5D590FA6-EA8A-4A7D-A4A2-106432C6DB0E/alert/dismiss

Results: alert is dimissed but tagent crashes https://www.screencast.com/t/4oibxgxRcCVr 2019-07-12_1845

xd2006 avatar Jul 12 '19 15:07 xd2006

Can you give more details to help us reproduce your problem? I don't quite understand what you said "Call any alert on iPhone".

EraChen233 avatar Jul 26 '19 09:07 EraChen233

I mean that you need to perfrom any action to call standard iOS alert dialog. For example I test purchases in our game using sandbox environment. So purchase confirmation alert looks like this: https://www.screencast.com/t/1zvHME1u alert I also realised that replacing XCTest.framework to the one from Xcode 10.1 version solves the problem.

xd2006 avatar Jul 26 '19 11:07 xd2006

I also find this problem.

crash stack is shown, but bug is in wda framework,i can't fix it. could this project import wda lib with source code instead of framework?

chenqb avatar Sep 19 '19 11:09 chenqb

I also find this problem. http://localhost:8100/session/7AA15EC4-07EA-46DE-94AQ-632181E89186F/alert/accept {"name": "OK"}

xzhacker123 avatar Apr 17 '20 07:04 xzhacker123