Web Automation in Perl/Ksh with NO additional modules


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Web Automation in Perl/Ksh with NO additional modules
# 1  
Old 10-26-2010
Web Automation in Perl/Ksh with NO additional modules

I would like to automate form filling in a remote way... i mean in the background. That form consists of 3 pages (need to be traversed by clicking on a "next" button). Form uses JavaScript as well.

The scripts I have access to are perl/Unix shells [ NOT even Php Smilie ]

I google'd and found that in perl it can be achieved using LWP/UserAgents.pm module. The downside is I am not allowed to install new modules either.

Is there any other way through which I can achieve logon to a intranet site and fill up the form? I presume NO. Still, wanted to confirm with the experienced ones out here!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl modules installation

I have installed perl in windows. Now I would like to install spreadsheet::xlsx & DateTime::Format::Excel modules(also few more) at a time instead of installing them seperately. Could you please let me know how to install more than 1 module as a batch file in windows OS ? Thanks in... (5 Replies)
Discussion started by: giridhar276
5 Replies

2. UNIX for Dummies Questions & Answers

Having a hell of atime with KSH -ftp automation

Following this thread: https://www.unix.com/ip-networking/1935-automated-ftp-task.html I have created the following script: #! /bin/ksh HOST=ftp.mywebsite2.com USER=astrocloud PASSWD=8**** exec 4>&1 ftp -nv >&4 2>&4 |& print -p open $HOST print -p user $USER $PASSWD print -p cd... (3 Replies)
Discussion started by: Astrocloud
3 Replies

3. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies

4. UNIX for Dummies Questions & Answers

Help on Perl web automation

Hi All, Could experts in the forum suggest me a good book to create web based applications using Perl. Much thanks in advance Karthick (2 Replies)
Discussion started by: karthickrn
2 Replies

5. Red Hat

installing perl modules

Hi All, I have a customer asking me to install these perl modules on redhat 4 ent: File::Temp Getopt::Long DBD::mysql Mail::Mailer DBD::DB2 Any idea how can I install those modules. Thanks for any comment you may add. (3 Replies)
Discussion started by: itik
3 Replies

6. Shell Programming and Scripting

How to install perl modules

Hi. i installed perl 5.8.8.822 in my D: drive(windows xp).When im trying to install IO-Stringy.pm module( or any module for tat matter ) it is getting installed in 'c:\temp\please run installed script' folder no matter from where ever i run the ppm installation.The path variable is set to... (3 Replies)
Discussion started by: Anuj8584
3 Replies

7. Shell Programming and Scripting

extracting used perl modules

Hi, I am trying to extract the includes from all the perl programs in my application space;ie. i want the list of all used modules in my application. First i did a grep like 'grep -r "^use.*;$" * > ~dileepp/search.txt' which gives me the output in the form "filename:line containing use"... (0 Replies)
Discussion started by: DILEEP410
0 Replies

8. Shell Programming and Scripting

Web automation using perl

Hi all, I have to test a web application which has secure authorization. It is a ticketing site where I can create tickets,view and close them. I am trying to automate it in perl and I am not aware of how to do UI automation using perl. Please guide me in steps to implement a perl... (1 Reply)
Discussion started by: gurukottur
1 Replies

9. Shell Programming and Scripting

Installing Perl Modules

I have a script that uses the File::Listing module. I am trying to install it, but I read the ReadMe and it states that the following modules should be installed first: URI MIME-Base64 HTML-Parser libnet Digest-MD5 Compress-Zlib I am very new to Perl and would apprciate anyone's input on... (1 Reply)
Discussion started by: ssmiths001
1 Replies

10. Shell Programming and Scripting

Problems with Perl/KSH Web Log Script

Hi, I am writing a series of scripts for work to analyse intranet access logs. All of the scripts do as they should when run individually from the shell, but only when run from certain directories. This sounds like it may be a PATH issue but I am not sure. When I run a certain script, say... (3 Replies)
Discussion started by: mmanders
3 Replies
Login or Register to Ask a Question
Jifty::Web::Form::Clickable(3pm)			User Contributed Perl Documentation			  Jifty::Web::Form::Clickable(3pm)

NAME
Jifty::Web::Form::Clickable - Some item that can be clicked on -- either a button or a link. DESCRIPTION
METHODS
accessors Clickable adds "url", "escape_label", "continuation", "call", "returns", "submit", and "preserve_state" to the list of accessors and mutators, in addition to those offered by "accessors" in Jifty::Web::Form::Element. new PARAMHASH Creates a new Jifty::Web::Form::Clickable object. Depending on the requirements, it may render as a link or as a button. Possible parameters in the PARAMHASH are: url Sets the page that the user will end up on after they click the button. Defaults to the current page. label The text on the clickable object. tooltip Additional information about the link target. escape_label If set to true, HTML escapes the content of the label and tooltip before displaying them. This is only relevant for objects that are rendered as HTML links. The default is true. continuation The current continuation for the link. Defaults to the current continuation now, if there is one. This may be either a Jifty::Continuation object, or the "id" of such. call The continuation to call when the link is clicked. This will happen after actions have run, if any. Like "continuation", this may be a Jifty::Continuation object or the "id" of such. returns Passing this parameter implies the creation of a continuation when the link is clicked. It takes an anonymous hash of return location to where the return value is pulled from -- that is, the same structure the "parameters" method takes. See "query_parameters" in Jifty::Request::Mapper for details. submit A list of actions to run when the object is clicked. This may be an array reference or a single element; each element may either be a moniker or, a Jifty::Action or a hashref with the keys 'action' and 'arguments'. An undefined value submits all actions in the form, an empty list reference (the default) submits none. In the most complex case, you have something like this: submit => [ { action => $my_action, arguments => { name => 'Default McName', age => '23' }, }, $my_other_action, 'some-other-action-moniker' ] If you specify arguments in the submit block for a button, they will override any values from form fields submitted by the user. preserve_state A boolean; whether state variables are preserved across the link. Defaults to true if there are any AJAX actions on the link, false otherwise. parameters A hash reference of query parameters that go on the link or button. These will end up being submitted exactly like normal query parameters. as_button By default, Jifty will attempt to make the clickable into a link rather than a button, if there are no actions to run on submit. Providing a true value for "as_button" forces generate to produce a Jifty::Web::Form::Clickable::InlineButton instead of a Jifty::Web::Form::Link. as_link Attempt to rework a button into displaying as a link -- note that this only works in javascript browsers. Supplying both "as_button" and "as_link" will work, and not as perverse as it might sound at first -- it allows you to make any simple GET request into a POST request, while still appearing as a link (a GET request). target For things that start off as links, give them an html "target" attribute. Anything from Jifty::Web::Form::Element Note that this includes the "onclick" parameter, which allows you to attach javascript to your Clickable object, but be careful that your Javascript looks like "return someFunction();", or you may get an unexpected error from your browser. url [VALUE] Gets or sets the page that the user will end up on after they click the button. Defaults to the current page. label [VALUE] Gets or sets the text on the clickable object. escape_label [VALUE] Gets or sets if the label is escaped. This is only relevant for objects that are rendered as HTML links. The default is true. continuation [VALUE] Gets or sets the current continuation for the link. Defaults to the current continuation now, if there is one. This may be either a Jifty::Continuation object, or the "id" of such. call [VALUE] Gets or sets the continuation to call when the link is clicked. This will happen after actions have run, if any. Like "continuation", this may be a Jifty::Continuation object or the "id" of such. returns [VALUE] Gets or sets the return value mapping from the continuation. See Jifty::Request::Mapper for details. submit [VALUE] Gets or sets the list of actions to run when the object is clicked. This may be an array reference or a single element; each element may either be a moniker or a Jifty::Action. An undefined value submits all actions in the form, an empty list reference (the default) submits none. preserve_state [VALUE] Gets or sets whether state variables are preserved across the link. Defaults to true if there are any AJAX actions on the link, false otherwise. parameter KEY VALUE Sets the given HTTP parameter named "KEY" to the given "VALUE". state_variable KEY VALUE Sets the state variable named "KEY" to "VALUE". region_fragment NAME PATH Sets the path of the fragment named "NAME" to be "PATH". region_argument NAME ARG VALUE Sets the value of the "ARG" argument on the fragment named "NAME" to "VALUE". parameters Returns the generic list of HTTP form parameters attached to the link as a hash. Use of this is discouraged in favor or "post_parameters" and "get_parameters". post_parameters Returns the hash of parameters as they would be needed on a POST request. get_parameters Returns the hash of parameters as they would be needed on a GET request. complete_url Returns the complete GET URL, as it would appear on a link. as_link Returns the clickable as a Jifty::Web::Form::Link, if possible. Use of this method is discouraged in favor of "generate", which can better determine if a link or a button is more appropriate. as_button Returns the clickable as a Jifty::Web::Form::Field::InlineButton, if possible. Use of this method is discouraged in favor of "generate", which can better determine if a link or a button is more appropriate. generate Returns a Jifty::Web::Form::Field::InlineButton or Jifty::Web::Form::Link, whichever is more appropriate given the parameters. register_action ACTION Registers the action if it isn't registered already, but only on the link. That is, the registration will not be seen by any other buttons in the form. perl v5.14.2 2011-04-13 Jifty::Web::Form::Clickable(3pm)