mardi 9 juin 2020

Karate UI driver instance not carried while running on selenium grid / remote

Example: There are 3 feature file. Test Feature file - here we are calling other feature file based on the specific action.

Action Feature file 1 - In this we are creating the webdriver instance performing driver actions based on functionality.

Action Feature file 2 - In this feature file we are not creating new driver instance but we are using below command to carry the driver instance Given driver { start: false } and perform action.

All the above scenario works fine when i execute it local. But while running on remote(We have selenium grid instance running) it fails at Action feature file 2, seems like it lost the driver instance. Can you please help me if there are some example of this kind or how to achieve this? Thanks for the help.

Aucun commentaire:

Enregistrer un commentaire