Hello,
after waiting for Ranorex 3.0 i can't see any support for Python/IronPython in the Ranorex Studio.
Whats wrong?
Python in 3.0?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Python in 3.0?
Hi,
have a look at followig forum post which will cover your question:
http://www.ranorex.com/forum/ranorex-in ... html#p7378
Regards,
Tobias
Support Team
have a look at followig forum post which will cover your question:
http://www.ranorex.com/forum/ranorex-in ... html#p7378
Regards,
Tobias
Support Team
Re: Python in 3.0?
Too bad.
Thats what i call a "breaking change"...
From my point of view, it should have been announced officially (at least).
Please also take a look at this:
http://community.sharpdevelop.net/forums/t/12728.aspx
...
Thats what i call a "breaking change"...

From my point of view, it should have been announced officially (at least).
Please also take a look at this:
http://community.sharpdevelop.net/forums/t/12728.aspx
...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Python in 3.0?
IronPython was dropped as a language for which code is auto-generated from the intermediate XML files in Ranorex Studio 3.0. This does not mean that you cannot use it with the Ranorex API.
Ironpython is a .NET scripting language and Ranorex is a .NET API.
Form a language perspective Ironpython can still be used to automate with Ranorex DLLs, because it is a .NET scripting language, just like you could use any other .NET language.
So you can run ipy in a console and do:
… and the Add button of the VipApplication will be clicked.
Ironpython is a .NET scripting language and Ranorex is a .NET API.
Form a language perspective Ironpython can still be used to automate with Ranorex DLLs, because it is a .NET scripting language, just like you could use any other .NET language.
So you can run ipy in a console and do:
Code: Select all
import clr
clr.AddReference('Ranorex.Core')
import Ranorex;
bt = Ranorex.Button("/form[@controlname='formVipApplication']/button[@controlname='btAdd']")
bt.Click()
Re: Python in 3.0?
Sure, but it means using Python within Ranorex Studio 3.0 is not possible anymore.IronPython was dropped as a language for which code is auto-generated from the intermediate XML files in Ranorex Studio 3.0. This does not mean that you cannot use it with the Ranorex API.

In other words: Ranorex Studio 3.0 isn't downwards compatible with older Ranorex Projects that use Python.

- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Python in 3.0?
Hi,
Sorry, but using Ranorex Studio 3.0 with IronPhtyon isn't possible anymore.
As written above: "IronPython was dropped as a language for which code is auto-generated from the intermediate XML files in Ranorex Studio 3.0. This does not mean that you cannot use it with the Ranorex API."
But you can convert your projects with Ranorex 2.3.x to C# or VB .Net, then you can use the entire features of Ranorex 3.0.
Regards,
Peter
Ranorex Team
Sorry, but using Ranorex Studio 3.0 with IronPhtyon isn't possible anymore.
As written above: "IronPython was dropped as a language for which code is auto-generated from the intermediate XML files in Ranorex Studio 3.0. This does not mean that you cannot use it with the Ranorex API."
But you can convert your projects with Ranorex 2.3.x to C# or VB .Net, then you can use the entire features of Ranorex 3.0.
Regards,
Peter
Ranorex Team