10-10-2007
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 automation in testing the web application.
Thanks in advance
regards,
Guru
10 More Discussions You Might Find Interesting
1. AIX
Here is my requirement to automate the deployment procedure for my project.
Telnet to AIX box (say SERVER1) from windows machine (with USER1)
Select the server to login say "SERVER2"
su as different user say "USER2"(Owner of the deployed files)
Execute the script (Script has so many... (1 Reply)
Discussion started by: nurainos
1 Replies
2. Shell Programming and Scripting
Hello to all,
What i would like to know is how to call a web service using perl.
Where can i find documentation that easy describes this procedure?
Any advices will be more tha welcome.
Thank you.
Best Regards,
Chriss_58 (3 Replies)
Discussion started by: chriss_58
3 Replies
3. UNIX for Dummies Questions & Answers
Hi experts,
I've question in perl, i need to download a text file from the Web and save that content to the server, Is it possible in perl script or i need to do it in the excel. I tried in the excel but the alignment is missing there. Could you please help in find that.
Thanks
senthilkumar (0 Replies)
Discussion started by: senthil.ak
0 Replies
4. 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
5. Shell Programming and Scripting
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
I google'd and found that in perl it can be... (0 Replies)
Discussion started by: dahlia84
0 Replies
6. Shell Programming and Scripting
Hello Everyone,
I've googled everywhere for this with no luck and my brain hurts.
I'm trying to write a program to take my webpages and search for forms.
I've used LWP::Simple to store a website in $content
I need to cut the form out of $content. I don't know how to do this seeing as how... (2 Replies)
Discussion started by: wibbs
2 Replies
7. Shell Programming and Scripting
Hi All,
We have many number of users.Some times we will receive mail from them like ,
the below USER password got expired and they are requesting us to change the password and send it back to them in a mail. there we are giving Expiray date again.
We are doing this process manually. I want... (2 Replies)
Discussion started by: vasuvv
2 Replies
8. Shell Programming and Scripting
Hi,
I have a requirement to write web service in Perl CGi scripting.The web service will be called by some external programs.Any help would be appreciated.Sample hello world program will be more helpful.
Thanks,
Liyakath Ali. (1 Reply)
Discussion started by: liyakathali
1 Replies
9. Shell Programming and Scripting
Hi,
I would like to call the below perl web service from javascript .Any help would be appreciated.I am new to web services.Please do the needful.
Server Program(Perl Web Service)
#!/usr/bin/perl
use lib '/usr/lib/perl5/5.8.8/SOAP-Lite-0.65_3/lib';
use SOAP::Transport::HTTP;
use Demo;... (3 Replies)
Discussion started by: liyakathali
3 Replies
10. Shell Programming and Scripting
perl -MLWP::Simple -le '$s=shift;$c=get("http://genetics.emory.edu/egl/tests/view.php?testid=4125/$s/");$c=~/meta content=(.*?)name=\"Genes\"/msg; print length($1),"\t$1"' "Test Description" >output.txt
I am having trouble with this code: Can it be modified for the desired output? I attached... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT DEBIAN
catalyst::helper::view::ttsite
Catalyst::Helper::View::TTSite(3pm) User Contributed Perl Documentation Catalyst::Helper::View::TTSite(3pm)
NAME
Catalyst::Helper::View::TTSite - Helper for TT view which builds a skeleton web site
SYNOPSIS
# use the helper to create the view module and templates
$ script/myapp_create.pl view HTML TTSite
# add something like the following to your main application module
sub message : Global {
my ( $self, $c ) = @_;
$c->stash->{template} = 'message.tt2';
$c->stash->{message} ||= $c->req->param('message') || 'No message';
}
sub default : Private {
my ( $self, $c ) = @_;
$c->stash->{template} = 'welcome.tt2';
}
sub end : Private { # Or use Catalyst::Action::RenderView
my ( $self, $c ) = @_;
$c->forward( $c->view('HTML') );
}
DESCRIPTION
This helper module creates a TT View module. It goes further than Catalyst::Helper::View::TT in that it additionally creates a simple set
of templates to get you started with your web site presentation.
It creates the templates in root/ directory underneath your main project directory. In here two further subdirectories are created:
root/src which contains the main page templates, and root/lib containing a library of other template components (header, footer, etc.) that
the page templates use.
The view module that the helper creates is automatically configured to locate these templates.
Default Rendering
To render a template the following process is applied:
The configuration template root/lib/config/main is rendered. This is controlled by the "PRE_PROCESS" configuration variable set in the
controller generated by Catalyst::Helper::View::TTsite. Additionally, templates referenced by the "PROCESS" directive will then be
rendered. By default the following additional templates are set: root/lib/config/col, which defines color names and RGB their RGB values
and /root/lib/config/url, which defines site wide variables available to templates.
Next, the template defined by the "WRAPPER" config variable is called. The default wrapper template is located in root/lib/site/wrapper.
The wrapper template passes files with ".css/.js/.txt" extensions through as text OR processes the templates defined after the "WRAPPER"
directive: "site/html" and "site/layout".
Based on the default value of the "WRAPPER" directive in root/lib/site/wrapper, the following templates are processed in order:
o root/src/your_template.tt2
o root/lib/site/footer
o root/lib/site/header
o root/lib/site/layout
o root/lib/site/html
Finally, the rendered content is returned to the bowser.
METHODS
mk_compclass
Generates the component class.
mk_templates
Generates the templates.
SEE ALSO
Catalyst, Catalyst::View::TT, Catalyst::Helper, Catalyst::Helper::View::TT
AUTHOR
Andy Wardley <abw@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
NAME
[% class %] - Catalyst TTSite View
SYNOPSIS
See "[% app %]"
DESCRIPTION
Catalyst TTSite View.
AUTHOR
[% author %]
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-08-02 Catalyst::Helper::View::TTSite(3pm)