| || |
Can we export Object Repo (.inc file) to xml ??
In QTP, we have a facility to export the object repository (.tsr) to an xml file. Can we achieve the same in SilkTest? is there any in-built feature to convert the frame (.inc file) to an xml?
Or can we get any external code to do that??
I have to create a database table that wil contain my object repository in a readable form. It would be greaattttt if someone can help me...
Re: Can we export Object Repo (.inc file) to xml ??
Traditionally SilkTest doesn't do very well with XML. There are some publicly available common functions that may help. However, if you try Silk4J or Silk4NET, you have more flexibility on where you store your object declarations (known as "locators" in the Open Agent).
Conceptually, you can store locator descriptors in XML files/Property files/helper classes while the main test case simply references these objects when it has to perform actions on them. Keeping them in XML or text files allows you to change locators without having to recompile your test cases.