In mobile App automation testing I implement Scroll-to-a-button two weeks ago using AndroidUIAutomator (Native App context) , everything was working until today. The same code is not working and showing error. #19901
Closed
shoumik121
started this conversation in
General
Replies: 1 comment
-
The issue has been solved by the team. thank you so much. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
please help me 🙏
now I see this
(1)
running "appium" in my cmd
(2)
[W3C] Matched W3C error code 'invalid session id' to NoSuchDriverError
[HTTP] <-- GET /session/ee5f3952-7d67-4ab1-8c0d-88a339032e86/source 404 36 ms - 3691
(3)
I also found this while uninstalling/updating the drivers (uiautomator2, flutter driver)
Code:
public void scrollToViewEditProfile_Settings() throws InterruptedException {
Error in appium server:
[AndroidUiautomator2Driver@34b1 (ccc239eb)] Matched '/elements' to command name 'findElements'
[AndroidUiautomator2Driver@34b1 (ccc239eb)] Proxying [POST /elements] to [POST http://127.0.0.1:8202/session/7ce5afa5-0416-46ae-8c8a-93a6b1ec1215/elements] with body: {"strategy":"-android uiautomator","selector":"new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().textMatches("Edit Profile").instance(0))","context":"","multiple":true}
[AndroidUiautomator2Driver@34b1 (ccc239eb)] Got response with status 404: {"sessionId":"7ce5afa5-0416-46ae-8c8a-93a6b1ec1215","value":{"error":"invalid session id","message":"The session identified by 7ce5afa5-0416-46ae-8c8a-93a6b1ec1215 is not known","stacktrace":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: The session identified by 7ce5afa5-0416-46ae-8c8a-93a6b1ec1215 is not known\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:54)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:259)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:253)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:77)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:3...
[W3C] Matched W3C error code 'invalid session id' to NoSuchDriverError
[FlutterDriver@e804 (f4875cfa)] Encountered internal error running command: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: The session identified by 7ce5afa5-0416-46ae-8c8a-93a6b1ec1215 is not known
[FlutterDriver@e804 (f4875cfa)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:54)
[FlutterDriver@e804 (f4875cfa)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:259)
[FlutterDriver@e804 (f4875cfa)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:253)
[FlutterDriver@e804 (f4875cfa)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:77)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[FlutterDriver@e804 (f4875cfa)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
[FlutterDriver@e804 (f4875cfa)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[FlutterDriver@e804 (f4875cfa)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[FlutterDriver@e804 (f4875cfa)] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)
[FlutterDriver@e804 (f4875cfa)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
[FlutterDriver@e804 (f4875cfa)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
[FlutterDriver@e804 (f4875cfa)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
[FlutterDriver@e804 (f4875cfa)] at java.lang.Thread.run(Thread.java:923)
[FlutterDriver@e804 (f4875cfa)]
[HTTP] <-- POST /session/f4875cfa-8a4f-4e25-a302-828319d9ea07/elements 404 82 ms - 3691
[HTTP]
[HTTP] --> GET /session/f4875cfa-8a4f-4e25-a302-828319d9ea07/contexts
[HTTP] {}
please help me if possible 🙏
Beta Was this translation helpful? Give feedback.
All reactions