Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Dino Viehland
You probably have Python for .NET installed: http://pythonnet.sourceforge.net/ While it supports a subset of the things that IronPython does it is only a subset, so you won't find the full range of clr.* functions that you would on IronPython. If you're really doing more .NET stuff than CPytho

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
I initially started work using ironpython and automated my while framework and after that I copies the code in python by using UiAutoamtion dlls. Here is sys.version '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]' And sys.platform 'win32' -Original Message- From: J

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
Thanks for reply, Yes, I am using Python for .Net. I initially started work using ironpython and automated my while framework and after that I copies the code in python and used UiAutoamtion dlls to run ironpython code. So, if I use this dll in ironpython, will I be able to use that code in pyt

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Jeff Hardy
On Tue, May 29, 2012 at 2:13 PM, Furqan Malik1E07 wrote: > I don’t think, I am using  CPython? > > I think, I am using simple Python. Are you using 'Python for .NET' (http://pythonnet.sourceforge.net/) by any chance? What is sys.platform and sys.version_info? - Jeff _

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
I don’t think, I am using CPython? I think, I am using simple Python. I already using clr.AddReference('UIAutomationClient') clr.AddReference('UIAutomationTypes') and these dll are working fine. -Original Message- From: Slide [mailto:[email protected]] Sent: May-29-12 5:08 PM To:

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Wait, you are trying to use the clr module in normal CPython? On Tue, May 29, 2012 at 1:42 PM, Furqan Malik1E07 wrote: > Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on > win32 > > -Original Message- > From: Slide [mailto:[email protected]] > Sent: May-29

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32 -Original Message- From: Slide [mailto:[email protected]] Sent: May-29-12 4:37 PM To: Furqan Malik1E07 Cc: [email protected] Subject: Re: [Ironpython-users] Unable to load assembly 'Microsoft

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Can you give the full version displayed when you run ipy.exe or ipy64.exe? slide On Tue, May 29, 2012 at 1:28 PM, Furqan Malik1E07 wrote: > I am using Python 2.7 > And that's what I get when I run dir(clr) > ['AddReference', 'FindAssembly', 'ListAssemblies', '__doc__', '__file__', > '__name__',

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
I am using Python 2.7 And that's what I get when I run dir(clr) ['AddReference', 'FindAssembly', 'ListAssemblies', '__doc__', '__file__', '__name__', 'getPreload', 'setPreload'] -Original Message- From: Slide [mailto:[email protected]] Sent: May-29-12 4:09 PM To: Furqan Malik1E07 Cc:

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
What version of IP are you using? Also, what do you get if you do a dir(clr) in the interactive console? slide On Tue, May 29, 2012 at 1:05 PM, Furqan Malik1E07 wrote: > Thanks Slide, > > I am getting following error now, > > clr.AddReferenceToFile('MicrosoftVisualStudioTestToolsUITesting.dll')

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Furqan Malik1E07
Thanks Slide, I am getting following error now, clr.AddReferenceToFile('MicrosoftVisualStudioTestToolsUITesting.dll') AttributeError: AddReferenceToFile -Original Message- From: Slide [mailto:[email protected]] Sent: May-29-12 3:21 PM To: Furqan Malik1E07 Cc: ironpython-users@python

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Slide
Yes, I understand, but AddReference is just basically a wrapper around Assembly.Load, which does not search. You can try using clr.AddReferenceToFile with the directory you get from the find method added to sys.path. slide On Tue, May 29, 2012 at 12:04 PM, Furqan Malik1E07 wrote: > Hi Alex, > >

Re: [Ironpython-users] Unable to load assembly 'Microsoft�€

2012-05-29 Thread Alex Earl
=?utf-8?Q?=8B.VisualStu=E2=80=8Bdio.TestTo=E2=80=8Bols.UITest=E2=80=8Bing?= =?utf-8?Q?'_in_Python?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===1122901385==" --===1122901385== Content-Type: multipart/alternative; boundary="_000_54452F9818FBEE498

[Ironpython-users] Unable to load assembly 'Microsoft​.VisualStu​dio.TestTo​ols.UITest​ing' in Python

2012-05-29 Thread Furqan Malik1E07
I have automated my whole framework in Ironpython and it's working pretty good and stable. Recently, my company has implemented Drag and Drop functionality to automate. I found one Dll( 'Microsoft.VisualStudio.TestTools.UITesting.dll') which has class mouse and that class has method called mous