| « Classic WTF: The Intermittent Hum | Count on it every day! » |
Robert V. writes, "I was investigating an issue that came up with one tool in our test automation framework and found following code:"
Select Case DataConnection.GetDataCellValue(_
"Document Marketing", DataConnection.CurrentBlockID, _
"TaxExemptionMatrix", "ClickButton", iRow)
Case "No", "NO", "no"
Connector.Connection.PressItem("0", 2, "3", 0) 'No
Case "Continue", "CONTINUE", "continue"
Connector.Connection.PressItem("0", 2, "1", 0) ''Continue
Case "Chancel", "CHANCEL", "chancel"
Connector.Connection.PressItem("0", 2, "2", 0) 'Chancel
Case Else
End Select
"On the bright side, it was discovered that the button in the application really did read 'Chancel'."
| « Classic WTF: The Intermittent Hum | Count on it every day! » |