We Use to run the test Scripts from Local Desktop,We recently Shifted to Quality Center and I would like to Update the Excel Sheet placed in the Quality Center.
1. Script A generates an Account Number Which inturn needs to be Passed to Script B (Test Data Sheet) which is placed as an attachment in the Quality Center Test Plan.
Can some one help me on how to achieve my case?
use OTA to remove "old" attached file first and attach the "new" excel sheet. there are some examples in this forum how to use attachment factory object
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this
can u provide me sample code if you have
Use Input and Output parameters to fix this issue.
File -> settings -> Parameters
For OTA code, search the forum(both QTP and QC), there are loads of samples.
Also look into User donated function/script thread, there are huge examples.
Approach suggested by Raj would help you pass values during runs, but OTA has to be used attach/remove files from specific folder path in QC
-- Here to Learn and share ---