Problem deploying automating script, which use GDI : Bug Reports

Problem deploying automating script, which use GDI

Bug reports and feature requests.

Problem deploying automating script, which use GDI

Postby slavikf » Sat Apr 02, 2011 1:21 am

Details:
I wrote script, which use GDI plugin. GDI needs to be configured, so on machine, which i use to design script i included needed class to "Window Class Names" list.
Then, i tried to run my script on another machine - Win7 64 bit. So installed trial version of Ranorex on it. And started script. It failed after few steps. Because GDI plugin wasn't working.
So, i went to Spy and changed configuration to include needed class and it worked.
Question:
We are planing to purchase additional Floating Run-time license, so we can use just one compiled EXE file on few different machines. And Run-time license doesn't come with Spy. So, how would i use my script in this scenario - it will not work, unless i configure GDI. Can i add classes using some kind of API?
User avatar
slavikf
 
Posts: 97
Joined: Mon Sep 13, 2010 10:07 pm
Location: Toronto, Canada

Re: Problem deploying automating script, which use GDI

Postby Support Team » Mon Apr 04, 2011 12:58 pm

Hello Slavik,

there are two possibilities:

  • in the recorder settings dialog you can export the settings and copy that file to your machine with the Ranorex Runtime License. The file location is:
    Code: Select all
    "C:\Users\rpuntaier\AppData\Roaming\RanorexConfig3.xml"
  • you can manually edit the RanorexConfig3.xml and add the application for rawtext, e.g.
    Code: Select all
      <plugins.rawtext.whitelist>
        <rawtextconfig>
          <include type="process" name="^eclipse$"/>
          <include type="process" name="^MFC_Test$"/>
          <include type="process" name="^avp$"/>
          <include type="process" name="^notepad$"/>
          <include type="process" name="^drawgrid$"/>
          <include type="process" name="^rawtxtmfcgrid$"/>
        </rawtextconfig>
      </plugins.rawtext.whitelist>
Regards,
Roland
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron