Hi all,
I’m trying to write some better tests for one of my Servoy applications.
Let’s say I have a record with a delete button on it.
I can easily write a script which calls the script attached to the onAction of the button, problems begin if there are getMethodTriggerFormName() or similar functions used in the scripts I’m testing… the TriggerFormName is the form where I triggered my test script, not the script which I’m testing.
What I really want to do is:
forms.someformname.elements.delete_button.onAction();
This does not work.
Is there any other way of writing this?