Getting Start Application to work


I’ve been trying to get Start Application to work, but the example code and the import Katalon studio is giving me don’t work. Here’s what I’m trying to run:

import com.thoughtworks.selenium.webdriven.Windows

And I’m getting the error: groovy.lang.MissingMethodException: No signature of method: static com.thoughtworks.selenium.webdriven.Windows.startApplication() is applicable for argument types: (java.lang.String) values: [C:\Windows\System32\notepad.exe]

In Katalon Studio, the “startApplication” bit of my code is underlined, so I assume the import isn’t right. Any ideas how to make this work?

When I start a Windows Test Case, I get…

import as Windows

Try that instead.