Newbie request assistance....Python - PAMIE - Java

2009-02-19 Thread frankrentef
Greetings all... Newbie here to the Python world. I've written some basic script with the purpose of automating testing of an application via Python / Pamie. I've had pretty good success until a spot I'm testing displays a Java pop up. I need to have Pamie access the fields in the window (i.e.

Using strftime

2008-09-03 Thread frankrentef
I have one line of code that put's an old date in my code. ie.textBoxSet('_ct10_PlaceHolder_txtEnd', '8/15/2008') What I wish to do in another similiar line is have the field populated with the current system date? How best to do this? I've read some of the strftime documentation but as of y

Re: Newbie needs help

2008-08-27 Thread frankrentef
Help, I'm missing / still not grasping something My "loginout" file contains the following... from cPAMIE import PAMIE #Imports - used to setup / control finding files import time import os import sys url = 'http://test2/' adminlogin = 'Gorillia' adminpassword = 'Gorillia1$' #Admin Logi

Re: Newbie needs help

2008-08-26 Thread frankrentef
On Aug 26, 11:46 am, frankrentef <[EMAIL PROTECTED]> wrote: > Greetings all, > > I'm wanting to maintain what values in one file and call them in > another.  The purpose being to keep a single location where url's, > login's and passwords can be maintained,

Newbie needs help

2008-08-26 Thread frankrentef
Greetings all, I'm wanting to maintain what values in one file and call them in another. The purpose being to keep a single location where url's, login's and passwords can be maintained, then called as needed from another file. In file #1 I have... import time import os import sys url = 'http:

Calling "def" functions from another file.

2008-08-13 Thread frankrentef
Newbie here I'm writing a Python program that has "def" functionality growing in leaps and bounds. I'm a newbie to Python so be detailed. Is there a way to create a py file with all the "def's" listed and just call them from the "program" py file? How would I do this? Say my "def" py file

Create a short way to save typing script over and over....

2008-08-07 Thread frankrentef
I have a statement "url = 'http://xyzserver/'" so in my code every time I need to use xyzserver I state "url +" What I' m now trying to do is create a call to a login process. The script for the login process is below. I'd like to call "adminlogin" and not have to keep entering the same se

Re: Run program from within Python

2008-08-06 Thread frankrentef
THNX for the links... lotta reading for the newbie! -- http://mail.python.org/mailman/listinfo/python-list

Run program from within Python

2008-08-06 Thread frankrentef
Greetings all... Newbie to Python... need help with opening a file from within Python... see the following code. import popen2 stdout, stdin = popen2.popen2('c:\test\OpenProgram.exe 1 1') keygen = stdout.read() print "The keygen value is: %s" % keygen from the command line if I execute "OpenPr

HELP - Attribute Error, no matter what I do on PAMIE...

2008-07-31 Thread frankrentef
Greetings all. I'm new to PAMIE and I've watched / followed to PAMIE videos on Show me Do. I've tried to duplicate the "scriptWrite" function in an attempt to automate the forms process... without success. Can someone PLEASE Assist!? I'm using the following code from cPAMIE import PAMIE #I

Re: Python / PAMIE - scriptWrite Function

2008-07-29 Thread frankrentef
On Jul 29, 1:26 pm, frankrentef <[EMAIL PROTECTED]> wrote: > In using PAMIE 2.0 specifically the "scripWrite" function I'm getting > the following error... > > File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line > 489, in _getattr_

Python / PAMIE - scriptWrite Function

2008-07-29 Thread frankrentef
In using PAMIE 2.0 specifically the "scripWrite" function I'm getting the following error... File "C:\Python23\Lib\site-packages\win32com\client\dynamic.py", line 489, in _getattr_ further states... raise AttributeError, "%s.%s" % (self._username_, attr) Help... :) -- http://mail.python.org/m

Re: Python / PAMIE

2008-07-24 Thread frankrentef
On Jul 24, 10:45 am, Tim Golden <[EMAIL PROTECTED]> wrote: > frankrentef wrote: > > THNX for your response.  Based on the authors code it's very simple. > > > from cPAMIE import PAMIE > > ie=PAMIE () > > > #ie.navigate ("google.com") >

Re: Python / PAMIE

2008-07-24 Thread frankrentef
On Jul 24, 10:07 am, Tim Golden <[EMAIL PROTECTED]> wrote: > frankrentef wrote: > > Can someone help with a PAMIE issue?  I'm new to Python / PAMIE and > > they seem like great tools but to be honest I'm finding that no > > responses to questions can b

Python / PAMIE

2008-07-24 Thread frankrentef
Can someone help with a PAMIE issue? I'm new to Python / PAMIE and they seem like great tools but to be honest I'm finding that no responses to questions can be found (Experts Exchange, etc.) I'm hoping this will be the place. I tried to duplicate the authors "ie.writeScript" function shown at