473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Help with cPAMIE

Hi, I'm in need of help with cPAMIE. I'm currently trying to submit
this form on a webpage:

<form action="" method="post">
<fieldset>
<legend>Submit Coupon</legend>
<label for="coupon_code">Coupon Code:</label><br />
<input type="text" name="coupon_code" id="coupon_code" value=""><br />
<input type="text" name="security_code" value="" /><br />
<input type="hidden" name="action" value="submit">
<button type="submit">Submit Coupon</button>
</fieldset>
</form>

I can fill in the textboxes alright but I'm having trouble submitting
it. I've tried using:
ie.buttonClick('action') but It returns some thing about it being
hidden...
Ive also tried:
ie.buttonClick('Submit Coupon') but it says it can't find the string
anywhere...
Any help would be greatly appreciated! Thank you so much!
Jan 21 '08 #1
1 1401
On Jan 21, 11:09*am, romo20...@gmail.com wrote:
Hi, I'm in need of help with cPAMIE. I'm currently trying to submit
this form on a webpage:

<form action="" method="post">
<fieldset>
<legend>Submit Coupon</legend>
<label for="coupon_code">Coupon Code:</label><br />
<input type="text" name="coupon_code" id="coupon_code" value=""><br />
<input type="text" name="security_code" value="" /><br />
<input type="hidden" name="action" value="submit">
<button type="submit">Submit Coupon</button>
</fieldset>
</form>

I can fill in the textboxes alright but I'm having trouble submitting
it. I've tried using:
ie.buttonClick('action') but It returns some thing about it being
hidden...
Ive also tried:
ie.buttonClick('Submit Coupon') but it says it can't find the string
anywhere...
Any help would be greatly appreciated! Thank you so much!
Okay I kinda figured it out...I'm now trying to use formSubmit but it
seems that the form has no name its just blank. So i tried
ie.formSubmit("") but it didn't work. I'm a beginner so I really need
some help :) Thanks!
Jan 21 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
0
by: calfdog | last post by:
I am pleased to announce version cPAMIE 1.6 the Web automation tool for Internet explorer. If your looking for a fast way, easy to learn way to drive your browser check out PAMIE. Is PAMIE...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> With...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available...
6
by: Aswin | last post by:
Hi, I just tried to run a sample test by the following script: import cPAMIE as PAMIE ie = PAMIE( ) ie.Navigate("'www.google.com" ) ie.textBoxSet("q", "python" ) ie.buttonClick("'btnG" )
1
by: frankrentef | last post by:
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...
4
by: frankrentef | last post by:
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...
1
by: jloyzaga | last post by:
import sys import cPAMIE url = sys.argv dom = cPAMIE.PAMIE(url) how can I maximize the current active browser?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.