Home Online Tutorials @ Showmedo.com Latest News FAQ Pamie Methods Take Pamie for a test drive! Download Pamie2.0
 

Tutorials

PAMIE Methods

Using PyUnit with Pamie

Resources

 

 

 

 

Importing and Pamie

# To use Pamie you must first create a new script or text file that you can saveas mytest.py.

# This will import the cPAMIE class file so you can use it's methods

from cPAMIE import PAMIE

# create a new instance of the PAMIE object

ie = PAMIE( )

# Lets navigate to google - this methods takes a string as the URL

ie.Navigate("'www.google.com" )

ie.textBoxSet("q", "python" ) #control name, value

# Now Submit the form.

ie.buttonClick("'btnG" )

 

Now you should see a list of Urls for Python

Congratualtions you have completed you first PAMIE Script!!