09-16-2010, 08:25 PM
Hi - I just upgraded from QTP version 9.1 to QTP Version 10.0 and my Results are displaying differently. They are now buried within objects.
Below is a sample of code: In 9.1 the Result Message was at the same level as the Compare object. In 10.0 - the result message is within the Compare object tree structure.
Has anyone else seen this behavior?? Thanks!!
Code Sample:
Below is a sample of code: In 9.1 the Result Message was at the same level as the Compare object. In 10.0 - the result message is within the Compare object tree structure.
Has anyone else seen this behavior?? Thanks!!
Code Sample:
Code:
'wait for 1032.EXE to finish and then click OK button
For waittime = 1 to 20
Wait (1)
If Dialog("Compare").Exist Then
Dialog("Compare").WinButton("OK").Click
Exit For
End If
Next
.....other processing......
If (instr (strText, "No errors.") ) Then
Reporter.ReportEvent micPass,"Ledger Numbers Compare Exactly, Test Case : " & new_desc,":" & strText
Else
Reporter.ReportEvent micFail," Ledger File Differences, Test Case: " & new_desc, ":" & strText
End If