| || |
Silkbean not supporting Set.Active()
The SilkBean does not support SetActive, Minimize, and Restore methods on JavaMainWin and JavaDialogBox windows because Java does not provide methods for clicking on window frames, clicking on the Minimize button, or restoring windows.
To port legacy scripts that call SetActive, you must set your target machine's window management resources to behave more like Windows controls.
For example, if you have the Common Desktop Environment (CDE), you can set up UNIX to activate windows when you click inside them, as described in the procedure below:
So do I have to comment out all "SetActive"
calls from my script and use CLick?
Re: Silkbean not supporting Set.Active()
You could overwrite the SetActive () method for the AnyWin class:
[-] winclass AnyWin : AnyWin
[-] SetActive ()
[ ] this.Click ()
Add this code to your include file and you should not have to make any changes to your testcases.
Quality Automation Ltd.