Hi Pavan,

one thing i can think is....u can do it from QC itself

create a test set and assign the test scripts what u have mentioned and
other 2 in execution grid.
Then in execution flow apply conditions, if it is passed, then execute this
test script1 else if the test script is finished, then execute test script 2
hope, this sloves ur problem.....

Sreedhar



On Wed, Nov 12, 2008 at 9:30 AM, Pavan Turlapati
<[EMAIL PROTECTED]>wrote:

> Hi All,
>               Need a small help from you folks.
> *Requirement:
>
> *1) Have to update the status of Test Case as Passed/Failed Automatically
> in QC depending on the result of the Test Script executed through QTP.
> Eg:
>
> If Browser("abc").Page("abc").Frame("abc").webedit("abc").exist(7)  Then
>          Reporter.reportevent micPass,"Text Box check","Text Box exists"
> *         <---Here I need a script which will Pass a Test Case located in
> QC--->*
> Else
>          Reporter.reportevent micfail,"Text Box check","Text Box does not
> exist"
> *         <---Here I need a script which will Fail a Test Case located in
> QC--->*
> End If
>
> >
>


-- 
Mallipeddi Sreedhar
91-9848871279

--~--~---------~--~----~------------~-------~--~----~
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