Mozilla::Mechanize::GUITester 0.11
Sponsored Links
Mozilla::Mechanize::GUITester 0.11 Ranking & Summary
File size:
0.015 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
946
Date added:
2007-03-22
Publisher:
Boris Sukholitko
Mozilla::Mechanize::GUITester 0.11 description
Mozilla::Mechanize::GUITester is a Perl module that enhances Mozilla::Mechanize with GUI testing.
SYNOPSIS
use Mozilla::Mechanize::GUITester;
# regular Mozilla::Mechanize initialization
my $mech = Mozilla::Mechanize::GUITester->new(%mechanize_args);
$mech->get_url($url);
# convenience wrapper over GetElementById and QueryInterface
my $elem = $mech->get_html_element_by_id("some_id");
# click mouse at the element position + (1, 1)
$mech->x_click($elem, 1, 1);
# play with the mouse relative to the element position
$mech->x_mouse_down($elem, 2, 2);
$mech->x_mouse_move($elem, 4, 4);
$mech->x_mouse_up($elem, 4, 4);
# send keystrokes to the application
$mech->x_send_keys({DEL});
# press and release left CTRL button. You can click in the middle.
$mech->x_press_key(LCT);
$mech->x_release_key(LCT);
# run some javascript code and print its result
print $mech->run_js(return "js: " + 2);
# find out element style using its id
print $mech->get_element_style_by_id(the_elem_id, background-color);
# are there any javascript errors?
print Dumper($mech->console_messages);
# find out HTTP response status (works only for HTTP protocol)
print $mech->status;
# change some text box by sending keypresses - fires all JS events
my $input = $mech->get_html_element_by_id("tbox", "Input");
$mech->x_change_text($input, "Hi");
This module enhances Mozilla::Mechanize with convenience functions allowing testing of DHTML/JavaScript rich pages.
It uses X11::GUITest to emulate mouse clicking, dragging and moving over elements in DOM tree.
It also allows running of arbitrary javascript code in the page context and getting back the results.
SYNOPSIS
use Mozilla::Mechanize::GUITester;
# regular Mozilla::Mechanize initialization
my $mech = Mozilla::Mechanize::GUITester->new(%mechanize_args);
$mech->get_url($url);
# convenience wrapper over GetElementById and QueryInterface
my $elem = $mech->get_html_element_by_id("some_id");
# click mouse at the element position + (1, 1)
$mech->x_click($elem, 1, 1);
# play with the mouse relative to the element position
$mech->x_mouse_down($elem, 2, 2);
$mech->x_mouse_move($elem, 4, 4);
$mech->x_mouse_up($elem, 4, 4);
# send keystrokes to the application
$mech->x_send_keys({DEL});
# press and release left CTRL button. You can click in the middle.
$mech->x_press_key(LCT);
$mech->x_release_key(LCT);
# run some javascript code and print its result
print $mech->run_js(return "js: " + 2);
# find out element style using its id
print $mech->get_element_style_by_id(the_elem_id, background-color);
# are there any javascript errors?
print Dumper($mech->console_messages);
# find out HTTP response status (works only for HTTP protocol)
print $mech->status;
# change some text box by sending keypresses - fires all JS events
my $input = $mech->get_html_element_by_id("tbox", "Input");
$mech->x_change_text($input, "Hi");
This module enhances Mozilla::Mechanize with convenience functions allowing testing of DHTML/JavaScript rich pages.
It uses X11::GUITest to emulate mouse clicking, dragging and moving over elements in DOM tree.
It also allows running of arbitrary javascript code in the page context and getting back the results.
Mozilla::Mechanize::GUITester 0.11 Screenshot
Advertisements
Mozilla::Mechanize::GUITester 0.11 Keywords
GUITester
GUI
GUITester 0.11
Perl module
GUI Testing
X
mouse
element
id
Elem
module
Mozilla::Mechanize::GUITester
MozillaMechanizeGUITester
Mozilla::Mechanize::GUITester 0.11
Libraries
Programming
Bookmark Mozilla::Mechanize::GUITester 0.11
Mozilla::Mechanize::GUITester 0.11 Copyright
WareSeeker periodically updates pricing and software information of Mozilla::Mechanize::GUITester 0.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Mozilla::Mechanize::GUITester 0.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
elementary
periodic table of elements
elements
elements of life
elementary schools
element skateboards
honda element
elementary science fair projects
elemental
element k
elemental shaman
element electronics
element skateboarding
periodic table elements
element eighty
element5
elemental gelade
fifth element
Related Software
Mozilla::DOM::ComputedStyle is a Perl interface to Mozilla getComputedStyle function. Free Download
WWW::Mechanize::Shell is an interactive shell for WWW::Mechanize. Free Download
Mozilla::Backup is a Perl module as a backup utility for Mozilla profiles. Free Download
WWW::Mechanize::Plugin::Cache is an automatic request caching for WWW::Mechanize::Pluggable. Free Download
WWW::Mechanize::Pluggable provides all of the same functionality of WWW::Mechanize, but adds support for plugins. Free Download
WWW::Mechanize::Plugin::HelloWorld is a sample WWW::Mechanize::Pluggable plugin. Free Download
WWW::Mechanize::Examples is a Perl module with sample programs that use WWW::Mechanize. Free Download
Config::Model::ValueComputer is a Perl module that provides configuration value computation. Free Download
Latest Software
Popular Software
Favourite Software