KeyError: 'sessionId' when using IEWebDriver in Robot Tests - webdriver

i am getting a KeyError: 'sessionId' error when im running my robot tests on Internet Explorer using IEWebDriver. i made sure i am using the latest IEWebDriver (which is 3.6). when i run in Chrome, everything is running fine. how do i fix this?
here are some system information:
IE version: 11
Robot Framework Version: 2.9
robotframework-selenium2library version: 1.7.4
windows version: 7
Thank you so much in advance.

I had the same issue, but fixed by upgrade to the latest Python selenium library:
pip install -U selenium

Related

Microsoft Visual C++ Runtime error - Assertion Failed

Using: VS Code
Working on: Running automation test scripts for WebdriverIO.
Error facing:
because of this error, my test specs are not executing. Is there any way to get rid of this??
Please follow the below steps to resolve this issue
Uninstall the current version of node.js.
Go to https://nodejs.org/en/blog/release/
Install the previous version of node.js (I installed from here 4.
https://nodejs.org/dist/v14.17.3/node-v14.17.3-x64.msi)
Restart your system
Try building the project using npm install
I hope this will solve your problem
The error here is coming from the Fibers npm package. Fibers only supports node versions before version 16. I had the same error message and switched the node version to 14.20.0 ,which is the newest LTS before version before 16 at the moment, and that solved the problem for me.

Error while opening RIDE (robot framework IDE) using ride.py command

I am new to robot framework and I am trying to setup robot framework on my system. I have python 3.8.2, pip 20.0.2 and Robot Framework 3.1.2 (Python 3.8.1 on win32). And in the environment variable I have set the paths:
"C:\Users\pacharya\AppData\Local\Programs\Python\Python38-32\Scripts"
and
"C:\Users\pacharya\AppData\Local\Programs\Python\Python38-32\Lib\site-packages\robot"
and
"C:\Users\pacharya\AppData\Local\Programs\Python\Python38-32"
I have also installed wxpython (when I type pip freeze it shows the wxPython==4.0.7.post2)
So the problem is after successfully installing all these, when I ride to open the RIDE using ride.py command it showing the below message.
These are the errors that it's showing
A simple search would lead to the project page, where you can see that RIDE 1.7.4.1 it is not compatible with Python 3.8.
Attention, don’t install RIDE on Python 3.8 (wait for release of version 2.0)
Or you can install from development, where running on Python 3.8 is supported (since February 2020)
https://github.com/robotframework/RIDE

pyinstaller3.4 python3.5 --key=key-string caused problems

All,
I am trying to compile and encrypt the "hello_world.py" with pyinstaller's --key=key-string and it keeps causing issue when I am trying to open the .exe file. The warning says "Failed to execute script pyiboot01_bootstrap". The problem was gone when I took the --key=key-string out but that left the deployed executable not encrypted. Is this some sort of python 3.5 pyinstaller 3.4 compatibility issues? Any insights on this would be much appreciated.
Environment:
python 3.6
pyinstaller 3.4
pycryptodome 3.6.6
Windows 10
The pycryptodome module is not compatible with PyInstaller encryption.
See: pyinstaller: problem when using --key command

Robot Framework: How to find the version of the installed robot in my machine?

I have installed my robot in my local machine long time back and now I want to check the version on the installed Robot. I tried the command pybot --help
and it gave me the result
'Version: 3.0 (Python 2.7.9 on win32)'
Is my current robot version 3?
Yes. You can also execute robot --version.
See: Verifying Installation.
I assume you use pip as a python package manager, so just try:
pip show robotframework
and you should get something like that:
Name: robotframework
Version: 3.0.2
Summary: A generic test automation framework
Home-page: http://robotframework.org
Author: Robot Framework Developers
Author-email: robotframework#gmail.com
License: Apache License 2.0
Location: /Library/Python/2.7/site-packages
Requires:

After anaconda upgrade --all anaconda-navigator does not launch

After upgrade --all launching anaconda-navigator raise an error:
Exception: setResizeMode is only available in Qt4. Use setSectionResizeMode instead.
I am using version 1.6.0 on MacBook OSX (Sierra). Can anyone help. It seems that there is a conflict with spyder.
There is some change with going from qtpy version 4 to version 5. I thought I had version 4 installed, but based on this exception, something isn't quite right. I was able to get anaconda-navigator to launch after editing this file on line 155:
anaconda/lib/python3.5/site-packages/anaconda_navigator/widgets/manager/table.py
155c155
< self._hheader.setResizeMode(self._hheader.Fixed)
---
> self._hheader.setSectionResizeMode(self._hheader.Fixed)
Edit: it appears a fix is coming in the next release for spyder. anaconda-navigator will probably need a similar patch.
https://github.com/spyder-ide/spyder/issues/3943

Resources