-
Thanks Richard Esplin for the Patch!!
Change to:
def executeJavaScript(self, name):
""" Executes a java script function
parameters:
name - The name of the javascript function
returns:
True on success, else False
"""
self._wait()
try:
if self.frameName:
doc =...
2009-11-06 18:50:04 UTC by rmarchetti
-
Changed newWin = self.Windowfind(wintext)
to newWin = self.findWindow(wintext)
2009-11-06 18:38:25 UTC by rmarchetti
-
In findWindow changed shellWnd =DispatchEx('Shell.Application')
To shellWnd = win32com.client.DispatchEx('Shell.Application')
2009-11-06 18:32:08 UTC by rmarchetti
-
commented out " sys.path.append(r'c:\python30\lib')" in PAMIE.
2009-11-06 18:18:18 UTC by rmarchetti
-
in the PAM30 ,there is "sys.path.append(r'c:\python24\lib')" ,but now the version of python is 3.0,so i change it with 30
sys.path.append(r'c:\python30\lib')".
2009-06-05 07:22:29 UTC by nobody
-
while i used the methond of findWindow,the error show that NameError: name 'DispatchEx' is not defined
and i change it with :win32com.client.DispatchEx('Shell.Application')
2009-06-05 07:19:24 UTC by nobody
-
def changeWindow(self, wintext):
""" changeWindow()
changes control to new or existing window
Parms:
wintext - title of window to control
"""
# Grab the POP-UP Window
newWin = self.Windowfind(wintext)
# Use Pamie for COM object for POP-UP Window
self._ie = newWin
return self._ie
the mentod of.
2009-06-05 07:16:19 UTC by nobody
-
rmarchetti committed revision 14 to the PAMIE SVN repository, changing 1 files.
2009-04-21 20:26:18 UTC by rmarchetti
-
I accidentally uploaded a file without the changes. I deleted that file, and have now uploaded a file that contains both of my patches.
2009-04-17 04:17:58 UTC by resplin
-
execScript must be called against the frame which contains the function to be
executed. This change makes executeJavascript use the frameName to select the
correct frame for executing the script.
Below is a diff. The attached file contains my previous patch as well.
diff -r 89767a5f9132 -r a9db25bd3fa6 lib/PAM30.py
--- a/lib/PAM30.py Wed Apr 15 21:04:25 2009 -0600
+++...
2009-04-17 04:13:51 UTC by resplin