Ashish, I am not too sure why, but that didnt work for me. I did try
that. Also, as Dan mentioned this differs across the OS. So if you are
running your RCs on a mix of Linux + Windows machines (which is my
case) then this wont work.
@Dan
You need to write a shell script which will minimize all the open
windows. You can google for this :). Once you write this script, save
it in your machine (say under /opt )
In selenium code, write the Eval function to call this script. Yes
Eval executes only java script, but we can make java calls also in
java script provided your browser has java execution.
Example selenium code would be like this:
selenium.getEval("java.lang.Runtime.getRuntime().exec(\"bash /opt/
scripts/minimize.sh\")");
java.lang.Runtime.getRuntime().exec(\"bash /opt/scripts/minimize.sh\"
- this is a stand alone java code which can execute the scripts.
Hope its clear
regards
AJ