學習《QTP自動化測試進階》第14章 –使用QTP測試VB對象
要想QTP能識別和錄製各種VB控件,首先,必須在QTP啓動時加載Visual Basic插件。
測試這些VB控件應該注意利用其Object屬性,通過Object屬性來訪問其內部屬性和方法,從而達到控制VB控件的效果。
熟悉和掌握各類VB控件的測試:
VbButton
VbCheckBox
VbComboBox
VbEdit
VbEditor
VbFrame
VbLabel
VbList
VbRadioButton
VbScrollBar
VbWindow
其他學習資源:
1、《QTP測試CodeJock Xtreme Suite控件》:
http://blog.csdn.net/Testing_is_believing/archive/2010/03/13/5377163.aspx
2、QTP幫助文檔VisualBasic.chm