3 Replies - 3201 Views - Last Post: 03 August 2009 - 04:36 AM Rate Topic: -----

#1 FreezingDigits  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 24
  • Joined: 17-July 09

Python - Has anyone worked with PAM30?

Posted 27 July 2009 - 09:29 PM

Lately I've been having a hard time with PAMIE from PAM30.

I tried the simple code that seems to work for everyone:
from PAM30 import PAMIE

ie = PAMIE()

ie.navigate("www.google.com")
ie.setTextBox("q", "Python")
ie.clickButton("Google Search")
ie.clickLink("Python Programming Language -- Official Website")



and I get the following on my IDE:

** findElement() did not find input-id;name;value-q
** getTextBox () did not find q
** setTextBox() did not find q-Python
** findElement() did not find input-id;name;value-Google Search
** getButton() did not find Google Search
** clickElement() was not passed a valid element
** findElement() did not find a-id;innerText-Python Programming Language -- Official Website
** getLink() did not find Python Programming Language -- Official Website
** clickElement() was not passed a valid element

I have tried this with Python 3.0 and 3.1 and I get the same result every time.

What am I doing wrong?

This post has been edited by FreezingDigits: 28 July 2009 - 08:46 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Python - Has anyone worked with PAM30?

#2 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 202
  • Joined: 21-April 09

Re: Python - Has anyone worked with PAM30?

Posted 30 July 2009 - 09:31 AM

See URL: http://groups.google...6fe24d229b615a5

Please make sure that you have pywin32 installed on your machine.

This post has been edited by code_m: 30 July 2009 - 09:48 AM

Was This Post Helpful? 0
  • +
  • -

#3 FreezingDigits  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 24
  • Joined: 17-July 09

Re: Python - Has anyone worked with PAM30?

Posted 30 July 2009 - 05:36 PM

Thank you for the reply code_m, yes I have installed pywin32 which lets me go to google with

ie.navigate('google.com')


but for some reason PAMIE isn't finding the text boxes, or any of the pages content.

This post has been edited by FreezingDigits: 30 July 2009 - 05:39 PM

Was This Post Helpful? 0
  • +
  • -

#4 FreezingDigits  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 24
  • Joined: 17-July 09

Re: Python - Has anyone worked with PAM30?

Posted 03 August 2009 - 04:36 AM

Can it have anything to do with my computer using a 64-bit Windows Vista OS, or something to do with my current Internet Explorer?

I tried it on my Desktop running Windows XP and got the script to work, just don't know whats the problem on this computer.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1