Unable to modify Run Configurations externally

Ask general questions here.
yitopeligo
Posts: 1
Joined: Thu Oct 21, 2021 10:28 am

Unable to modify Run Configurations externally

Post by yitopeligo » Thu Oct 21, 2021 10:47 am

Hi there,

I'm writing a custom python script in order to re-run the failed modules. Well, I have logged the failed tests id's in a text-file and then I'd like to pass that id's to the run configuration so that I can give it as parameter while running specific test suite. However, after inserting the id's between <testcontainer> tags in X.rxtst file with name NewRunConf, that run configuration is not recognizable from command line execution.

It seems like that I have to run it internally in Ranorex to save NewRunConf. Although X.rxtst file is modified when I change the run config from ranorex, it seems to be there is another file that controls the test configurations. Is there such a file that I could include in my script so that I won't have to open up ranorex every time to save run configurations? Thanks in advance.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to modify Run Configurations externally

Post by odklizec » Fri Oct 22, 2021 7:48 am

Hi,

The Run Configuration is only stored in rxtst file. As far as I know, there is no other place where it's listed. The question is, in what state the rxtst file is when you modify it? Are you modifying outside Studio and AFTER the test is finished (i.e. it's not loaded)? Also, have you tried to load the modified rxtst file in Studio, just to check if it's still valid, after your external modification and that the new run config is correctly loaded?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration