Page 1 of 1

Execute Script after clicking the Accept in the wizard

PostPosted:Thu Mar 16, 2017 6:16 am
by nelis
I want to execute some codes after clicking Accept on the wizard of AddPropertyGroupToWizard, is this possible?

Re: Execute Script after clicking the Accept in the wizard

PostPosted:Fri Mar 17, 2017 12:33 am
by nelis
I just need to know which method of which class is executed when the accept button is clicked.
What i really want is an automation where the user uploads a file, then a property group will be added to the wizard, after that, a copy of a file will be sent to another folder. The problem here is that once i copy the file to another directory, the inputted data on the wizard is not included in the file(the created file when the method OKMDocument.copy() is executed) because the automation automatically executes the next action without waiting for the wizard to close.

Re: Execute Script after clicking the Accept in the wizard

PostPosted:Fri Mar 17, 2017 1:43 am
by nelis
Never mind i found it please disregard this thread

Re: Execute Script after clicking the Accept in the wizard

PostPosted:Fri Mar 17, 2017 8:53 am
by jllort
OK, anyway I will answering because some user might be interested on it. Basically automation action send a flag to UI for showing the wizard. Then the wizard is what takes the control on it ( the class is WizardPopup.java )