You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run 'execute adb shell' command with logcat but sometimes I'm getting:
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot execute the 'logcat -d -e ^.*ENTM.*$' shell command. Original error: Command 'C:\\Users\\xxxxxx\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s R3CM404B3NP shell 'logcat -d -e ^.*ABCD.*$' timed out after 20000ms. StdOut: --------- beginning of main
This happens because the logcat is to big. If I do 'logcat -c' to clean it, it works fine. But for my test I should not do that.
There is any way to increase this 20000ms timeout from ADB? I saw that for application there is newCommandTimeout, but I could not make it work in this case.
What I'm using:
System
robotframework-appiumlibrary 1.6.2
robotframework 4.1
I'm just not sure if we can change existing method or create a new one. Because of *args in implemented method, I could not make it work with method overloading :(
I'm trying to run 'execute adb shell' command with logcat but sometimes I'm getting:
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot execute the 'logcat -d -e ^.*ENTM.*$' shell command. Original error: Command 'C:\\Users\\xxxxxx\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s R3CM404B3NP shell 'logcat -d -e ^.*ABCD.*$' timed out after 20000ms. StdOut: --------- beginning of main
${logcat}= execute adb shell logcat -d -e ^.ABCD.$
Should Contain ${logcat} ABCD
This happens because the logcat is to big. If I do 'logcat -c' to clean it, it works fine. But for my test I should not do that.
There is any way to increase this 20000ms timeout from ADB? I saw that for application there is newCommandTimeout, but I could not make it work in this case.
What I'm using:
System
robotframework-appiumlibrary 1.6.2
robotframework 4.1
appium --relaxed-security --shell
appium --version
1.21.0
The text was updated successfully, but these errors were encountered: