06-16-2008, 06:25 PM
If you are not using OR. You can use If statements.
Example:
And to send the results to the report whether the above statement passed or failed, you can Reporter object.
Example:Please check in QTP help for more info on Reporter Object.
Example:
Code:
If Browser("name:=something").Page("title:=something").webedit("name:=something").Exist(0.1) Then ...
And to send the results to the report whether the above statement passed or failed, you can Reporter object.
Example:
Code:
Reporter.ReportEvent micPass, "this webedit", "Exists"