...
If your method accepts zero arguments, then it does not matter what file is selected when it is run. If the method accepts one argument then the input will be taken from the file selected or the tool to which it is attached. If the method accepts two arguments then the first will be taken from the file or preceding tool and the second will take contextual information about the file. For more information o n on the types of context arguments that can be applied, see the Scripting API by choosing Parasoft> Help> Scripting API.
You can also create scripts that execute each time you startVirtualize. To do this, create a Jython or JavaScript script, then add it to the followinglocation<Virtualize_Installation_Directory><INSTALL>/plugins/com.parasoft.xtestptest.libs.web_<virtualize_version><VERSION>/root/startup directory.
Creating a Custom Script/Extension Tool
...
For an overview of issues related to the scripting feature and its various applications, see Extensibility and or Scripting Basics.