Associating a Function Library with an Application Area
Associating a Function Library with an Application Area You can associate a function library with an open application area either from the Resources pane or from the currently active function libr...
Choosing Which Steps to Report During the Run Session
Choosing Which Steps to Report During the Run Session You can use the Report.Filter method to determine which steps or types of steps are included in the Test Results. You can completely disable o...
Enhancing Your Tests and Function Libraries Using the Windows API
Enhancing Your Tests and Function Libraries Using the Windows API Using the Windows API, you can extend testing abilities and add usability and flexibility to your function libraries. The Windows o...
Running DOS Commands
Running DOS Commands You can run standard DOS commands in your QuickTest function using the VBScript. Windows Scripting Host Shell object (WSCript.shell). For example, you can open a DOS command wi...
Accessing User-Defined Properties of Web Objects
Accessing User-Defined Properties of Web Objects You can use the notation to access native properties of Web objects and use these properties to identify such objects with programmatic description...
Activating Run-Time Object Methods
Activating Run-Time Object Methods You can use the Object property to activate the internal methods of any run-time object. For example, you can activate the native focus method of the edit box as...
Retrieving Run-Time Object Properties
Retrieving Run-Time Object Properties You can use the Object property to access the native properties of any run-time object. For example, you can retrieve the current value of the ActiveX calendar...
Accessing Run-Time Object Properties and Methods
Accessing Run-Time Object Properties and Methods If the test object methods and properties available for a particular test object do not provide the functionality you need, you can access the nativ...
Retrieving and Setting Test Object Property Values
Retrieving and Setting Test Object Property Values Test object properties are the set of properties defined by QuickTest for each object. You can set and retrieve a test object's property values, a...
Running and Closing Applications Programmatically
Running and Closing Applications Programmatically You can run any application from a specified location using a SystemUtil.Run statement in a function library. This is especially useful if you want...
Performing Programmatic Description Checks
Performing Programmatic Description Checks You can compare the run-time value of a specified object property with the expected value of that property using either programmatic descriptions or user-...
Retrieving Child Objects
Retrieving Child Objects You can use the ChildObjects method to retrieve all objects located inside a specified parent object, or only those child objects that fit a certain programmatic descriptio...
Using Description Objects for Programmatic Descriptions
Using Description Objects for Programmatic Descriptions You can use the Description object to return a Properties collection object containing a set of Property objects. A Property object consists...
Entering Programmatic Descriptions Directly into Statements
Entering Programmatic Descriptions Directly into Statements You can describe an object directly in a statement by specifying property:=value pairs describing the object instead of specifying an ob...
Using Programmatic Descriptions
Using Programmatic Descriptions When QuickTest learns an object in your application, it adds the appropriate test object to the object repository. After the object exists in the object repository, ...
换行连接符号
下划线:“_”例如:If 1=1Then _ msgbox(1=1) _End If
Using Parentheses
When programming in VBScript, it is important that you follow the rules for using or not using parentheses () in your statements. You must use parentheses around method arguments if you are ca...
Using Variables
Using Variables You can specify variables to store test objects or simple values in your function library. When using a variable for a test object, you can use the variable instead of the entire ob...
vbscript recordset对象
http://www.w3school.com.cn/ado/ado_ref_recordset.asp