开发者

Quality Center 11 / QTP - Unable to view and amend xml resources

开发者 https://www.devze.com 2023-03-12 22:05 出处:网络
I\'m using QC/QTP 11. I\'ve creating an environment variable in QTP and exported/saved the file to QC so it is an external variable.This is saved in the resource area of QC. However when I go to QC>Te

I'm using QC/QTP 11. I've creating an environment variable in QTP and exported/saved the file to QC so it is an external variable. This is saved in the resource area of QC. However when I go to QC>Test Resources>Resource Viewer for the xml file I get the message "The asset v开发者_如何学运维iewer does not support this asset type". This does not make sense as one of the Asset Types is "Environment Variable". What I want to be able to do is amend the variable when required. The main purpose for this is to have a global variable for a url. We have several test environments and need the ability to change this in one place to update all the tests we will run in the test lab.


Yes, you can change this in one central location: The XML file.

However, the multi-zillion-dollar software QC unfortunately is unable to display or even let you edit the XML from within QTP -- you have to download it, edit the downloaded copy (with notepad, or whatever), and upload it again.

In QTP, the change is visible for all tests opened after the upload.

If you are using version control, you must check-out, download, edit, save, upload, check-in the XML to make the change effective globally.

0

精彩评论

暂无评论...
验证码 换一张
取 消