Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

Not able to export shared object repository file into xml

$
0
0

Hi All,

 

I am working on remote machines which ahas QTP 11.0.There when i am trying to run exporttoxml statment getting "Exception has been thrown by the target of an invocation" exception.Although in local machine it is working fine.

 

Here is the code:

Set Repository1 = CreateObject("Mercury.ObjectRepositoryUtil")

RepPath=PathFinder.Locate(strRepositoryFile)

RepXmlPath=Replace(RepPath,".tsr",".xml")

Repository1.ExportToXML RepPath,RepXmlPath

 

Please let me know if anybody has a solution for this issue.

 

Thanks,

Swati

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>