'Why my TOSCA script is not closing the browser?
I am new to TOSCA, and completing my assessment for AS Level 1. Everything was fine until I reached Lesson 12 - Exercise 6. I followed all steps mentioned in the exercise and when I do "Run in Scratchbook" I get the below error.
Screenshots of the code and error:
Solution 1:[1]
I would suggest using a asterix also before Demo. Depending on the title of the page it could be a reason that the window was not found. Can you share the exact titel of the window.
Also I would recommend using the Test Configuration Parameter "Browser" and define the Browser which should be automated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mile_Lab |