*Use the below code as an example to keep your runstatus for each iteration
 in an array.
As Ganesh said you cannot reset the RunStatus.*

Dim statuscheck(0,5)
For i=1 to 5
If Browser("xx").Page("xx").Webedit("Username").exist(10) then
statuscheck(0,i) = "Pass"
Else
statuscheck(0,i) = "Fail"
EndIF
next

*Use The Below code to fetch the run status & get QTP results accordingly
*
For i=1 to 5
If (0,i) = "Pass"
Reporter.Reportevent micPass,"Result of : "&i,"Pass"
Else
Reporter.Reportevent micPass,"Result of : "&i,"Fail"
EndIF
next

*Regards
Sanketh Shanbhag*
*
*
*
*
*
*
On Sun, Nov 4, 2012 at 4:52 PM, robin felix <[email protected]>
wrote:
> 1, if run an action for 5 iteration, can i check their  status using
> runstatus
>  ans: No. once there is a failure in the test runstaus would be set  as
> micfail . it would not change even if further steps pass
>  this answer  could give me example in  gmail or railway....plz
> 2,How would you check the status of iteration then?
>   could give me  some example in  gmail or railway....plz
>
> --
> with regard ;
>           robin
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to