Automation Testing
Quick Test Professional.
Thursday, June 3, 2010
Check default selection in a list box
Comboval = window("Flight Reservation").WinComboBox("Fly From:").GetItem(0)
If (comboval = null) Then
Reporter.ReportEvent 0,"Combo box"," have Default Value"
else
Reporter.ReportEvent 1,"Combo box"," Not Null "
End If
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment