How to edit ini file

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 2
Joined: Thu Jul 20, 2017 6:02 pm

How to edit ini file

Post by micheleaz » Mon Sep 25, 2017 10:57 pm

Hi all:
Quick question. I need to edit an ini file before a test run after the install of our application to point to a testing database. What is the best way to do that?

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

Re: How to edit ini file

Post by odklizec » Tue Sep 26, 2017 7:25 am


I believe the only way to edit ini files in Ranorex is via custom code. Check for example this post with some ini-editing suggestions:
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