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
]
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!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. Red Hat
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
7. UNIX for Dummies Questions & Answers
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
8. Shell Programming and Scripting
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
9. UNIX for Dummies Questions & Answers
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
10. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
html::formhandler::widget::form::simple
HTML::FormHandler::Widget::Form::Simple(3pm) User Contributed Perl Documentation HTML::FormHandler::Widget::Form::Simple(3pm)
NAME
HTML::FormHandler::Widget::Form::Simple - widget to render a form with divs
VERSION
version 0.40013
SYNOPSIS
Role to apply to form objects to allow rendering. This rendering role is applied to HTML::FormHandler by default. It supports block
rendering. (HTML::FormHandler::Blocks, HTML::FormHandler::Widget::Block)
Relevant flags:
do_form_wrapper - put a wrapper around the form
If the wrapper_tag is a 'fieldset' (default if not specified) the wrapper goes inside the form tags (because it's not valid to put it
outside of them). If the wrapper_tag is something else, it will go around the form tags. If you're doing one kind of wrapper and want
another one, you can achieve that result by using the 'before'/'after' tags or the 'after_start'/'before_end' tags.
Supported tags:
wrapper_tag -- tag for form wrapper; default 'fieldset'
before
after
after_start
before_end
messages_wrapper_class -- default 'form_messages'
error_class -- default 'error_message'
error_message -- message to issue when form contains errors
success_class -- default 'success_message'
success_message -- message to issue when form was submitted successfully
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Widget::Form::Simple(3pm)