| || |
QTP to read inputs from QC Test lab folder
Please see my current setup and the setup i am looking for
A. 100 tests are in QC Test plan written by QTP. 25 test cases needed Inputs which are in the form of Parameters
B. During execution we create a folder ( EX. Bundle 1) in test lab, add 100 test cases from test plan to test lab
C. tester will then enter the parameters manually on 25 test cases under test lab -> test cases -> input parameter
d. Start Automation
Preferred and currently working setup
A. Have an XML contains Inputs for all 25 test cases
B. Have this XML as an attachment under main test lab folder
C. in each testcase go to settings -> Environment -> user defined -> pick the same XML file in the test lab
In Step C, i am unable to select the XML file from Test lab. When i go browse -> QC it only takes me to Test Plan menu and not Test lab menu.
I prefer the tester to upload the input xml attachment to Testlab and not Testplan
Re: QTP to read inputs from QC Test lab folder
Look for an entry of mine in the "Donate a user function" topic. It allows you to download any attachment (except for defects) to the local workstation. Then use the Environment.LoadFromFile method to set up your environment.