It depends on what technologies the website you are accessing uses. If it's pure HTML I think Perl::Mechanize will suffice.
On Wed, Oct 12, 2011 at 12:33 AM, ping song <[email protected]> wrote: > guys: > I recently come with a need to automate some work on a web site, basically I > need to reserve a seat for a test, but due to some reason all seats were > booked already. > chances are that new seats will be released , or someone just drop their > booked seat so it will be also available for others. > the problem here is that I can't (no one hardly can) seat in front of > computer and refresh the web page, check it and book once a seat is seen. > one day my friend reminds me that why don't use some script / automation > tools to do it? I start to seriously think of it , but it looks I don't > really know what's current the best practice tools to fullfill this task, > especially in linux. > > to summary, this is the work to do: > 1) login a website > this can be optional. once manually logged in, no need to exit again > 2) select the exam type, location, date, etc > 3) click some button to accept some agreement, etc > 4) click a button to show current seats layout (date-seats table) > 5) seats can be "full" or "available" text cell, > a) if full, just click the show seats button again > b) if there is any seat available at any date, click it to book it > 6) there might be some other steps to identify the web page info , recognize > it and handle using if , else, > but basically, the minimum job need to be done is, once a seat is > available, send an email to notify so manual operation can continue the > rest. > > interestingly through some google search I found this is exactly (maybe not) > the work description of the QA web testing... > so if expert in that field can shed some lights, I'll be really appreciate > it... > > thanks in advance! > > > regards > ping > > > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > References can be found at: http://goo.gl/anqri > Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or > http://cdn.fsdev.net/List-Rules.pdf) > -- Henrique -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)
