Re: [Python.NET] How to navigate one window to another window through python scripts ?

2008-11-12 Thread Godson Gera
On Wed, Nov 12, 2008 at 3:01 PM, sambasivareddy <[EMAIL PROTECTED]>wrote: > Hi all, > > > > How to navigate one window to another window through python scripts ? > > > > Basically I want to do Automatic testing one windows base c#.net > application through python scripts. > > > > I am Able to op

Re: [Python.NET] C# components for script

2008-11-12 Thread Tribble, Brett
Yes, they can be anywhere, you just need to write some code to add them to the SYSTEM path for the current running code. Optionally, you can also tell .NET where to look for the assembly's config file. import sys import clr import System loadDir = 'C:/myAssemblyPath/' assemblyName = 'myDLL.dll'

Re: [Python.NET] C# components for script

2008-11-12 Thread Maksim Kozyarchuk
Mandeep, You have 2 options. * You can use LoadFrom to load the dll from a particular location import clr import System System.Reflection.Assembly.LoadFrom("your.DLL") * If your DLL and Namespace have the same name python.net should be able to find the dll in the PYTHONPATH

[Python.NET] How to navigate one window to another window through python scripts ?

2008-11-12 Thread sambasivareddy
Hi all, How to navigate one window to another window through python scripts ? Basically I want to do Automatic testing one windows base c#.net application through python scripts. I am Able to open the executable file with following scripts. Import os Os.system ('abc.exe') But ho