[python-win32] How to wrap VARIANT_BOOL

2009-09-08 Thread Arve Knudsen
Hi I don't know if this will get me much in terms of a response, considering my questions about PyWin32 and ADSI up till now, but I'll give it a shot :p I am trying to extend win32com.adsi.PyIADsUser (through PyIADsUser.i) with a couple of methods that use the VARIANT_BOOL type, how can I wrap thi

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Dennis Chung
Thanks Tim. I apologize in advance if this doesnt thread properly; I'm on the digest list and am not sure how to properly reply to individual messages. I am now able to launch the application via python win32com however I am still having an issue. The QuickTest.Application object allows me to ru

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Tim Roberts
Dennis Chung wrote: > Thanks Tim. > > I apologize in advance if this doesnt thread properly; I'm on the > digest list and am not sure how to properly reply to individual messages. > > I am now able to launch the application via python win32com however I > am still having an issue. The QuickTest.Ap

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Dennis Chung
I am running this code on the python shell the test was loaded successfully. I will illustrate my problem more clearly. I currently have a work around by explicitly passing "self" but I'd like to better understand the issue. As you can probably tell, I am new to python. The following code allow

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Tim Roberts
Dennis Chung wrote: > I am running this code on the python shell the test was loaded > successfully. I will illustrate my problem more clearly. I currently > have a work around by explicitly passing "self" but I'd like to better > understand the issue. As you can probably tell, I am new to pytho

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Dennis Chung
> > Yes, but there's a big difference between those. With Launch and Open, > you are working with the "o" object. But with o.Test.Run(), you aren't > working with "o", you are working with whatever object is returned from > the Test property of "o". That's a brand new object of a different > typ

Re: [python-win32] Problems with QuickTest Automation Object Model

2009-09-08 Thread Tim Roberts
Dennis Chung wrote: > > > > Run method signature: > object.Run [ResultsOptions], [WaitOnReturn], [Parameters] > > Here is the relevant output of makepy for the QTP Type Library: > class Test(DispatchBaseClass): > ... > def Run(self, ResultsOptions=0, WaitOnReturn=True, Parameters=None): >