1

You should check if SysWizard has welcome page before setting focus on Next-Button.


To help you identify the problem I can show you the code. This is the current code from SysWizard class in method prompt:


// Set focus on the Next button only if it is enabled
if(nextButton.enabled())
{
    nextButton.setFocus();
}
formRunInstance.wait();


 


 


Change it to this:


// Set focus on the Next button only if it is enabled
if(nextButton.enabled() && this.hasWelcomePage())
{
    nextButton.setFocus();
}
formRunInstance.wait();


 


 


This would be a great improvement when we create guides without welcome page.


 


Best regards


Patrik

Category: Development
STATUS DETAILS
Needs Votes