3 Replies - 587 Views - Last Post: 18 June 2010 - 06:41 PM

#1 backtothefuture  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 18-June 10

Where to start on making a Programming Tool

Posted 18 June 2010 - 09:39 AM

Hello everybody,

At work, I have the task of writing repetitive scripting language based on an website's HTML code that, in the end, automates the use of the website.

My job mainly consists of this. I start with an objective... lets say, REGISTER AN ACCOUNT ON A FORUM.

So, I go on the forums website, and for each HTML element I have to click or type, I write a line of script-code that says something like 'Stimulate(click) Register Button' then 'Fill in Username Text-Box with ${username}', using a variable, and so on and so on...

So I want to build a tool that will work like this:

  • I go on the specified website (the forum)
  • I hit 'Record' on the tool, and it begins to watch my input
  • I click on REGISTER to register a new account
  • A dialog box will pop up, and let me select certain scripting commands that are relevant to this HTML element
  • When I hit OK on this dialog box, it appends a line of script-code generated by what I selected to a txt file
  • I repeat the process, and I am happy


I don't really have any experience in implementing a program that "watches" input on a web page. Don't know where to start really. Can anyone give me some ideas?

Thanks,
bttf

Is This A Good Question/Topic? 0
  • +

Replies To: Where to start on making a Programming Tool

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6079
  • View blog
  • Posts: 23,550
  • Joined: 23-August 08

Re: Where to start on making a Programming Tool

Posted 18 June 2010 - 10:19 AM

This tool is a frequently used one for tasks similar to what you're seeking. However, I don't know for sure that it supports the recording functionality, but I thought I'd point you to it for you to check out.
Was This Post Helpful? 0
  • +
  • -

#3 AdaHacker  Icon User is offline

  • Resident Curmudgeon

Reputation: 452
  • View blog
  • Posts: 811
  • Joined: 17-June 08

Re: Where to start on making a Programming Tool

Posted 18 June 2010 - 11:23 AM

You might want to take a look at Selenium IDE. It's a Firefox extension that works very much like what you're describing. It's also open-source, so you can check out the code and see how they're doing it.
Was This Post Helpful? 2
  • +
  • -

#4 backtothefuture  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 18-June 10

Re: Where to start on making a Programming Tool

Posted 18 June 2010 - 06:41 PM

Thank you guys for your help, I think this Selenium might steer me in the right direction...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1