Try this

Set testSetname = Qcutil.currenttestset
Msgbox testSetname.Name

Hope it helps..
On Mar 20, 2013 11:26 AM, "Punj Prakash" <[email protected]> wrote:

> All-
>
> I have testscript "Testing1". I open in QTP and this particular testscript
> is available in different TESTSET for example:
> TestSet1
> TestSet2
> TestSet3
> TestSet3
>
> Now when I run this "Testing1" script in test set"TestSet3" and try to
> find out the current test set name by below code.
>
> testSetname= Qcutil.Currenttestset.name
>
> but this is giving other testset name other than "TestSet3" , which is my
> current tsetset name in which I am running my QTP script.
>
> What can be the reason behind it?
>
> Thanks,
> Punj
>
>
>  --
> --
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to