| || |
How to get the BPT Component Name
I have a BPT Script in QC under Test Plan.I want to get the script name from Test Script tab.Is it possible to get the script name using VBScript..?.If so, i appreciate if you can give me a idea.
Re: How to get the BPT Component Name
In QTP, one would do this:
<font class="small">Code:</font><hr /><pre>
componentName = Environment("TestName")
Normally, this would return the name of the Test, but in BPT, this returns the component.
Other environment variables can be found here in QTP:
1) Click File
2) Click Settings
3) Click the Environment Tab
Each item in the list can be referred by dynamically via Environment([entry name])