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::Manual::UsingCSSandJS(3pm)			User Contributed Perl Documentation			 Jifty::Manual::UsingCSSandJS(3pm)

NAME
Jifty::Manual::UsingCSSandJS - Using CSS and JavaScript DESCRIPTION
Jifty comes bundled with a series of separately developed JavaScript libraries as well as a set of CSS definitions that both allow Jifty to functionally and beautifully work out of the box. This document describes the mechanisms behind the scenes as well as some of the details inside the included files. BUILT-IN FEATURES Both, CSS and JavaScript (further abbreviated as "JS") files typically reside in the "share/web/static" directory of Jifty, keeping separate "css" and "js" subdirectories for each of both sets of files. When using Jifty without any interference into these files, all of those files will get loaded from the Jifty-provided directories. In both cases, there are hooks for expansion by keeping empty but present files in the "css" and "js" directories. By simply creating and populating these files inside the "share/web/static/css" and "share/web/static/js" directories brings the predefined hooks to work. Also there is a big difference of the whole operation between an application running in "DevelMode" or a productive application. In DevelMode, every single CSS and JS file will get included into every single template page being rendered. On the other hand, a productive application will merge all CSS and JS definitions upon the first request and will only include one file each containing all CSS and JS definitions in a single request. USING AND EXPANDING CSS
Assembly of CSS definitions When Jifty assembles all CSS definitions (which is internally done inside Jifty::Web by the method "include_css"), a single file, "main.css" is included into the generated HTML code of the current page. This file consists of a series of @import directives that reference every single CSS file to get used. Expansion of CSS definitions Jifty maintains two initially empty files, "app-base.css" and "app.css" that may get "overloaded" by simply providing these files in an application's "share/web/static/css" directory. These two files will get included in different order, "app-base.css" being the very first and "app.css" getting included very late in the CSS construction process. This means that general definitions that should apply to all subsequently encountered styles could easily get done in "app-base.css" whereas individual redefinitions, expansions or your application's own definitions could go into "app.css". Jifty's own definitions Jifty provides a series of definitions that are responsible for a good look without any modification. Please note that not all of the used CSS classes are already defined, but they will provide a hook for modification of the general look. Some of the styles are listed below. form_errors, error Error messages encountered during validation are displayed inside a "<div>" tag of class "form_errors" which initially is not yet defined. Every single error message is marked with a class "error". hints, warning, error These classes are used for displaying additional information for form fields. form_field, mandatory, argument-$name Every form field including its label is packed inside a "<div>" tag with these classes (mandatory only if the field is mandatory, of course), where $name is the field's name. preamble This section is a "<span>" tag filled with a form field's preamble content that could contain additional instructions for the user. The content may be set by the "preamble" accessor method that is available for every "Jifty::Web::Form::Field" and its successors. widget, button, button_as_link, combobox, combo-text, combo-button, combo-list, date, label, password submit_button, reset, text, hidden, ajaxvalidation, ajaxcanonicalization, ajaxautocompletes These class names are used depending on the type of widget getting rendered. autocomplete used for the autocomplete div. toplevel, menu, context_menu, submenu, title, expand These classes are used in navigation bars. jifty, results, messages These three CSS classes are used to surround a message block displaying an action's messages after having run an action. message, error, $moniker Every single message that is displayed in an action's result box is marked with the message's type plus the action's moniker as a CSS class name. USING AND EXPANDING JAVASCRIPT
Jifty comes bundled with a series of separately developed JavaScript libraries, like "jQuery" <http://jquery.com/> jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. "JSON" <http://json.org> Hereby, major support for encoding and decoding data into the JSON data format (similar to "YAML") is provided. "behaviour.js" With "behaviour.js", intelligent JavaScript handlers can be defined. Assembly of JS definitions Jifty maintains a complete list of JS files to include. This list may be retrieved or set by the accessor "Jifty->web->javascript_libs". There should, However, rarely arise a situation to do that, because Jifty has already reserved two files that may get added to your application: app.js Initially empty; put all JS functions you need to define here. app_behaviour.js Reserved for defining behaviors for DOM objects using the "behaviour.js" library. The assembly process of all JS definitions is done in Jifty::Web by the method "include_javascript". SEE ALSO
Jifty::Web perl v5.14.2 2010-09-25 Jifty::Manual::UsingCSSandJS(3pm)