| || |
How do we identify where the QTP test is runnning?
I have a situation to find wether the test is running from Test plan or Test lab in run time
If anybody having the Automation object model coding for this please let me know, it is high priority for me
Thank in advance
Re: How do we identify where the QTP test is runnn
<font class="small">Code:</font><hr /><pre> On error resume next
Set theTSTest = QCUtil.CurrentTestSetTest
If Not theTSTest Is Nothing Then
Msgbox "Test is running from QC test lab"
Msgbox "Test is running from QC test plan"
On error goto 0 </pre><hr />