Press a Web button

Advanced programming using WinTask scripting language

Press a Web button

Postby Hamadi on Fri Oct 04, 2013 8:20 am

Hi,
The recorder couldn't recognize pressing on the button from the following type:
<input id="submit_button" type="submit" class="one-click-submit" name="save" value="Save" onclick="displayURL()">
Any idea?
Hamadi
 
Posts: 21
Joined: Wed May 25, 2005 10:18 am

Re: Press a Web button

Postby TechSupport on Mon Oct 07, 2013 8:18 am

Hello,

Can you try this small script:
StartBrowser("IE", "www.wintask.com/submit.htm", 3)

UsePage("http://www.wintask.com/submit.htm")
ClickHTMLElement("INPUT SUBMIT[VALUE= 'Save']")

It clicks Save button correctly. If it works at your place, use the same clickhtmlelement line for your real page.

Regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron