I have recently implemented UI automation along with my API test automation (both in Karate). It is working now with minor issue - the browser is getting closed automatically after the script is executed completely. Is there a way in Karate to either close or retain the browser opened? Thank you!
Scenario: Get UI - Download
Given url 'https://test01/v1/doc/env/
And headers headers1
When method get
Then status 200
* def env = response.url
Given driver env
And click('{button}Proceed')
And click('{span}Start')
And click('{span}Required - GSA)
And click('{span}Required - GSB')
And click('{span}Required - GSC')
And click('{span}Required - GSD')
And click('{span}Required - GSE')
And click('{span}Required - GSF')
And click('{span}Required - GSG')
And click('{span}Required - GSH')
Aucun commentaire:
Enregistrer un commentaire