robotframework: ValueError: Timeout value connect was
OS: Windows Python Version: 3.11.3 Packages Installed while installing Robotframework:
Package Version
---------------------------- --------
adbutils 1.2.9
apkutils2 1.0.0
Appium-Python-Client 2.9.0
async-generator 1.10
attrs 23.1.0
cached-property 1.5.2
certifi 2023.5.7
cffi 1.15.1
charset-normalizer 3.1.0
cigam 0.0.3
colorama 0.4.6
decorator 5.1.1
Deprecated 1.2.13
deprecation 2.1.0
docutils 0.20
exceptiongroup 1.1.1
filelock 3.12.0
h11 0.14.0
idna 3.4
kitchen 1.2.6
logzero 1.7.0
lxml 4.9.2
outcome 1.2.0
packaging 20.9
Pillow 9.5.0
pip 22.3.1
pip-review 1.3.0
progress 1.6
py 1.11.0
pycparser 2.21
pyelftools 0.29
pyparsing 3.0.9
PySocks 1.7.1
requests 2.30.0
retry 0.9.2
robotframework 6.0.2
robotframework-appiumlibrary 2.0.0
selenium 4.9.1
setuptools 67.7.2
six 1.16.0
sniffio 1.3.0
sortedcontainers 2.4.0
trio 0.22.0
trio-websocket 0.10.2
uiautomator 1.0.2
uiautomator2 2.16.23
urllib3 2.0.2
whichcraft 0.6.1
wrapt 1.15.0
wsproto 1.2.0
xmltodict 0.13.0
I am trying run a sample robot file for flutter generated Android App.
I am getting below error.
ValueError: Timeout value connect was <object object at 0x000001E972884B80>, but it must be an int, float or None.
Below is my robot file config. And appium server is running with appium --allow-insecure chromedriver_autodownload --allow-cors
*** Settings ***
| Library | AppiumLibrary | run_on_failure=No Operation
# | Library | AppiumLibrary | timeout=500000
Library AppiumLibrary
Library BuiltIn
*** Variables ***
${ANDROID_AUTOMATION_NAME} UIAutomator2
${ANDROID_APP} ${CURDIR}\\app\\app-debug.apk
${PLATFORM_NAME} Android
${PLATFORM_VERSION} %{ANDROID_PLATFORM_VERSION=12}
${DEVICE_NAME} emulator-5554
# ${APP_ACTIVITY} MainActivity
*** Test Cases ***
Start the App
# Set Appium Timeout 100000
Open Test Application
*** Keywords ***
Open Test Application
Open Application http://127.0.0.1:4723/wd/hub automationName=${ANDROID_AUTOMATION_NAME} platformName=${PLATFORM_NAME} platformVersion=${PLATFORM_VERSION} deviceName=${DEVICE_NAME} app=${ANDROID_APP} timeout=100s
Please help. 😃
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 21 (1 by maintainers)
I have the same issue and setting the lib urllib3 to 1.26.15 seems to have unblocked me