Notice that the first script in the figure is not placed in an event handler method.
注意,图中的第一个脚本并不放置在一个事件处理程序方法中。
Listing 3 demonstrates the first method for executing a script file directly from a command line.
清单3展示了直接从命令行执行脚本文件的第一种方法。
Using that method enables you to create and commit a test log record by importing a script log.
这种方法将使您能够通过导入一个脚本日志,创建并且提交一个测试日志。
Then I use the following processing script to run the method.
然后使用以下处理脚本运行这个方法。
To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.
要完成这项操作,可以将记录器生成的三行代码封装到测试脚本的某个单独方法中。
I use the PHP command-line interpreter to run that script and put the method call into the queue.
我使用PHP命令行解释器运行这个脚本,并将这个方法调用放进队列中。
You can also select multiple files or folders and pass a list of files to a script with the same right-click method.
还可以选择多个文件或者文件夹,并采用相同的右击方法,将文件清单传递给脚本。
Be sure your script is protected from an error; if the method call fails, it throws an exception.
要确保脚本能够应对错误;如果方法调用失败,它会抛出异常。
As before, this script retrieves the worksheet entry and then invokes the delete method to transmit a delete request to the entry's edit URL.
如前所述,这个脚本检索工作表条目并调用delete方法来将一个delete请求传递给条目的编辑url。
Now all you need to do is add a reference to this method in your startup script, and you're ready to start testing the application.
现在只需要在启动脚本中加上对这个方法的引用,现在就可以开始测试应用程序了。
The first line and the last line of this script could be executed also using the static method instead of being part of this script.
脚本的第一行和最后一行也将采用静态方法执行,而不作为脚本的一部分来执行。
In this method, the control creates its own UI and injects any needed script into the host page.
在这个方法中控件创建界面并在页面中写入所需的脚本。
Enter the method to be available to the script.
输入脚本可用的方法。
Using a script template, determine the best technique for providing method parameter values to the script (for example, in a property file or via command line parameters).
通过使用脚本模板,判断向脚本提供方法参数值的最佳技术(例如,用属性文件还是通过命令行参数)。
The submission method makes use of Posting XML data to a PHP script.
提交方法向php脚本提交XML数据。
Below is a script that USES the DVD method and the FTP method to perform the backup.
下面是使用DVD方法和FTP方法进行备份的脚本。
Script engines are free to take liberties with the names you pass to the put method.
脚本引擎可以随意对待传递给put方法的名称。
Using this method requires manual adaptation of the db2cos script and registration of lock timeout events by calling db2pdcfg.
使用此方法需要手动改写db 2 cos脚本并通过调用db2pdcfg来注册锁定超时事件。
I simply create an instance of GroovyShell, pass in the script name, and call the run method.
我只是创建了GroovyShell的实例,传递进脚本名称,然后调用run方法。
The register_function() method associates a local function in the script with the name of a task.
register_function()方法与脚本中一个名字为任务名的本地函数相关联。
Call the helper superclass method in your script.
调用脚本中的helper超类方法。
The script engine's get() method retrieves values available within the scripting environment.
脚本引擎的get()方法检索脚本环境中可用的值。
When your code calls a script engine's eval method, the engine's default bindings of keys and values are used.
当代码调用脚本引擎的eval方法时,将使用引擎默认绑定的关键字和值。
Script, which accepts the unique album and photo IDs from list.php using the GET method.
删除照片的delete . php脚本会通过GET方法从list . php接受惟一的照片ID和相册id。
This __get method is specific to PHP V5, so this script must be run with PHP V5.
这个__get方法特定于PHPV5环境,所以此脚本必须在PHP V 5下运行。
The Interpreter class has one method, invoke , which is given the name of the script to execute and not much more.
Interpreter类有一个方法,为invoke,将脚本的名称传递给该方法就可以执行,仅此而已,没有什么特别的。
You could simply call the above runScript() method to execute the script that is mapped to the URL of the HTTP request.
可以通过调用上述的runScript()方法来执行 与此HTTP 请求的URL相映射的那个脚本。
The Linux test Project used this design method when designing the Linux kernel stress test script ltpstress.sh.
LinuxTestProject在设计Linux内核压力测试脚本ltpstress . sh时使用了这一设计方法。
The import parts of the script are in the registerActionhandler method, which connects a bot object with a particular action string and method.
脚本中重要的部分是 registerActionhandler方法,该方法连接到具有特殊动作字符串和方法的bot对象。
Because you used GET for the submission method, the PHP script received this information just as it would from a traditional Web form.
由于使用GET作为submission的方法,php脚本就像从传统Web表单中那样接收此信息。
应用推荐