Revision 004280c1
Von Thomas Kasulke vor mehr als 17 Jahren hinzugefügt
t/lx-office.t | ||
---|---|---|
46 | 46 |
"printing" => 't/selenium/TestPrinting.t', |
47 | 47 |
"programm" => 't/selenium/TestProgramm.t', |
48 | 48 |
"reports" => 't/selenium/TestReports.t' ); |
49 |
my $testonly = 0; |
|
49 |
my $showtests = 0; |
|
50 |
my $singletest = 0; |
|
50 | 51 |
my $nodb = 0; |
51 | 52 |
my @totest; |
52 | 53 |
|
... | ... | |
71 | 72 |
print "\t\t -admin\tonly runs testscripts for \"administration\"\n"; |
72 | 73 |
print "\t\t -testbed\tcreates a standardized test database\n"; |
73 | 74 |
print "\t\t -nodb\t\tdoesn't create a db! Only use with \n\t\t\t\t--username, --userpasswd, --dbname, --dbport, --dbhost, --dbuser, --dbpasswd, --rootpasswd arguments!\n"; |
74 |
print "\t\t -testsonly\tfinally shows all tests available only\n"; |
|
75 |
print "\t\t -showtests\tfinally shows all tests available only\n"; |
|
76 |
print "\t\t -singletest\toption flag for using single tests shown in \"-showtests\"\n"; |
|
75 | 77 |
printf "\n\t\targuments:\n\t\t%s\n","\xAF" x 10; |
78 |
print "\t\t --test=\tname of Test shown in showtests seperated by , (Only joined by -singletest)\n"; |
|
76 | 79 |
print "\t\t --username=\tuser login name\n"; |
77 | 80 |
print "\t\t --userpasswd=\tuser login password\n"; |
78 | 81 |
print "\t\t --dbname=\tname of used db (leave empty whether dbname is seleniumtestdatabase)\n"; |
... | ... | |
90 | 93 |
$_ = $ARGV[0]; |
91 | 94 |
|
92 | 95 |
if ( /^--help$/ ) { usage; last } |
93 |
if ( /^-testonly$/) { $testonly = 1; shift; next } |
|
94 |
if ( /^-nodb$/ ) { $nodb = 1; shift; next } |
|
95 |
if ( /^-(masterdata)$/ ) { push @totest, $1; shift; next } |
|
96 |
if ( /^-(system)$/ ) { push @totest, $1; shift; next } |
|
97 |
if ( /^-(selling)$/ ) { push @totest, $1; shift; next } |
|
98 |
if ( /^-(purchase)$/ ) { push @totest, $1; shift; next } |
|
99 |
if ( /^-(testbed)$/ ) { push @totest, $1; shift; next } |
|
100 |
if ( /^-(admin)$/ ) { push @totest, $1; shift; next } |
|
101 |
if ( /^--username=(.*)$/ ) { $lxtest{testuserlogin} = $1; shift; next } |
|
102 |
if ( /^--userpasswd=(.*)$/ ) { $lxtest{testuserpasswd} = $1; shift; next } |
|
103 |
if ( /^--dbname=(.*)$/ ) { $lxtest{db} = $1; shift; next } |
|
104 |
if ( /^--dbport=(.*)$/ ) { $lxtest{dbport} = $1; shift; next } |
|
105 |
if ( /^--dbhost=(.*)$/ ) { $lxtest{dbhost} = $1; shift; next } |
|
106 |
if ( /^--dbuser=(.*)$/ ) { $lxtest{dbuser} = $1; shift; next } |
|
107 |
if ( /^--dbpasswd=(.*)$/ ) { $lxtest{dbpasswd} = $1; shift; next } |
|
108 |
if ( /^--rootpasswd=(.*)$/ ) { $lxtest{rpw} = $1; shift; next } |
|
109 |
if ( /^([A-Z].*)$/ ) { push @totest, shift; next } |
|
110 |
if ( /^-/ ) { |
|
96 |
elsif ( /^-showtests$/) { $showtests = 1; shift; next } |
|
97 |
elsif ( /^-nodb$/ ) { $nodb = 1; shift; next } |
|
98 |
elsif ( /^-(masterdata)$/ ) { push @totest, $1; shift; next } |
|
99 |
elsif ( /^-(system)$/ ) { push @totest, $1; shift; next } |
|
100 |
elsif ( /^-(selling)$/ ) { push @totest, $1; shift; next } |
|
101 |
elsif ( /^-(purchase)$/ ) { push @totest, $1; shift; next } |
|
102 |
elsif ( /^-(testbed)$/ ) { push @totest, $1; shift; next } |
|
103 |
elsif ( /^-(payments)$/ ) { push @totest, $1; shift; next } |
|
104 |
elsif ( /^-(admin)$/ ) { push @totest, $1; shift; next } |
|
105 |
elsif ( /^-(printing)$/ ) { push @totest, $1; shift; next } |
|
106 |
elsif ( /^-(reports)$/ ) { push @totest, $1; shift; next } |
|
107 |
elsif ( /^-(accounting)$/ ) { push @totest, $1; shift; next } |
|
108 |
elsif ( /^-(purchase)$/ ) { push @totest, $1; shift; next } |
|
109 |
elsif ( /^-(programm)$/ ) { push @totest, $1; shift; next } |
|
110 |
elsif ( /^-singletest$/ ) { $singletest = 1; shift; next } |
|
111 |
elsif ( /^--username=(.*)$/ ) { $lxtest{testuserlogin} = $1; shift; next } |
|
112 |
elsif ( /^--userpasswd=(.*)$/ ) { $lxtest{testuserpasswd} = $1; shift; next } |
|
113 |
elsif ( /^--dbname=(.*)$/ ) { $lxtest{db} = $1; shift; next } |
|
114 |
elsif ( /^--dbport=(.*)$/ ) { $lxtest{dbport} = $1; shift; next } |
|
115 |
elsif ( /^--dbhost=(.*)$/ ) { $lxtest{dbhost} = $1; shift; next } |
|
116 |
elsif ( /^--dbuser=(.*)$/ ) { $lxtest{dbuser} = $1; shift; next } |
|
117 |
elsif ( /^--dbpasswd=(.*)$/ ) { $lxtest{dbpasswd} = $1; shift; next } |
|
118 |
elsif ( /^--rootpasswd=(.*)$/ ) { $lxtest{rpw} = $1; shift; next } |
|
119 |
elsif ( /^--test=(.*)$/ ) { foreach (split(/\,/, $1)) { push @totest, $_; } shift; next } |
|
120 |
elsif ( /^([A-Z].*)$/ ) { push @totest, shift; next } |
|
121 |
else { |
|
111 | 122 |
print STDERR "$0: ERROR: unrecognized option '$_' ?\n"; |
112 | 123 |
usage; |
113 | 124 |
} |
114 | 125 |
last; |
115 | 126 |
} |
116 |
|
|
127 |
unlink("/tmp/lxtest-temp.conf") if (-f "/tmp/lxtest-temp.conf"); |
|
117 | 128 |
open TEMPCONF, "+>/tmp/lxtest-temp.conf"; |
118 | 129 |
print TEMPCONF '$lxtest = {'."\n"; |
119 | 130 |
foreach (keys(%lxtest)) { |
... | ... | |
121 | 132 |
} |
122 | 133 |
print TEMPCONF '};'; |
123 | 134 |
close TEMPCONF; |
124 |
|
|
125 |
my $testscriptdir = 't/selenium/testscripts/'; |
|
126 |
opendir(ROOT, $testscriptdir); |
|
127 |
foreach my $dir ( readdir( ROOT ) ) { |
|
128 |
if(-d $testscriptdir . $dir && $dir ne "begin" && $dir ne "end" && $dir ne "..") { |
|
129 |
opendir(DIR, $testscriptdir . $dir . "/begin"); |
|
130 |
foreach ( readdir(DIR) ) { |
|
131 |
$tests{ substr ( substr( $_, 4 ), 0, -2 ) } = $testscriptdir . ($dir eq "." ? "" : $dir . "/") . "begin/" . $_ if ( $_ =~ /^\w\d\d\d.*\.t$/ ); |
|
132 |
} |
|
133 |
closedir(DIR); |
|
134 |
opendir(DIR, $testscriptdir . $dir . "/end"); |
|
135 |
foreach (readdir(DIR)) { |
|
136 |
$tests{ substr ( substr( $_, 4 ), 0, -2 ) } = $testscriptdir . ($dir eq "." ? "" : $dir . "/") . "end/" . $_ if ( $_ =~ /^\w\d\d\d.*\.t$/ ); |
|
135 |
|
|
136 |
if($singletest || $showtests) { |
|
137 |
my $testscriptdir = 't/selenium/testscripts/'; |
|
138 |
opendir(ROOT, $testscriptdir); |
|
139 |
foreach my $dir ( readdir( ROOT ) ) { |
|
140 |
if(-d $testscriptdir . $dir && $dir ne "begin" && $dir ne "end" && $dir ne "..") { |
|
141 |
opendir(DIR, $testscriptdir . $dir . "/begin"); |
|
142 |
foreach ( readdir(DIR) ) { |
|
143 |
$tests{ substr ( substr( $_, 4 ), 0, -2 ) } = $testscriptdir . ($dir eq "." ? "" : $dir . "/") . "begin/" . $_ if ( $_ =~ /^\w\d\d\d.*\.t$/ ); |
|
144 |
} |
|
145 |
closedir(DIR); |
|
146 |
opendir(DIR, $testscriptdir . $dir . "/end"); |
|
147 |
foreach (readdir(DIR)) { |
|
148 |
$tests{ substr ( substr( $_, 4 ), 0, -2 ) } = $testscriptdir . ($dir eq "." ? "" : $dir . "/") . "end/" . $_ if ( $_ =~ /^\w\d\d\d.*\.t$/ ); |
|
149 |
} |
|
150 |
closedir(DIR); |
|
137 | 151 |
} |
138 |
closedir(DIR); |
|
139 | 152 |
} |
153 |
closedir(ROOT); |
|
140 | 154 |
} |
141 |
closedir(ROOT); |
|
142 |
|
|
143 | 155 |
push @totest, "all" if(!$totest[0]); |
144 | 156 |
|
145 | 157 |
|
... | ... | |
149 | 161 |
|
150 | 162 |
|
151 | 163 |
## Frontendtests: |
152 |
|
|
153 |
foreach (@totest) { |
|
154 |
&runtests( |
|
155 |
$tests{$_}, |
|
156 |
) if (!$testonly); |
|
164 |
if (!$showtests) { |
|
165 |
foreach (@totest) { |
|
166 |
&runtests( |
|
167 |
$tests{$_}, |
|
168 |
); |
|
169 |
} |
|
157 | 170 |
} |
158 |
if($testonly) {
|
|
171 |
elsif($showtests) {
|
|
159 | 172 |
printf "\tFollowing testscripts are present:\n\t%s\n","\xAF" x 34;; |
160 | 173 |
foreach (sort(keys(%tests))) { |
161 | 174 |
print "\t\t" . $_ ."\n" if( /^[A-Z].*$/ ); |
t/selenium/AllTests.t | ||
---|---|---|
61 | 61 |
# plan tests => 200; # Need to be cutomized |
62 | 62 |
# } |
63 | 63 |
sub init_server { |
64 |
my $singlefileonly = 0; |
|
65 |
if ($_[0] eq "singlefileonly") { |
|
66 |
$singlefileonly = 1; |
|
67 |
shift; |
|
68 |
} |
|
64 | 69 |
if(!server_is_running) { |
65 | 70 |
print "No selenium server found! " |
66 | 71 |
."Maybe you forgot to start it or " |
... | ... | |
108 | 113 |
|
109 | 114 |
diag('Starting Selenium tests...'); |
110 | 115 |
|
111 |
foreach my $scriptdir (@_) { |
|
112 |
opendir(SCRIPTS, 't/selenium/testscripts/' . $scriptdir); |
|
113 |
foreach (sort readdir(SCRIPTS)) { |
|
114 |
require_ok("t/selenium/testscripts/". $scriptdir . "/" . $_) if ( $_ =~ /^\w\d\d\d.*\.t$/); |
|
116 |
if(!$singlefileonly) { |
|
117 |
foreach my $scriptdir (@_) { |
|
118 |
opendir(SCRIPTS, 't/selenium/testscripts/' . $scriptdir); |
|
119 |
foreach (sort readdir(SCRIPTS)) { |
|
120 |
require_ok("t/selenium/testscripts/". $scriptdir . "/" . $_) if ( $_ =~ /^\w\d\d\d.*\.t$/); |
|
121 |
} |
|
122 |
closedir(SCRIPTS); |
|
115 | 123 |
} |
116 |
closedir(SCRIPTS); |
|
124 |
} |
|
125 |
else { |
|
126 |
foreach (@_) { require_ok($_); } |
|
117 | 127 |
} |
118 | 128 |
if($!) { |
119 | 129 |
@! = ("Test fehlgeschlagen!"); |
t/selenium/testscripts/administration/begin/A001CreateTestDatabase.t | ||
---|---|---|
1 | 1 |
### Create Database |
2 |
|
|
2 |
if(!defined $sel) { |
|
3 |
require "t/selenium/AllTests.t"; |
|
4 |
init_server("singlefileonly", $0); |
|
5 |
exit(0); |
|
6 |
} |
|
3 | 7 |
$sel->open_ok($lxtest->{lxadmin}); |
4 | 8 |
|
5 | 9 |
if($sel->get_title() eq "") { |
... | ... | |
11 | 15 |
$sel->title_is("Lx-Office ERP Administration -"); |
12 | 16 |
|
13 | 17 |
diag('Lock the system'); |
14 |
$sel->click_ok("//input[(\@name=\"action\") and (\@value=\"System sperren\")]");
|
|
18 |
$sel->click_ok("document.forms[0].action[3]"); # Button f?r System sperren
|
|
15 | 19 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
16 | 20 |
|
17 | 21 |
$sel->title_is("Lx-Office ERP Administration -"); |
... | ... | |
38 | 42 |
$sel->title_is("Lx-Office ERP Administration -"); |
39 | 43 |
|
40 | 44 |
diag('Unlock the system'); |
41 |
$sel->click_ok("//input[(\@name=\"action\") and (\@value=\"System entsperren\")]");
|
|
45 |
$sel->click_ok("document.forms[0].action[3]"); # BUtton f?r System entsperren
|
|
42 | 46 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
43 | 47 |
$sel->title_is("Lx-Office ERP Administration -"); |
48 |
1; |
t/selenium/testscripts/administration/begin/A002CreateTestUser.t | ||
---|---|---|
1 |
|
|
2 | 1 |
### Create new user |
2 |
|
|
3 |
if(!defined $sel) { |
|
4 |
require "t/selenium/AllTests.t"; |
|
5 |
init_server("singlefileonly", $0); |
|
6 |
exit(0); |
|
7 |
} |
|
8 |
|
|
3 | 9 |
diag("Create test user '$lxtest->{testuserlogin}'"); |
4 | 10 |
$sel->open_ok($lxtest->{lxadmin}); |
5 | 11 |
|
... | ... | |
31 | 37 |
$sel->click_ok("action"); |
32 | 38 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
33 | 39 |
$sel->title_is("Lx-Office ERP Administration -"); |
40 |
1; |
t/selenium/testscripts/administration/begin/A003UpdateDatabase.t | ||
---|---|---|
1 | 1 |
### Update Database |
2 |
if(!defined $sel) { |
|
3 |
require "t/selenium/AllTests.t"; |
|
4 |
init_server("singlefileonly", $0); |
|
5 |
exit(0); |
|
6 |
} |
|
2 | 7 |
|
3 | 8 |
# NOTEST: some preruns for initializing missing parameters |
4 | 9 |
$sel->open($lxtest->{lxadmin}); |
t/selenium/testscripts/administration/end/A998DeleteTestUser.t | ||
---|---|---|
1 | 1 |
### Delete user |
2 |
if(!defined $sel) { |
|
3 |
require "t/selenium/AllTests.t"; |
|
4 |
init_server("singlefileonly",$0); |
|
5 |
exit(0); |
|
6 |
} |
|
7 |
|
|
2 | 8 |
diag("Delete test user '$lxtest->{testuserlogin}'"); |
3 | 9 |
$sel->open_ok($lxtest->{lxadmin}); |
4 | 10 |
|
... | ... | |
8 | 14 |
$sel->title_is("Lx-Office ERP Administration / Benutzerdaten bearbeiten -"); |
9 | 15 |
$sel->click_ok("//input[(\@name=\"action\") and (\@value=\"L?schen\")]"); |
10 | 16 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
17 |
1; |
t/selenium/testscripts/administration/end/A999DeleteTestDatabase.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
|
2 | 7 |
$sel->open_ok($lxtest->{lxadmin}); |
3 | 8 |
|
... | ... | |
31 | 36 |
diag('Unlock the system'); |
32 | 37 |
$sel->click_ok("//input[(\@name=\"action\") and (\@value=\"System entsperren\")]"); |
33 | 38 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
34 |
$sel->title_is("Lx-Office ERP Administration -"); |
|
39 |
$sel->title_is("Lx-Office ERP Administration -"); |
|
40 |
1; |
t/selenium/testscripts/base/000Login.t | ||
---|---|---|
1 | 1 |
### Login |
2 | 2 |
|
3 |
if(!defined $sel) { |
|
4 |
require "t/selenium/AllTests.t"; |
|
5 |
init_server("singlefileonly",$0); |
|
6 |
exit(0); |
|
7 |
} |
|
8 |
|
|
3 | 9 |
diag("Login"); |
4 | 10 |
|
5 | 11 |
$sel->open_ok($lxtest->{lxbaseurl}."/login.pl"); |
... | ... | |
24 | 30 |
$sel->click_ok("//input[(\@type=\"submit\") and (\@value=\"Weiter\")]"); |
25 | 31 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
26 | 32 |
} |
33 |
|
|
34 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
27 | 35 |
|
28 |
|
|
29 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
36 |
1; |
t/selenium/testscripts/base/999Logout.t | ||
---|---|---|
1 | 1 |
### Logout |
2 | 2 |
|
3 |
diag("Logout"); |
|
3 |
if(!defined $sel) { |
|
4 |
require "t/selenium/AllTests.t"; |
|
5 |
init_server("singlefileonly", "t/selenium/testscripts/base/000Login.t", $0); |
|
6 |
exit(0); |
|
7 |
} |
|
4 | 8 |
|
9 |
diag("Logout"); |
|
5 | 10 |
$sel->select_frame_ok("relative=top"); |
6 | 11 |
$sel->click_ok("link=abmelden"); |
7 | 12 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
8 |
$sel->title_is("Lx-Office Version ".$lxtest->{version}); |
|
13 |
$sel->title_is("Lx-Office Version ".$lxtest->{version}); |
|
14 |
1; |
t/selenium/testscripts/masterdata/begin/M001CreateCustomer.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Create first Customer"); |
2 | 7 |
|
3 | 8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
... | ... | |
19 | 24 |
$sel->type_ok("zipcode", "37115"); |
20 | 25 |
$sel->type_ok("city", "Musterstadt"); |
21 | 26 |
$sel->type_ok("country", "Germany"); |
22 |
$sel->type_ok("creditlimit", "100"); |
|
27 |
$sel->type_ok("creditlimit", "10000000");
|
|
23 | 28 |
$sel->type_ok("discount", "5"); |
24 | 29 |
$sel->type_ok("account_number", "1"); |
25 | 30 |
$sel->select_ok("salesman_id", "label=Selenium"); |
... | ... | |
71 | 76 |
$sel->select_frame_ok("main_window"); |
72 | 77 |
$sel->click_ok("link=Rechnungsadresse"); |
73 | 78 |
$sel->click_ok("customernumber"); |
79 |
$sel->type_ok("creditlimit", "10000000"); |
|
74 | 80 |
$sel->type_ok("customernumber", "2"); |
75 | 81 |
$sel->click_ok("greeting"); |
76 | 82 |
$sel->type_ok("greeting", "Herr"); |
... | ... | |
92 | 98 |
$sel->select_frame_ok("main_window"); |
93 | 99 |
$sel->click_ok("customernumber"); |
94 | 100 |
$sel->type_ok("customernumber", "3"); |
101 |
$sel->type_ok("creditlimit", "10000000"); |
|
95 | 102 |
$sel->click_ok("greeting"); |
96 | 103 |
$sel->type_ok("greeting", "Frau"); |
97 | 104 |
$sel->type_ok("name", "TestFrau3"); |
... | ... | |
104 | 111 |
$sel->type_ok("country", "Austria"); |
105 | 112 |
$sel->click_ok("document.ct.action[1]"); |
106 | 113 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
114 |
1; |
t/selenium/testscripts/masterdata/begin/M002CreateVendor.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Create vendor"); |
2 | 7 |
|
3 | 8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
... | ... | |
118 | 123 |
$sel->click_ok("link=Lieferungen"); |
119 | 124 |
$sel->click_ok("document.ct.action[1]"); |
120 | 125 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
121 |
|
|
126 |
1; |
t/selenium/testscripts/masterdata/begin/M003CreateGoods.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Create goods"); |
2 | 7 |
|
3 | 8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
... | ... | |
62 | 67 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
63 | 68 |
$sel->click_ok("document.ic.action[1]"); |
64 | 69 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
70 |
1; |
t/selenium/testscripts/masterdata/begin/M004AddService.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add service"); |
2 | 7 |
|
3 | 8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
... | ... | |
38 | 43 |
$sel->type_ok("price_2", "0,1"); |
39 | 44 |
$sel->type_ok("price_1", "0,1"); |
40 | 45 |
$sel->click_ok("document.ic.action[1]"); |
41 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
46 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
47 |
1; |
t/selenium/testscripts/masterdata/begin/M005AddProduct.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add product"); |
2 | 7 |
|
3 | 8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
... | ... | |
29 | 34 |
$sel->click_ok("action"); |
30 | 35 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
31 | 36 |
$sel->click_ok("document.ic.action[1]"); |
32 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
37 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
38 |
1; |
t/selenium/testscripts/masterdata/begin/M006AddProject.t | ||
---|---|---|
1 |
diag("Add product"); |
|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
|
|
7 |
diag("Add project"); |
|
2 | 8 |
|
3 | 9 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
4 | 10 |
require_ok("../../begin/B004Login.t"); |
... | ... | |
12 | 18 |
$sel->type_ok("projectnumber", "1001"); |
13 | 19 |
$sel->type_ok("description", "tausend und eine Nacht"); |
14 | 20 |
$sel->click_ok("action"); |
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
21 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
22 |
1; |
t/selenium/testscripts/masterdata/end/M995DeleteGoods.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Delete good"); |
|
7 |
|
|
8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
|
9 |
require_ok("M000Login.t"); |
|
10 |
} |
|
11 |
|
|
12 |
$sel->select_frame_ok("relative=up"); |
|
13 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
14 |
$sel->click_ok("link=Erzeugnisse"); |
|
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
16 |
$sel->select_frame_ok("main_window"); |
|
17 |
|
|
18 |
# an dieser Stelle muss noch ?berleegt werdne, wie der Zusaamenhang zwischen Lagerbestand und "L?schen" vern?nftigt gehandhabt werdne kann |
|
19 |
|
|
20 |
1; |
t/selenium/testscripts/masterdata/end/M996DeleteProject.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Delete project"); |
|
7 |
|
|
8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
|
9 |
require_ok("M000Login.t"); |
|
10 |
} |
|
11 |
|
|
12 |
$sel->select_frame_ok("relative=up"); |
|
13 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
14 |
$sel->click_ok("link=Projekte"); |
|
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
16 |
$sel->select_frame_ok("main_window"); |
|
17 |
$sel->click_ok("action"); |
|
18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
19 |
$sel->text_is("link=1001", "1001"); |
|
20 |
$sel->click_ok("link=1001"); |
|
21 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
22 |
TODO: { |
|
23 |
local $TODO= "Benutzte Projekte k?nnen nicht gel?scht werden!"; |
|
24 |
$sel->click_ok("document.forms[0].action[1]"); |
|
25 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
26 |
} |
|
27 |
|
|
28 |
1; |
t/selenium/testscripts/masterdata/end/M997DeleteService.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Delete service"); |
|
7 |
|
|
8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
|
9 |
require_ok("M000Login.t"); |
|
10 |
} |
|
11 |
|
|
12 |
$sel->select_frame_ok("relative=up"); |
|
13 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
14 |
$sel->click_ok("link=Dienstleistungen"); |
|
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
16 |
$sel->select_frame_ok("main_window"); |
|
17 |
$sel->click_ok("action"); |
|
18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
19 |
$sel->text_is("link=999", "999"); |
|
20 |
$sel->text_is("link=998", "998"); |
|
21 |
$sel->text_is("link=Programmierstunde", "Programmierstunde"); |
|
22 |
$sel->text_is("link=Telefonstunde", "Telefonstunde"); |
|
23 |
$sel->click_ok("link=999"); |
|
24 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
25 |
$sel->click_ok("document.ic.action[3]"); |
|
26 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
27 |
$sel->click_ok("link=Telefonstunde"); |
|
28 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
29 |
$sel->click_ok("document.ic.action[3]"); |
|
30 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
31 |
1; |
t/selenium/testscripts/masterdata/end/M998DeleteProduct.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Delete product"); |
|
7 |
|
|
8 |
if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ |
|
9 |
require_ok("M000Login.t"); |
|
10 |
} |
|
11 |
|
|
12 |
$sel->select_frame_ok("relative=up"); |
|
13 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
14 |
$sel->click_ok("link=Waren"); |
|
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
16 |
$sel->select_frame_ok("main_window"); |
|
17 |
$sel->click_ok("action"); |
|
18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
19 |
$sel->text_is("link=TestWare1", "TestWare1"); |
|
20 |
$sel->text_is("link=TestWareSelenium2", "TestWareSelenium2"); |
|
21 |
$sel->text_is("link=1", "1"); |
|
22 |
$sel->text_is("link=2", "2"); |
|
23 |
TODO: { |
|
24 |
local $TODO = "Waren in Rechnungen k?nnen nicht gel?scht werden!"; |
|
25 |
$sel->click_ok("link=1"); |
|
26 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
27 |
$sel->click_ok("document.ic.action[3]"); |
|
28 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
29 |
$sel->click_ok("link=TestWareSelenium2"); |
|
30 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
31 |
$sel->click_ok("document.ic.action[3]"); |
|
32 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
33 |
} |
|
34 |
1; |
t/selenium/testscripts/purchase/begin/P001CreateQuoteRequest.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Create quote request"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->click_ok("link=Neue Preisanfrage"); |
|
10 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
11 |
$sel->select_frame_ok("main_window"); |
|
12 |
$sel->click_ok("partnumber_1"); |
|
13 |
$sel->type_ok("partnumber_1", "1"); |
|
14 |
$sel->click_ok("update_button"); |
|
15 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
16 |
$sel->click_ok("action"); |
|
17 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
18 |
$sel->click_ok("quonumber"); |
|
19 |
$sel->type_ok("quonumber", "1"); |
|
20 |
$sel->click_ok("cp_id"); |
|
21 |
$sel->select_ok("cp_id", "label=Baumann von Clausen (Vertrieb)"); |
|
22 |
$sel->click_ok("//option[\@value='905']"); |
|
23 |
$sel->click_ok("shipto_id"); |
|
24 |
$sel->click_ok("shipto_id"); |
|
25 |
$sel->click_ok("taxzone_id"); |
|
26 |
$sel->click_ok("taxzone_id"); |
|
27 |
$sel->click_ok("cb_show_details"); |
|
28 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
29 |
$sel->click_ok("payment_id"); |
|
30 |
$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); |
|
31 |
$sel->click_ok("//option[\@value='886']"); |
|
32 |
$sel->click_ok("//tr[5]/td/table/tbody/tr/td[3]"); |
|
33 |
$sel->click_ok("taxincluded"); |
|
34 |
$sel->click_ok("qty_1"); |
|
35 |
$sel->type_ok("qty_1", "21"); |
|
36 |
$sel->click_ok("update_button"); |
|
37 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
38 |
$sel->click_ok("document.oe.action[6]"); |
|
39 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
40 |
1; |
t/selenium/testscripts/selling/begin/S001CreateOffers.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Create offers"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->click_ok("link=Angebot erfassen"); |
|
10 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
11 |
$sel->select_frame_ok("main_window"); |
|
12 |
$sel->select_ok("cp_id", "label=Grosshaupt (Verkauf)"); |
|
13 |
$sel->select_ok("customer", "label=TestFrau3"); |
|
14 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
15 |
$sel->select_ok("customer", "label=Selenium-Testfirma1"); |
|
16 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
17 |
$sel->select_ok("cp_id", "label=Grosshaupt (Verkauf)"); |
|
18 |
$sel->type_ok("shipvia", "per pedes"); |
|
19 |
$sel->type_ok("transaction_description", "alpha"); |
|
20 |
$sel->type_ok("quonumber", "1"); |
|
21 |
$sel->select_ok("globalproject_id", "label=1001"); |
|
22 |
$sel->click_ok("cb_show_details"); |
|
23 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
24 |
$sel->type_ok("partnumber_1", "1"); |
|
25 |
TODO: { |
|
26 |
local $TODO = "Popups werden von Selenium noch nicht unterst?tzt!"; |
|
27 |
$sel->click_ok("//button[\@type='button']"); |
|
28 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
29 |
} |
|
30 |
$sel->click_ok("update_button"); |
|
31 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
32 |
$sel->click_ok("action"); |
|
33 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
34 |
$sel->click_ok("update_button"); |
|
35 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
36 |
$sel->click_ok("document.oe.action[5]"); |
|
37 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
38 |
$sel->click_ok("document.oe.action[6]"); |
|
39 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
40 |
$sel->select_ok("customer", "label=TestFrau3"); |
|
41 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
42 |
$sel->type_ok("partnumber_1", "991"); |
|
43 |
$sel->click_ok("update_button"); |
|
44 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
45 |
$sel->type_ok("qty_1", "5"); |
|
46 |
$sel->select_ok("sellprice_pg_1", "label=SeleniumTestPreisgruppe1"); |
|
47 |
$sel->click_ok("update_button"); |
|
48 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
49 |
$sel->click_ok("taxincluded"); |
|
50 |
$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); |
|
51 |
$sel->click_ok("update_button"); |
|
52 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
53 |
$sel->click_ok("document.oe.action[6]"); |
|
54 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
55 |
$sel->select_ok("customer", "label=TestMann2"); |
|
56 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
57 |
$sel->type_ok("partnumber_1", "1"); |
|
58 |
$sel->click_ok("update_button"); |
|
59 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
60 |
$sel->click_ok("action"); |
|
61 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
62 |
$sel->select_ok("sellprice_pg_1", "label=SeleniumTestPreisgruppe1"); |
|
63 |
$sel->type_ok("qty_1", "19"); |
|
64 |
$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); |
|
65 |
$sel->click_ok("update_button"); |
|
66 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
67 |
$sel->click_ok("document.oe.action[6]"); |
|
68 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
69 |
1; |
t/selenium/testscripts/selling/begin/S002CreateCharge.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Create charge"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->click_ok("link=Auftrag erfassen"); |
|
10 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
11 |
$sel->select_frame_ok("main_window"); |
|
12 |
$sel->select_ok("cp_id", "label=Grosshaupt (Verkauf)"); |
|
13 |
$sel->type_ok("shippingpoint", "Braunschweig"); |
|
14 |
$sel->type_ok("shipvia", "LKW"); |
|
15 |
$sel->type_ok("transaction_description", "beta"); |
|
16 |
$sel->click_ok("delivered"); |
|
17 |
$sel->type_ok("ordnumber", "1"); |
|
18 |
$sel->type_ok("quonumber", "1"); |
|
19 |
$sel->type_ok("cusordnumber", "97862"); |
|
20 |
$sel->select_ok("globalproject_id", "label=1001"); |
|
21 |
$sel->type_ok("partnumber_1", "1"); |
|
22 |
$sel->click_ok("update_button"); |
|
23 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
24 |
$sel->click_ok("action"); |
|
25 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
26 |
$sel->type_ok("ship_1", "20"); |
|
27 |
$sel->type_ok("qty_1", "20"); |
|
28 |
$sel->select_ok("sellprice_pg_1", "label=SeleniumTestPreisgruppe1"); |
|
29 |
$sel->click_ok("update_button"); |
|
30 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
31 |
$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); |
|
32 |
$sel->click_ok("update_button"); |
|
33 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
34 |
$sel->click_ok("document.oe.action[6]"); |
|
35 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
36 |
$sel->select_ok("customer", "label=TestFrau3"); |
|
37 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
38 |
$sel->type_ok("shippingpoint", "G?ttingen"); |
|
39 |
$sel->type_ok("shipvia", "PKW"); |
|
40 |
$sel->type_ok("transaction_description", "teta"); |
|
41 |
$sel->type_ok("ordnumber", "2"); |
|
42 |
$sel->type_ok("quonumber", "2"); |
|
43 |
$sel->type_ok("cusordnumber", "23453666"); |
|
44 |
$sel->type_ok("partnumber_1", "911"); |
|
45 |
$sel->type_ok("ship_1", "5"); |
|
46 |
$sel->type_ok("qty_1", "5"); |
|
47 |
$sel->click_ok("update_button"); |
|
48 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
49 |
$sel->click_ok("action"); |
|
50 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
51 |
$sel->type_ok("description", "Handykarten D2"); |
|
52 |
$sel->select_ok("partsgroup", "label=TestSeleniumWarengruppe3"); |
|
53 |
$sel->type_ok("listprice", "10,00"); |
|
54 |
$sel->type_ok("sellprice", "20,00"); |
|
55 |
$sel->type_ok("lastcost", "5,00"); |
|
56 |
$sel->select_ok("price_factor_id", "label=pro 10"); |
|
57 |
$sel->select_ok("unit", "label=Stck"); |
|
58 |
$sel->type_ok("bin", "911"); |
|
59 |
$sel->click_ok("not_discountable"); |
|
60 |
$sel->click_ok("shop"); |
|
61 |
$sel->click_ok("action"); |
|
62 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
63 |
$sel->click_ok("document.ic.action[1]"); |
|
64 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
65 |
$sel->click_ok("document.oe.action[6]"); |
|
66 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
67 |
$sel->select_ok("customer", "label=TestMann2"); |
|
68 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
69 |
$sel->type_ok("partnumber_1", "991"); |
|
70 |
$sel->type_ok("ship_1", "10"); |
|
71 |
$sel->type_ok("qty_1", "10"); |
|
72 |
$sel->click_ok("update_button"); |
|
73 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
74 |
$sel->select_ok("price_factor_id_1", "label=pro 10"); |
|
75 |
$sel->click_ok("update_button"); |
|
76 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
77 |
$sel->type_ok("sellprice_1", "1000"); |
|
78 |
$sel->click_ok("update_button"); |
|
79 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
80 |
$sel->click_ok("document.oe.action[6]"); |
|
81 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
t/selenium/testscripts/selling/begin/S003CreateInvoice.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Create invoice"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->click_ok("link=Rechnung erfassen"); |
|
10 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
11 |
$sel->select_frame_ok("main_window"); |
|
12 |
$sel->select_ok("customer", "label=TestFrau3"); |
|
13 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
14 |
$sel->type_ok("partnumber_1", "1"); |
|
15 |
$sel->click_ok("update_button"); |
|
16 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
17 |
$sel->click_ok("action"); |
|
18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
19 |
$sel->type_ok("partnumber_2", "991"); |
|
20 |
$sel->click_ok("update_button"); |
|
21 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
22 |
$sel->type_ok("invnumber", "1"); |
|
23 |
$sel->click_ok("trigger3"); |
|
24 |
$sel->click_ok("trigger_orddate"); |
|
25 |
$sel->type_ok("quonumber", "2"); |
|
26 |
$sel->click_ok("trigger_quodate"); |
|
27 |
$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); |
|
28 |
$sel->click_ok("update_button"); |
|
29 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
30 |
$sel->click_ok("document.invoice.action[6]"); |
|
31 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
t/selenium/testscripts/system/begin/S001CreateProductGroups.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Create product groups"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
30 | 35 |
$sel->click_ok("action"); |
31 | 36 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
32 | 37 |
$sel->click_ok("link=TestSeleniumWarengruppe3"); |
33 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
38 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
|
39 |
1; |
t/selenium/testscripts/system/begin/S002CreatePriceBrackets.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Create price brackets"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
11 | 16 |
$sel->type_ok("pricegroup", "SeleniumTestPreisgruppe2"); |
12 | 17 |
$sel->click_ok("action","value=Speichern"); |
13 | 18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
14 |
|
|
19 |
1; |
t/selenium/testscripts/system/begin/S003AddLanguage.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add languages"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
t/selenium/testscripts/system/begin/S004ShowLanguages.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Show languages"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
8 | 13 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
9 | 14 |
$sel->click_ok("action"); |
10 | 15 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
16 |
1; |
t/selenium/testscripts/system/begin/S005AddPaymentConditions.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add payment conditions"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
12 | 17 |
$sel->type_ok("terms_skonto", "97"); |
13 | 18 |
$sel->click_ok("action"); |
14 | 19 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
20 |
1; |
t/selenium/testscripts/system/begin/S006ShowPaymentConditions.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Show payment conditions"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
7 | 12 |
$sel->click_ok("link=Schnellzahler/Skonto"); |
8 | 13 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
9 | 14 |
$sel->click_ok("action"); |
10 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
|
15 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
|
16 |
1; |
t/selenium/testscripts/system/begin/S007AddCustomerVendorTypes.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add customer/vendor types"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
14 | 19 |
$sel->type_ok("customernumberinit", "200"); |
15 | 20 |
$sel->click_ok("action"); |
16 | 21 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
22 |
1; |
t/selenium/testscripts/system/begin/S008ShowCustomerVendorTypes.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Show customer/vendor types"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
13 | 18 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
14 | 19 |
$sel->click_ok("action"); |
15 | 20 |
$sel->wait_for_page_to_load_ok($lxtest->{timeout}); |
21 |
1; |
t/selenium/testscripts/system/begin/S009AddShowDeleteMeasure.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add show and delete measure"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
40 | 45 |
$sel->click_ok("delete_8"); |
41 | 46 |
$sel->click_ok("document.forms[0].action[1]"); |
42 | 47 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
43 |
|
|
48 |
1; |
t/selenium/testscripts/system/begin/S010AddShowDeleteServiceMeasure.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
1 | 6 |
diag("Add show and delete service measure"); |
2 | 7 |
|
3 | 8 |
$sel->select_frame_ok("relative=up"); |
... | ... | |
19 | 24 |
$sel->click_ok("delete_5"); |
20 | 25 |
$sel->click_ok("document.forms[0].action[1]"); |
21 | 26 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
27 |
1; |
t/selenium/testscripts/system/begin/S011CreateAccount.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Create Account"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
10 |
$sel->click_ok("link=Konto erfassen"); |
|
11 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
|
12 |
$sel->select_frame_ok("main_window"); |
|
13 |
$sel->type_ok("accno", "000000000001"); |
|
14 |
$sel->type_ok("description", "TestSeleniumKonto"); |
|
15 |
$sel->select_ok("AccountType", "label=Aktiva/Mittelverwendung (A)"); |
|
16 |
$sel->click_ok("AR"); |
|
17 |
$sel->click_ok("AP"); |
|
18 |
$sel->click_ok("IC"); |
|
19 |
$sel->click_ok("AR_amount"); |
|
20 |
$sel->click_ok("AR_paid"); |
|
21 |
$sel->click_ok("AR_tax"); |
|
22 |
$sel->click_ok("AP_amount"); |
|
23 |
$sel->click_ok("AP_paid"); |
|
24 |
$sel->click_ok("AP_tax"); |
|
25 |
$sel->click_ok("IC_sale"); |
|
26 |
$sel->click_ok("IC_cogs"); |
|
27 |
$sel->click_ok("IC_taxpart"); |
|
28 |
$sel->click_ok("IC_income"); |
|
29 |
$sel->click_ok("IC_expense"); |
|
30 |
$sel->click_ok("IC_taxservice"); |
|
31 |
$sel->select_ok("pos_eur", "label=05. Ausserordentliche Ertr?ge"); |
|
32 |
$sel->select_ok("pos_bwa", "label=05. So.betr.Erl?se"); |
|
33 |
$sel->select_ok("pos_bilanz", "label=02."); |
|
34 |
$sel->click_ok("datevautomatik"); |
|
35 |
$sel->click_ok("action"); |
|
36 |
$sel->wait_for_page_to_load_ok("30000"); |
|
37 |
$sel->is_element_present_ok("link=000000000001"); |
|
38 |
$sel->is_text_present_ok("TestSeleniumKonto"); |
|
39 |
1; |
t/selenium/testscripts/system/begin/S012ShowAccount.t | ||
---|---|---|
1 |
if(!defined $sel) { |
|
2 |
require "t/selenium/AllTests.t"; |
|
3 |
init_server("singlefileonly",$0); |
|
4 |
exit(0); |
|
5 |
} |
|
6 |
diag("Show Accounts"); |
|
7 |
|
|
8 |
$sel->select_frame_ok("relative=up"); |
|
9 |
$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
10 |
$sel->click_ok("link=Konten anzeigen"); |
|
11 |
$sel->wait_for_page_to_load($lxtest->{timeout}); |
|
12 |
$sel->select_frame_ok("main_window"); |
|
13 |
$sel->title_is("Konten?bersicht - Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); |
|
14 |
$sel->is_element_present_ok("link=000000000001"); |
|
15 |
$sel->is_element_present_ok("link=0027"); |
|
16 |
$sel->is_element_present_ok("link=0090"); |
|
17 |
$sel->is_element_present_ok("link=0200"); |
|
18 |
$sel->is_element_present_ok("link=0210"); |
|
19 |
$sel->is_element_present_ok("link=0380"); |
|
20 |
$sel->is_element_present_ok("link=0400"); |
|
21 |
$sel->is_element_present_ok("link=0410"); |
|
22 |
$sel->is_element_present_ok("link=0420"); |
|
23 |
$sel->is_element_present_ok("link=0430"); |
|
24 |
$sel->is_element_present_ok("link=0440"); |
|
25 |
$sel->is_element_present_ok("link=0480"); |
|
26 |
$sel->is_element_present_ok("link=0631"); |
|
27 |
$sel->is_element_present_ok("link=0640"); |
|
28 |
$sel->is_element_present_ok("link=0650"); |
|
29 |
$sel->is_element_present_ok("link=0853"); |
|
30 |
$sel->is_element_present_ok("link=1000"); |
|
31 |
$sel->is_element_present_ok("link=1200"); |
|
32 |
$sel->is_element_present_ok("link=1360"); |
|
33 |
$sel->is_element_present_ok("link=1400"); |
|
34 |
$sel->is_element_present_ok("link=1445"); |
|
35 |
$sel->is_element_present_ok("link=1446"); |
|
36 |
$sel->is_element_present_ok("link=1447"); |
|
37 |
$sel->is_element_present_ok("link=1448"); |
|
38 |
$sel->is_element_present_ok("link=1449"); |
|
39 |
$sel->is_element_present_ok("link=1450"); |
|
40 |
$sel->is_element_present_ok("link=1570"); |
|
41 |
$sel->is_element_present_ok("link=1571"); |
|
42 |
$sel->is_element_present_ok("link=1572"); |
|
43 |
$sel->is_element_present_ok("link=1573"); |
|
44 |
$sel->is_element_present_ok("link=1574"); |
|
45 |
$sel->is_element_present_ok("link=1575"); |
|
46 |
$sel->is_element_present_ok("link=1576"); |
|
47 |
$sel->is_element_present_ok("link=1577"); |
|
48 |
$sel->is_element_present_ok("link=1578"); |
|
49 |
$sel->is_element_present_ok("link=1580"); |
|
50 |
$sel->is_element_present_ok("link=1581"); |
|
51 |
$sel->is_element_present_ok("link=1582"); |
|
52 |
$sel->is_element_present_ok("link=1584"); |
|
53 |
$sel->is_element_present_ok("link=1588"); |
|
54 |
$sel->is_element_present_ok("link=1590"); |
|
55 |
$sel->is_element_present_ok("link=1592"); |
|
56 |
$sel->is_element_present_ok("link=1600"); |
|
57 |
$sel->is_element_present_ok("link=1605"); |
|
58 |
$sel->is_element_present_ok("link=1606"); |
|
59 |
$sel->is_element_present_ok("link=1607"); |
|
60 |
$sel->is_element_present_ok("link=1609"); |
|
61 |
$sel->is_element_present_ok("link=1767"); |
|
62 |
$sel->is_element_present_ok("link=1771"); |
|
63 |
$sel->is_element_present_ok("link=1772"); |
|
64 |
$sel->is_element_present_ok("link=1773"); |
|
65 |
$sel->is_element_present_ok("link=1774"); |
|
66 |
$sel->is_element_present_ok("link=1775"); |
|
67 |
$sel->is_element_present_ok("link=1776"); |
|
68 |
$sel->is_element_present_ok("link=1780"); |
|
69 |
$sel->is_element_present_ok("link=1785"); |
|
70 |
$sel->is_element_present_ok("link=1790"); |
|
71 |
$sel->is_element_present_ok("link=1791"); |
|
72 |
$sel->is_element_present_ok("link=1800"); |
|
73 |
$sel->is_element_present_ok("link=1810"); |
|
74 |
$sel->is_element_present_ok("link=1820"); |
|
75 |
$sel->is_element_present_ok("link=1830"); |
|
76 |
$sel->is_element_present_ok("link=1840"); |
|
77 |
$sel->is_element_present_ok("link=1890"); |
|
78 |
$sel->is_element_present_ok("link=2000"); |
|
79 |
$sel->is_element_present_ok("link=2010"); |
|
80 |
$sel->is_element_present_ok("link=2020"); |
|
81 |
$sel->is_element_present_ok("link=2100"); |
|
82 |
$sel->is_element_present_ok("link=2107"); |
|
83 |
$sel->is_element_present_ok("link=2110"); |
|
84 |
$sel->is_element_present_ok("link=2120"); |
|
85 |
$sel->is_element_present_ok("link=2125"); |
|
86 |
$sel->is_element_present_ok("link=2130"); |
|
87 |
$sel->is_element_present_ok("link=2140"); |
|
88 |
$sel->is_element_present_ok("link=2150"); |
|
89 |
$sel->is_element_present_ok("link=2170"); |
|
90 |
$sel->is_element_present_ok("link=2171"); |
|
91 |
$sel->is_element_present_ok("link=2175"); |
|
92 |
$sel->is_element_present_ok("link=2200"); |
|
93 |
$sel->is_element_present_ok("link=2208"); |
|
94 |
$sel->is_element_present_ok("link=2209"); |
|
95 |
$sel->is_element_present_ok("link=2212"); |
|
96 |
$sel->is_element_present_ok("link=2214"); |
|
97 |
$sel->is_element_present_ok("link=2215"); |
|
98 |
$sel->is_element_present_ok("link=2218"); |
|
99 |
$sel->is_element_present_ok("link=2280"); |
|
100 |
$sel->is_element_present_ok("link=2282"); |
|
101 |
$sel->is_element_present_ok("link=2284"); |
|
102 |
$sel->is_element_present_ok("link=2285"); |
|
103 |
$sel->is_element_present_ok("link=2287"); |
|
104 |
$sel->is_element_present_ok("link=2289"); |
|
105 |
$sel->is_element_present_ok("link=2310"); |
|
106 |
$sel->is_element_present_ok("link=2315"); |
|
107 |
$sel->is_element_present_ok("link=2320"); |
|
108 |
$sel->is_element_present_ok("link=2341"); |
|
109 |
$sel->is_element_present_ok("link=2342"); |
|
110 |
$sel->is_element_present_ok("link=2350"); |
|
111 |
$sel->is_element_present_ok("link=2351"); |
|
112 |
$sel->is_element_present_ok("link=2375"); |
|
113 |
$sel->is_element_present_ok("link=2376"); |
|
114 |
$sel->is_element_present_ok("link=2380"); |
|
115 |
$sel->is_element_present_ok("link=2400"); |
|
116 |
$sel->is_element_present_ok("link=2401"); |
|
117 |
$sel->is_element_present_ok("link=2405"); |
|
118 |
$sel->is_element_present_ok("link=2450"); |
|
119 |
$sel->is_element_present_ok("link=2500"); |
|
120 |
$sel->is_element_present_ok("link=2501"); |
|
121 |
$sel->is_element_present_ok("link=2505"); |
|
122 |
$sel->is_element_present_ok("link=2510"); |
|
123 |
$sel->is_element_present_ok("link=2520"); |
|
124 |
$sel->is_element_present_ok("link=2600"); |
|
125 |
$sel->is_element_present_ok("link=2650"); |
|
126 |
$sel->is_element_present_ok("link=2657"); |
|
127 |
$sel->is_element_present_ok("link=2660"); |
|
128 |
$sel->is_element_present_ok("link=2670"); |
|
129 |
$sel->is_element_present_ok("link=2680"); |
|
130 |
$sel->is_element_present_ok("link=2700"); |
|
131 |
$sel->is_element_present_ok("link=2710"); |
|
132 |
$sel->is_element_present_ok("link=2715"); |
|
133 |
$sel->is_element_present_ok("link=2720"); |
|
134 |
$sel->is_element_present_ok("link=2725"); |
|
135 |
$sel->is_element_present_ok("link=2730"); |
|
136 |
$sel->is_element_present_ok("link=2732"); |
|
137 |
$sel->is_element_present_ok("link=2733"); |
|
138 |
$sel->is_element_present_ok("link=2735"); |
|
139 |
$sel->is_element_present_ok("link=2739"); |
|
140 |
$sel->is_element_present_ok("link=2742"); |
|
141 |
$sel->is_element_present_ok("link=2743"); |
|
142 |
$sel->is_element_present_ok("link=2744"); |
|
143 |
$sel->is_element_present_ok("link=2746"); |
|
144 |
$sel->is_element_present_ok("link=2747"); |
|
145 |
$sel->is_element_present_ok("link=2750"); |
|
146 |
$sel->is_element_present_ok("link=2797"); |
|
147 |
$sel->is_element_present_ok("link=3000"); |
|
148 |
$sel->is_element_present_ok("link=3090"); |
|
149 |
$sel->is_element_present_ok("link=3100"); |
|
150 |
$sel->is_element_present_ok("link=3110"); |
|
151 |
$sel->is_element_present_ok("link=3120"); |
|
152 |
$sel->is_element_present_ok("link=3300"); |
|
153 |
$sel->is_element_present_ok("link=3400"); |
|
154 |
$sel->is_element_present_ok("link=3420"); |
|
155 |
$sel->is_element_present_ok("link=3425"); |
|
156 |
$sel->is_element_present_ok("link=3440"); |
|
157 |
$sel->is_element_present_ok("link=3550"); |
|
158 |
$sel->is_element_present_ok("link=3559"); |
|
159 |
$sel->is_element_present_ok("link=3580"); |
|
160 |
$sel->is_element_present_ok("link=3581"); |
|
161 |
$sel->is_element_present_ok("link=3582"); |
|
162 |
$sel->is_element_present_ok("link=3589"); |
|
163 |
$sel->is_element_present_ok("link=3600"); |
|
164 |
$sel->is_element_present_ok("link=3610"); |
|
165 |
$sel->is_element_present_ok("link=3650"); |
|
166 |
$sel->is_element_present_ok("link=3731"); |
|
167 |
$sel->is_element_present_ok("link=3735"); |
|
168 |
$sel->is_element_present_ok("link=3750"); |
|
169 |
$sel->is_element_present_ok("link=3760"); |
|
170 |
$sel->is_element_present_ok("link=3780"); |
|
171 |
$sel->is_element_present_ok("link=3790"); |
|
172 |
$sel->is_element_present_ok("link=3800"); |
|
173 |
$sel->is_element_present_ok("link=3830"); |
|
174 |
$sel->is_element_present_ok("link=3850"); |
|
175 |
$sel->is_element_present_ok("link=3960"); |
|
176 |
$sel->is_element_present_ok("link=3970"); |
|
177 |
$sel->is_element_present_ok("link=3980"); |
|
178 |
$sel->is_element_present_ok("link=3990"); |
|
179 |
$sel->is_element_present_ok("link=4000"); |
|
180 |
$sel->is_element_present_ok("link=4110"); |
|
181 |
$sel->is_element_present_ok("link=4120"); |
|
182 |
$sel->is_element_present_ok("link=4125"); |
|
183 |
$sel->is_element_present_ok("link=4126"); |
|
184 |
$sel->is_element_present_ok("link=4127"); |
|
185 |
$sel->is_element_present_ok("link=4130"); |
|
186 |
$sel->is_element_present_ok("link=4138"); |
|
187 |
$sel->is_element_present_ok("link=4139"); |
|
188 |
$sel->is_element_present_ok("link=4140"); |
|
189 |
$sel->is_element_present_ok("link=4145"); |
|
190 |
$sel->is_element_present_ok("link=4149"); |
|
191 |
$sel->is_element_present_ok("link=4150"); |
|
192 |
$sel->is_element_present_ok("link=4167"); |
|
193 |
$sel->is_element_present_ok("link=4170"); |
|
194 |
$sel->is_element_present_ok("link=4175"); |
|
195 |
$sel->is_element_present_ok("link=4180"); |
|
196 |
$sel->is_element_present_ok("link=4190"); |
|
197 |
$sel->is_element_present_ok("link=4199"); |
|
198 |
$sel->is_element_present_ok("link=4200"); |
|
199 |
$sel->is_element_present_ok("link=4210"); |
|
200 |
$sel->is_element_present_ok("link=4220"); |
|
201 |
$sel->is_element_present_ok("link=4230"); |
|
202 |
$sel->is_element_present_ok("link=4240"); |
|
203 |
$sel->is_element_present_ok("link=4250"); |
|
204 |
$sel->is_element_present_ok("link=4260"); |
|
205 |
$sel->is_element_present_ok("link=4261"); |
|
206 |
$sel->is_element_present_ok("link=4271"); |
|
207 |
$sel->is_element_present_ok("link=4280"); |
|
208 |
$sel->is_element_present_ok("link=4288"); |
|
209 |
$sel->is_element_present_ok("link=4289"); |
|
210 |
$sel->is_element_present_ok("link=4301"); |
|
211 |
$sel->is_element_present_ok("link=4305"); |
|
212 |
$sel->is_element_present_ok("link=4320"); |
|
213 |
$sel->is_element_present_ok("link=4340"); |
|
214 |
$sel->is_element_present_ok("link=4350"); |
|
215 |
$sel->is_element_present_ok("link=4355"); |
|
216 |
$sel->is_element_present_ok("link=4360"); |
|
217 |
$sel->is_element_present_ok("link=4361"); |
|
218 |
$sel->is_element_present_ok("link=4380"); |
|
219 |
$sel->is_element_present_ok("link=4390"); |
|
220 |
$sel->is_element_present_ok("link=4396"); |
|
221 |
$sel->is_element_present_ok("link=4397"); |
|
222 |
$sel->is_element_present_ok("link=4500"); |
|
223 |
$sel->is_element_present_ok("link=4505"); |
|
224 |
$sel->is_element_present_ok("link=4510"); |
|
225 |
$sel->is_element_present_ok("link=4515"); |
|
226 |
$sel->is_element_present_ok("link=4520"); |
|
227 |
$sel->is_element_present_ok("link=4525"); |
|
228 |
$sel->is_element_present_ok("link=4530"); |
|
229 |
$sel->is_element_present_ok("link=4535"); |
|
230 |
$sel->is_element_present_ok("link=4540"); |
|
231 |
$sel->is_element_present_ok("link=4545"); |
|
232 |
$sel->is_element_present_ok("link=4550"); |
|
233 |
$sel->is_element_present_ok("link=4560"); |
|
234 |
$sel->is_element_present_ok("link=4565"); |
|
235 |
$sel->is_element_present_ok("link=4570"); |
|
236 |
$sel->is_element_present_ok("link=4580"); |
|
237 |
$sel->is_element_present_ok("link=4595"); |
|
238 |
$sel->is_element_present_ok("link=4600"); |
|
239 |
$sel->is_element_present_ok("link=4610"); |
|
240 |
$sel->is_element_present_ok("link=4630"); |
|
241 |
$sel->is_element_present_ok("link=4635"); |
|
242 |
$sel->is_element_present_ok("link=4638"); |
|
243 |
$sel->is_element_present_ok("link=4640"); |
|
244 |
$sel->is_element_present_ok("link=4650"); |
|
245 |
$sel->is_element_present_ok("link=4651"); |
|
246 |
$sel->is_element_present_ok("link=4652"); |
|
247 |
$sel->is_element_present_ok("link=4653"); |
|
248 |
$sel->is_element_present_ok("link=4654"); |
|
249 |
$sel->is_element_present_ok("link=4655"); |
|
250 |
$sel->is_element_present_ok("link=4660"); |
|
251 |
$sel->is_element_present_ok("link=4663"); |
|
252 |
$sel->is_element_present_ok("link=4664"); |
|
253 |
$sel->is_element_present_ok("link=4666"); |
|
254 |
$sel->is_element_present_ok("link=4668"); |
|
255 |
$sel->is_element_present_ok("link=4670"); |
|
256 |
$sel->is_element_present_ok("link=4673"); |
|
257 |
$sel->is_element_present_ok("link=4674"); |
|
258 |
$sel->is_element_present_ok("link=4676"); |
|
259 |
$sel->is_element_present_ok("link=4678"); |
|
260 |
$sel->is_element_present_ok("link=4679"); |
|
261 |
$sel->is_element_present_ok("link=4680"); |
|
262 |
$sel->is_element_present_ok("link=4700"); |
|
263 |
$sel->is_element_present_ok("link=4710"); |
|
264 |
$sel->is_element_present_ok("link=4730"); |
|
265 |
$sel->is_element_present_ok("link=4750"); |
|
266 |
$sel->is_element_present_ok("link=4760"); |
|
267 |
$sel->is_element_present_ok("link=4780"); |
|
268 |
$sel->is_element_present_ok("link=4790"); |
|
269 |
$sel->is_element_present_ok("link=4800"); |
|
270 |
$sel->is_element_present_ok("link=4805"); |
|
271 |
$sel->is_element_present_ok("link=4806"); |
|
272 |
$sel->is_element_present_ok("link=4809"); |
|
273 |
$sel->is_element_present_ok("link=4810"); |
|
274 |
$sel->is_element_present_ok("link=4815"); |
|
275 |
$sel->is_element_present_ok("link=4822"); |
|
276 |
$sel->is_element_present_ok("link=4824"); |
|
277 |
$sel->is_element_present_ok("link=4826"); |
|
278 |
$sel->is_element_present_ok("link=4830"); |
|
279 |
$sel->is_element_present_ok("link=4831"); |
|
280 |
$sel->is_element_present_ok("link=4832"); |
|
281 |
$sel->is_element_present_ok("link=4840"); |
|
282 |
$sel->is_element_present_ok("link=4841"); |
|
283 |
$sel->is_element_present_ok("link=4842"); |
|
284 |
$sel->is_element_present_ok("link=4843"); |
|
285 |
$sel->is_element_present_ok("link=4850"); |
|
286 |
$sel->is_element_present_ok("link=4851"); |
|
287 |
$sel->is_element_present_ok("link=4852"); |
|
288 |
$sel->is_element_present_ok("link=4855"); |
|
289 |
$sel->is_element_present_ok("link=4860"); |
|
290 |
$sel->is_element_present_ok("link=4870"); |
|
291 |
$sel->is_element_present_ok("link=4875"); |
|
292 |
$sel->is_element_present_ok("link=4880"); |
|
293 |
$sel->is_element_present_ok("link=4900"); |
|
294 |
$sel->is_element_present_ok("link=4905"); |
|
295 |
$sel->is_element_present_ok("link=4909"); |
|
296 |
$sel->is_element_present_ok("link=4910"); |
|
297 |
$sel->is_element_present_ok("link=4920"); |
|
298 |
$sel->is_element_present_ok("link=4925"); |
|
299 |
$sel->is_element_present_ok("link=4930"); |
|
300 |
$sel->is_element_present_ok("link=4940"); |
|
301 |
$sel->is_element_present_ok("link=4945"); |
|
302 |
$sel->is_element_present_ok("link=4946"); |
|
303 |
$sel->is_element_present_ok("link=4950"); |
|
304 |
$sel->is_element_present_ok("link=4955"); |
|
305 |
$sel->is_element_present_ok("link=4957"); |
|
306 |
$sel->is_element_present_ok("link=4960"); |
|
307 |
$sel->is_element_present_ok("link=4965"); |
|
308 |
$sel->is_element_present_ok("link=4966"); |
|
309 |
$sel->is_element_present_ok("link=4969"); |
|
310 |
$sel->is_element_present_ok("link=4970"); |
|
311 |
$sel->is_element_present_ok("link=4980"); |
|
312 |
$sel->is_element_present_ok("link=4985"); |
|
313 |
$sel->is_element_present_ok("link=4990"); |
|
314 |
$sel->is_element_present_ok("link=4992"); |
|
315 |
$sel->is_element_present_ok("link=4993"); |
|
316 |
$sel->is_element_present_ok("link=4994"); |
|
317 |
$sel->is_element_present_ok("link=4995"); |
|
318 |
$sel->is_element_present_ok("link=8100"); |
|
319 |
$sel->is_element_present_ok("link=8110"); |
|
320 |
$sel->is_element_present_ok("link=8120"); |
|
321 |
$sel->is_element_present_ok("link=8125"); |
|
322 |
$sel->is_element_present_ok("link=8130"); |
|
323 |
$sel->is_element_present_ok("link=8135"); |
|
324 |
$sel->is_element_present_ok("link=8150"); |
|
325 |
$sel->is_element_present_ok("link=8190"); |
|
326 |
$sel->is_element_present_ok("link=8195"); |
|
327 |
$sel->is_element_present_ok("link=8200"); |
|
328 |
$sel->is_element_present_ok("link=8300"); |
|
329 |
$sel->is_element_present_ok("link=8310"); |
|
330 |
$sel->is_element_present_ok("link=8315"); |
|
331 |
$sel->is_element_present_ok("link=8320"); |
|
332 |
$sel->is_element_present_ok("link=8400"); |
|
333 |
$sel->is_element_present_ok("link=8500"); |
|
334 |
$sel->is_element_present_ok("link=8506"); |
|
335 |
$sel->is_element_present_ok("link=8508"); |
|
336 |
$sel->is_element_present_ok("link=8520"); |
|
337 |
$sel->is_element_present_ok("link=8540"); |
|
338 |
$sel->is_element_present_ok("link=8580"); |
|
339 |
$sel->is_element_present_ok("link=8581"); |
|
340 |
$sel->is_element_present_ok("link=8582"); |
|
341 |
$sel->is_element_present_ok("link=8589"); |
|
342 |
$sel->is_element_present_ok("link=8590"); |
|
343 |
$sel->is_element_present_ok("link=8591"); |
|
344 |
$sel->is_element_present_ok("link=8595"); |
|
345 |
$sel->is_element_present_ok("link=8600"); |
|
346 |
$sel->is_element_present_ok("link=8650"); |
|
347 |
$sel->is_element_present_ok("link=8700"); |
|
348 |
$sel->is_element_present_ok("link=8710"); |
|
349 |
$sel->is_element_present_ok("link=8720"); |
|
350 |
$sel->is_element_present_ok("link=8725"); |
|
351 |
$sel->is_element_present_ok("link=8726"); |
|
352 |
$sel->is_element_present_ok("link=8727"); |
|
353 |
$sel->is_element_present_ok("link=8731"); |
|
354 |
$sel->is_element_present_ok("link=8735"); |
|
355 |
$sel->is_element_present_ok("link=8750"); |
|
356 |
$sel->is_element_present_ok("link=8760"); |
|
357 |
$sel->is_element_present_ok("link=8780"); |
Auch abrufbar als: Unified diff
Angepasst an Einzelfalltests und einfügen von TODO Blocks, damit bei der nächsten Selenium Version dann komplett getestet werden kann.