Export repository with images
Posted: Thu May 26, 2016 4:04 pm
Hi Support Team
My Team does not use Ranorex Studio for automation, just Ranorex Libraries and Repository.
My question is: how I can export repository with images?
Steps:
1. Open Ranorex Spy and create new repository
2. Add some elements to it with validations screenshots
3. Export repository using "Export->Generate C# code"
4. Now I want to access screenshots from repository but generated code does not contain any auto generated methods to access screenshots.
Note:
When Ranorex Studio used then constructor looks like:
When export using repository tab in spy:
My Team does not use Ranorex Studio for automation, just Ranorex Libraries and Repository.
My question is: how I can export repository with images?
Steps:
1. Open Ranorex Spy and create new repository
2. Add some elements to it with validations screenshots
3. Export repository using "Export->Generate C# code"
4. Now I want to access screenshots from repository but generated code does not contain any auto generated methods to access screenshots.
Note:
When Ranorex Studio used then constructor looks like:
Code: Select all
public ImagingRepository()
: base("ImagingRepository", "/", null, 0, false, "4610942b-64d6-49c0-a5c4-884ca4917a5b", ".\\RepositoryImages\\ImagingRepository4610942b.rximgres")
{
_calculator = new ImagingRepositoryFolders.CalculatorAppFolder(this);
}
Code: Select all
public TestRepo()
: base("TestRepo", "/", null, 0, false, "4641b9cc-ad6f-4abb-8694-0b1a1e95dd33", "")
{
_calculator = new TestRepoFolders.CalculatorAppFolder(this);
}