TestProject Forum
Powered by leading experts in the test automation community

Page object example for Winapp driver in Java

I have a project that works for Winapp Driver but when I try to convert over to page factory and page object it shows a JavaLang Null pointer Exception. Is there a tutorial or example of working with WinApp driver.

Many thanks in advance .

Hello @david.purvis44.

The TestProject driver, much like the Selenium driver, allows automating web and mobile applications after being called from the execute method of the correct test type interface with, for example, for web application testing:

@Override
public ExecutionResult execute(WebTestHelper helper) throws FailureException {
WebDriver driver = helper.getDriver();
return ExecutionResult.PASSED;
}

You cannot currently use TestProject to automate desktop applications.