Appium

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.05 2014-11-13
 - Restore restrictions about caps vs desired; this is just 0.03 again.

0.04 2014-11-12
 - Loosen restrictions about caps vs desired_capabilities in
  constructor

0.03 2014-11-11
 - Use hard dependency on S-R-D v0.22 to allow us to use our own
   Finders constant and ErrorHandler class.
 - Add a slew of appium endpoints: notifs, network connections, lock,
   shake, app management, file/folder managing, set_text, and others.

0.02 2014-08-08
 - Add context management endpoints
 - Use snake case for internal endpoints: hide_keyboard replaces
   hideKeyboard

0.01 2014-08-07
 - Initial release: only additional Appium-specific sub is
   hide_keyboard

lib/Appium.pm  view on Meta::CPAN


    $appium->page;
    $appium->find_element('TextField1', 'name')->send_keys('5');
    $appium->quit;

=head1 DESCRIPTION

Appium is an open source test automation framework for use with native
and hybrid mobile apps.  It drives iOS and Android apps using the
WebDriver JSON wire protocol. This module is a thin extension of
L<Selenium::Remote::Driver> that adds Appium specific API endpoints
and Appium-specific constructor defaults. It's woefully incomplete at
the moment, so feel free to pitch in at the L<Github
repo|https://github.com/appium/perl-client>! For details on how Appium
extends the Webdriver spec, see the Selenium project's L<spec-draft
document|https://code.google.com/p/selenium/source/browse/spec-draft.md?repo=mobile>.

Note that like L<Selenium::Remote::Driver>, you shouldn't have to
instantiate L<Appium::Element> on your own; this module will create
them when necessary so that all you need to know is what methods are
appropriate on an element vs the driver.

lib/Appium/Commands.pm  view on Meta::CPAN


Appium::Commands - Appium specific extensions to the Webdriver JSON protocol

=head1 VERSION

version 0.0804

=head1 DESCRIPTION

There's not much to see here. View the source if you'd like to see the
Appium specific endpoints. Otherwise, you might be looking for
L<Appium> or L<Selenium::Remote::Commands>.

=head1 SEE ALSO

Please see those modules/websites for more information related to this module.

=over 4

=item *

t/Appium.t  view on Meta::CPAN

use Test::More;
use Test::Exception;
use Cwd qw/abs_path/;
use Appium::Commands;

BEGIN: {
    my $test_lib = abs_path(__FILE__);
    $test_lib =~ s/(.*)\/.*\.t$/$1\/lib/;
    push @INC, $test_lib;
    require MockAppium;
    MockAppium->import(qw/endpoint_ok alias_ok/);

    unless (use_ok('Appium')) {
        BAIL_OUT("Couldn't load Appium");
        exit;
    }
}

my $mock_appium = MockAppium->new;

INVALID_STRATEGY: {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.573 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )