软件测试工具Rational Robot 常用语句
1. 验证点语句
AnimateControlVP, CalendarVP, CheckBoxVP, CheckedListBoxVP, ClipboardVP, ComboBoxVP, ComboEditBoxVP, ComboListBoxVP, DataGridVP, DataWindowVP, DateTimeVP, EditBoxVP, FileVP, GenericObjectVP, GroupBoxVP, HeaderVP, HotKeyControlVP, HTMLVP, HTMLActiveXVP, HTMLDocumentVP, HTMLHiddenVP, HTMLImageVP, HTMLLinkVP, HTMLTableVP, IPAddressVP, JavaCanvasVP, JavaListViewVP, JavaMenuVP, JavaObjectVP, JavaPanelVP, JavaPopupMenuVP, JavaSplitPaneVP, JavaSplitterVP, JavaTableVP, JavaTableHeaderVP, JavaTreeVP, JavaWindowVP, ListBoxVP, ListViewVP, ModuleVP, PagerVP, ProgressBarVP, PSGridVP, PSMenuVP, PSNavigatorVP, PSPanelVP, PSSpinVP, PSTreeHeaderVP, PSTreeVP, PushButtonVP, RadioButtonVP, RebarVP, RegionVP, RichEditVP, ScrollBarVP, SpinControlVP, StatusBarVP, TabControlVP, ToolbarVP, TrackbarVP, TreeViewVP, WebSiteVP, WindowVP, |
2. 获取/设置对象属性语句
SQAGetProperty,SQASetProperty
3. 数据池语句
SQADatapoolOpen, SQADatapoolFetch, SQADatapoolValue, SQADatapoolRewind, SQADatapoolClose,
4. 日志语句
SQALogMessage
5. 等待延迟语句
Delayfor, SQAWaitForObject, SQAFindObject, SQAWaitForPropertyValue
6. 字符串相关语句
GetField,Left,Len,Instr, InstrB, Mid, MidB, Right, Str, Strcomp, Option Compare, Trim, LTrim, RTrim,
7. 调用程序语句
StartApplication, SQAShellExecute
8. 调用其他脚本语句
Call,Callscrīpt,
9. 输入/输出语句
Open, Close, Get, Put
10. 错误处理语句
On Error, Error, Resume, GoTo, Erl
11. 常用控制语句
If…Then, Select…Case, Do…Loop, For…Next, While…Wend, Stop, Exit, Goto, On…Goto
12. 交互语句
MsgBox, InputBox, PasswordBox