I have got a tcl script which has been rendered from iTest test case.
When I execute the script in headless mode, it claims as "Web application can not run in headless mode. Wait for iTest to close then run the test in GUI mode."
Does iTest.exe not start automatically before execution? The user guide says iTest.exe starts automatically. May be not applicable for web??
Answer by KumarS · Mar 23, 2010 at 07:27 AM
Rendered tcl script will start iTest in headless mode. That is why your rendered script is not running because it requires an iTest process with the GUI. Tcl script can be changed to launch iTest with GUI option. I do not have the iTest tcl library api reference handy, but you can take a look at the itest tcl library and figure out the option to pass.
Rendering iTest testcases (especially web) into tcl scripts will work for simple cases - but most of the advanced functions of iTest (such as multiple threads, complex analysis rules, events, procedures, etc...) will not work in a rendered tcl script. That is why I advise people to run iTest testcases directly through tcl's exec command - if tcl integration is required.
Problems with web gui that has a Java Applet on it 1 Answer
No more handles error on Web tests 1 Answer
the Titile of Popup windows in iTest4.1 1 Answer
Swing, JNLP 1 Answer
Do Parameters work with the Web Gui? 2 Answers
Copyright 2008- Spirent Communications, all rights reserved. Terms and Conditions.