· 9 years ago · Dec 28, 2016, 10:20 PM
1#PIDDIR="."
2
3# If uncommented, causes the Wrapper to be shutdown using an anchor file.
4# When launched with the 'start' command, it will also ignore all INT and
5# TERM signals.
6#IGNORE_SIGNALS=true
7
8# The following two lines are used by the chkconfig command. Change as is
9# appropriate for your application. They should remain commented.
10# chkconfig: 2345 20 80
11# description: Test Wrapper Sample Application
12
13# Do not modify anything beyond this point
14#-----------------------------------------------------------------------------
15
16# Get the fully qualified path to the script
17case $0 in
18 /*)
19 SCRIPT="$0"
20 ;;
21 *)
22 PWD=`pwd`
23 SCRIPT="$PWD/$0"
24 ;;
25esac
26
27# Resolve the true real path without any sym links.
28/RUN_AS
29 exit 1
30 fi
31 fi
32
33 # Check the configured user. If necessary rerun this script as the desired user.
34 if [ "X$RUN_AS_USER" != "X" ]
35 then
36 if [ "`$IDEXE -u -n`" != "$RUN_AS_USER" ]
37 then
38 # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
39 # able to create the lock file. The Wrapper will be able to update this file once it
40 # is created but will not be able to delete it on shutdown. If $2 is defined then
41 # the lock file should be created for the current command
42 if [ "X$LOCKPROP" != "X" ]
43 then
44 if [ "X$1" != "X" ]
45 then
46 # Resolve the primary group
47 RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
48 if [ "X$RUN_AS_GROUP" = "X" ]
49 then
50 RUN_AS_GROUP=$RUN_AS_USER
51 fi
52 touch $LOCKFILE
53 chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
54 fi
55 fi
56
57 # Still want to change users, recurse. This means that the user will only be
58 # prompted for a password once. Variables shifted by 1
59 su - $RUN_AS_USER -c "\"$REALPATH\" $2"
60
61 # Now that we are the original user again, we may need to clean up the lock file.
62 if [ "X$LOCKPROP" != "X" ]
63 then
64 getpid
65 if [ "X$pid" = "X" ]
66 then
67 # Wrapper is not running so make sure the lock file is deleted.
68 if [ -f "$LOCKFILE" ]
69 then
70 rm "$LOCKFILE"
71 fi
72 fi
73 fi
74
75 exit 0
76 fi
77 fi
78
79 # Check that script is not run as root
80 LUID=`$IDEXE -u`
81 if [ $LUID -eq 0 ]
82 then
83 echo "****************************************"
84 echo "WARNING - NOT RECOMMENDED TO RUN AS ROOT"
85 echo "****************************************"
86 if [ ! "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
87 then
88 echo "If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script."
89search hit BOTTOM, continuing at TOP
90#! /bin/sh
91
92#
93# Copyright (c) 1999, 2006 Tanuki Software Inc.
94#
95# Java Service Wrapper sh script. Suitable for starting and stopping
96# wrapped Java applications on UNIX platforms.
97#
98
99#-----------------------------------------------------------------------------
100# These settings can be modified to fit the needs of your application
101
102# Set this to the root of the Nexus installation
103NEXUS_HOME=".."
104
105# If specified, the Wrapper will be run as the specified user.
106
107# IMPORTANT - Make sure that the user has the required privileges to write into the Nexus installation directory.
108
109# NOTE - This will set the user which is used to run the Wrapper as well as
110# the JVM and is not useful in situations where a privileged resource or
111# port needs to be allocated prior to the user being changed.
112#RUN_AS_USER=
113
114# Application
115APP_NAME="nexus"
116APP_LONG_NAME="Nexus Repository Manager"
117
118# Priority at which to run the wrapper. See "man nice" for valid priorities.
119# nice is only used if a priority is specified.
120PRIORITY=
121
122# Location of the pid file.
123#PIDDIR="."
124
125# If uncommented, causes the Wrapper to be shutdown using an anchor file.
126# When launched with the 'start' command, it will also ignore all INT and
127# TERM signals.
128#IGNORE_SIGNALS=true
129
130# The following two lines are used by the chkconfig command. Change as is
131# appropriate for your application. They should remain commented.
132# chkconfig: 2345 20 80
133# description: Test Wrapper Sample Application
134
135# Do not modify anything beyond this point
136#-----------------------------------------------------------------------------
137
138# Get the fully qualified path to the script
139case $0 in
140 /*)
141 SCRIPT="$0"
142 ;;
143 *)
144 PWD=`pwd`
145 SCRIPT="$PWD/$0"
146 ;;
147esac
148
149# Resolve the true real path without any sym links.
150/RUN_AS
151 exit 1
152 fi
153 fi
154
155 # Check the configured user. If necessary rerun this script as the desired user.
156 if [ "X$RUN_AS_USER" != "X" ]
157 then
158 if [ "`$IDEXE -u -n`" != "$RUN_AS_USER" ]
159 then
160 # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
161 # able to create the lock file. The Wrapper will be able to update this file once it
162 # is created but will not be able to delete it on shutdown. If $2 is defined then
163 # the lock file should be created for the current command
164 if [ "X$LOCKPROP" != "X" ]
165 then
166 if [ "X$1" != "X" ]
167 then
168 # Resolve the primary group
169 RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
170 if [ "X$RUN_AS_GROUP" = "X" ]
171 then
172 RUN_AS_GROUP=$RUN_AS_USER
173 fi
174 touch $LOCKFILE
175 chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
176 fi
177 fi
178
179 # Still want to change users, recurse. This means that the user will only be
180 # prompted for a password once. Variables shifted by 1
181 su - $RUN_AS_USER -c "\"$REALPATH\" $2"
182
183 # Now that we are the original user again, we may need to clean up the lock file.
184 if [ "X$LOCKPROP" != "X" ]
185 then
186 getpid
187 if [ "X$pid" = "X" ]
188 then
189 # Wrapper is not running so make sure the lock file is deleted.
190 if [ -f "$LOCKFILE" ]
191 then
192 rm "$LOCKFILE"
193 fi
194 fi
195 fi
196
197 exit 0
198 fi
199 fi
200
201 # Check that script is not run as root
202 LUID=`$IDEXE -u`
203 if [ $LUID -eq 0 ]
204 then
205 echo "****************************************"
206 echo "WARNING - NOT RECOMMENDED TO RUN AS ROOT"
207 echo "****************************************"
208 if [ ! "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
209 then
210 echo "If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script."
211search hit BOTTOM, continuing at TOP
212
213We trust you have received the usual lecture from the local System
214#! /bin/sh
215Administrator. It usually boils down to these three things:
216
217 #1) Respect the privacy of others.
218 #2) Think before you type.
219 #3) With great power comes great responsibility.
220
221[sudo] password for nexusguy:
222
223
224
225
226Sorry, try again.
227[sudo] password for nexusguy:
228Sorry, try again.
229[sudo] password for nexusguy:
230Sorry, try again.
231sudo: 3 incorrect password attempts
232[nexusguy@ip-172-31-2-239 centos]$ jobs
233[1]+ Stopped su nexusguy
234[nexusguy@ip-172-31-2-239 centos]$ kill %1
235
236[1]+ Stopped su nexusguy
237[nexusguy@ip-172-31-2-239 centos]$ xit
238bash: xit: command not found
239[1]+ Terminated su nexusguy
240[nexusguy@ip-172-31-2-239 centos]$ exit
241exit
242[centos@ip-172-31-2-239 ~]$ cd /opt/nexus
243-bash: cd: /opt/nexus: No such file or directory
244[centos@ip-172-31-2-239 ~]$ cd /usr/local/nexus
245[centos@ip-172-31-2-239 nexus]$ ls
246bin conf lib logs nexus NOTICE.txt tmp
247[centos@ip-172-31-2-239 nexus]$ cd ..
248[centos@ip-172-31-2-239 local]$ ls
249bin etc games include lib lib64 libexec nexus nexus-professional-2.14.0-01 nexus-professional-2.14.0-01-bundle.tar.gz sbin share sonatype-work src
250[centos@ip-172-31-2-239 local]$ cd nexus
251[centos@ip-172-31-2-239 nexus]$ ls
252bin conf lib logs nexus NOTICE.txt tmp
253[centos@ip-172-31-2-239 nexus]$ cd bin/
254[centos@ip-172-31-2-239 bin]$ ls
255jsw nexus nexus.bat
256[centos@ip-172-31-2-239 bin]$ vi nexus
257# .bashrc
258[centos@ip-172-31-2-239 bin]$ cd ..
259[centos@ip-172-31-2-239 nexus]$ ls
260bin conf lib logs nexus NOTICE.txt tmp
261[centos@ip-172-31-2-239 nexus]$ cd
262[centos@ip-172-31-2-239 ~]$ cd /opt/
263[centos@ip-172-31-2-239 opt]$ ls
264[centos@ip-172-31-2-239 opt]$ cd
265[centos@ip-172-31-2-239 ~]$ su nexusguy
266Password:
267[nexusguy@ip-172-31-2-239 centos]$ vi ~/.bashrc
268[nexusguy@ip-172-31-2-239 centos]$ exit
269exit
270[centos@ip-172-31-2-239 ~]$ vi ~/.bashrc
271[centos@ip-172-31-2-239 ~]$ vi /usr/local/nexus/bin/nexus
272nexus nexus.bat
273[centos@ip-172-31-2-239 ~]$ vi /usr/local/nexus/bin/nexus
274[centos@ip-172-31-2-239 ~]$ sudo !!
275sudo vi /usr/local/nexus/bin/nexus
276[centos@ip-172-31-2-239 ~]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
277[centos@ip-172-31-2-239 ~]$ cd /etc/init.d/
278[centos@ip-172-31-2-239 init.d]$ ls
279functions netconsole network nexus README
280[centos@ip-172-31-2-239 init.d]$ sudo update-rc.d nexus defaults
281sudo: update-rc.d: command not found
282[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
283error reading information on service nexus: No such file or directory
284[centos@ip-172-31-2-239 init.d]$ ls
285functions netconsole network nexus README
286[centos@ip-172-31-2-239 init.d]$ cd nexus
287-bash: cd: nexus: No such file or directory
288[centos@ip-172-31-2-239 init.d]$ vi ne
289netconsole network nexus
290[centos@ip-172-31-2-239 init.d]$ vi nexus
291[centos@ip-172-31-2-239 init.d]$ ls
292functions netconsole network nexus README
293[centos@ip-172-31-2-239 init.d]$ cd net
294netconsole network
295[centos@ip-172-31-2-239 init.d]$ cd network
296-bash: cd: network: Not a directory
297[centos@ip-172-31-2-239 init.d]$ ls
298functions netconsole network nexus README
299[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
300error reading information on service nexus: No such file or directory
301[centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
302ln: failed to create symbolic link ‘/etc/init.d/nexus’: File exists
303[centos@ip-172-31-2-239 init.d]$ sudo rm nexus
304[centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
305[centos@ip-172-31-2-239 init.d]$ ls
306functions netconsole network nexus README
307[centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
308ln: failed to create symbolic link ‘/etc/init.d/nexus’: File exists
309[centos@ip-172-31-2-239 init.d]$ sudo rm nexus
310[centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
311[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
312error reading information on service nexus: No such file or directory
313[centos@ip-172-31-2-239 init.d]$ echo $NEXUS-HOME
314-HOME
315[centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
316
317[centos@ip-172-31-2-239 init.d]$ vi ~/.bashrc
318[centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
319
320[centos@ip-172-31-2-239 init.d]$ source ~/.bashrc
321[centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
322/usr/local/nexus
323[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
324error reading information on service nexus: No such file or directory
325[centos@ip-172-31-2-239 init.d]$ ls
326functions netconsole network nexus README
327[centos@ip-172-31-2-239 init.d]$ sudo rm nexus
328[centos@ip-172-31-2-239 init.d]$ cd
329[centos@ip-172-31-2-239 ~]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
330[centos@ip-172-31-2-239 ~]$ cd /etc/init.d/
331[centos@ip-172-31-2-239 init.d]$ ls
332functions netconsole network nexus README
333[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
334[centos@ip-172-31-2-239 init.d]$ sudo chkconfig --levels 345 nexus on
335[centos@ip-172-31-2-239 init.d]$ sudo service nexus start
336Starting Nexus Repository Manager...
337Nexus Repository Manager is already running.
338[centos@ip-172-31-2-239 init.d]$ sudo service nexus stop
339Stopping Nexus Repository Manager...
340Stopped Nexus Repository Manager.
341[centos@ip-172-31-2-239 init.d]$ sudo service nexus stopcd
342Usage: /etc/init.d/nexus { console | start | stop | restart | status | dump }
343[centos@ip-172-31-2-239 init.d]$ cd
344[centos@ip-172-31-2-239 ~]$ sudo service nexus stop
345Stopping Nexus Repository Manager...
346Nexus Repository Manager was not running.
347[centos@ip-172-31-2-239 ~]$ sudo service nexus start
348Starting Nexus Repository Manager...
349Started Nexus Repository Manager.
350[centos@ip-172-31-2-239 ~]$ tail -f /var/lo
351local/ lock/ log/
352[centos@ip-172-31-2-239 ~]$ tail -f /var/log/
353anaconda/ btmp cloud-init-output.log dmesg.old maillog secure tomcat/ yum.log
354audit/ chrony/ cron httpd/ messages spooler tuned/
355boot.log cloud-init.log dmesg lastlog ppp/ tallylog wtmp
356[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/s
357sbin/ share/ sonatype-work/ src/
358[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/s
359sbin/ share/ sonatype-work/ src/
360[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/
361nexus/ README.txt
362[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/
363access/ broker/ db/ health-check/ iq/ nexus.lock orient/ storage/
364backup/ conf/ felix-cache/ indexer/ logs/ nuget/ plugin-repository/ timeline/
365[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/logs/
366nexus.log nexus.log.2016-11-20.gz request-2016-11-20.log.gz request.log
367[centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/logs/nexus.log
3682016-11-27 17:00:53,867+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.rest.NexusApplication_UriMatching - Strict URI matching: true
3692016-11-27 17:00:54,070+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.configuration.ModelUtils - Loading model /usr/local/sonatype-work/nexus/conf/staging.xml
3702016-11-27 17:00:54,165+0000 INFO [jetty-main-1] *SYSTEM com.sonatype.nexus.pgp.DefaultPGPKeyManager - Creating PGP Key Collection for the first time.
3712016-11-27 17:00:54,364+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.configuration.ModelUtils - Loading model /usr/local/sonatype-work/nexus/conf/lvo-plugin.xml
3722016-11-27 17:00:56,088+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.webresources.internal.WebResourceServiceImpl - Discovered 3021 resources
3732016-11-27 17:00:56,089+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.webresources.internal.WebResourceServlet - Max-age: 30 days (2592000 seconds)
3742016-11-27 17:00:56,220+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.InstrumentedSelectChannelConnector - Metrics enabled
3752016-11-27 17:00:56,243+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.AbstractConnector - Started InstrumentedSelectChannelConnector@0.0.0.0:8081
3762016-11-27 17:00:56,243+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Running
3772016-11-27 17:00:56,243+0000 INFO [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Started
378^C
379[centos@ip-172-31-2-239 ~]$ sudo service nexus stop
380Stopping Nexus Repository Manager...
381Stopped Nexus Repository Manager.
382[centos@ip-172-31-2-239 ~]$ su nexus guy
383su: user nexus does not exist
384[centos@ip-172-31-2-239 ~]$ s nexusgun
385-bash: s: command not found
386[centos@ip-172-31-2-239 ~]$ s nexusguy
387-bash: s: command not found
388[centos@ip-172-31-2-239 ~]$ su nexusguy
389Password:
390su: Authentication failure
391[centos@ip-172-31-2-239 ~]$ su nexusguy fon1pcs1
392Password:
393bash: fon1pcs1: Permission denied
394[centos@ip-172-31-2-239 ~]$ su nexusguy
395Password:
396[nexusguy@ip-172-31-2-239 centos]$ service nexus start
397Starting Nexus Repository Manager...
398Started Nexus Repository Manager.
399[nexusguy@ip-172-31-2-239 centos]$ service nexus stop
400Stopping Nexus Repository Manager...
401Stopped Nexus Repository Manager.
402[nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus start
403Starting Nexus Repository Manager...
404Started Nexus Repository Manager.
405[nexusguy@ip-172-31-2-239 centos]$ exit
406exit
407[centos@ip-172-31-2-239 ~]$ sudo service apache2 start
408Redirecting to /bin/systemctl start apache2.service
409Failed to start apache2.service: Unit apache2.service failed to load: No such file or directory.
410[centos@ip-172-31-2-239 ~]$ sudo service httpd start
411Redirecting to /bin/systemctl start httpd.service
412[centos@ip-172-31-2-239 ~]$ ls
413nexus-professional-2.14.0-01-bundle.tar.gz
414[centos@ip-172-31-2-239 ~]$ sudo service tomcat start
415Redirecting to /bin/systemctl start tomcat.service
416[centos@ip-172-31-2-239 ~]$ su nexusguy
417Password:
418[nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus restart
419Stopping Nexus Repository Manager...
420Stopped Nexus Repository Manager.
421Starting Nexus Repository Manager...
422Started Nexus Repository Manager.
423[nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus status
424Nexus Repository Manager is running (4688).
425[nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus stop
426Stopping Nexus Repository Manager...
427Stopped Nexus Repository Manager.
428[nexusguy@ip-172-31-2-239 centos]$ exit
429exit
430[centos@ip-172-31-2-239 ~]$ service nexus start
431Password:
432Starting Nexus Repository Manager...
433Started Nexus Repository Manager.
434[centos@ip-172-31-2-239 ~]$ service nexus stop
435Password:
436Stopping Nexus Repository Manager...
437Stopped Nexus Repository Manager.
438[centos@ip-172-31-2-239 ~]$ sudo service nexus start
439Starting Nexus Repository Manager...
440Started Nexus Repository Manager.
441[centos@ip-172-31-2-239 ~]$ Connection to 172.31.2.239 closed by remote host.
442Connection to 172.31.2.239 closed.
443 ✘ hammidfunsho@Hammids-MacBook-Pro  ~  ssh centos@172.31.2.239
444Last login: Sun Nov 27 17:12:21 2016 from ip-172-31-0-4.ec2.internal
445[centos@ip-172-31-2-239 ~]$ packet_write_wait: Connection to 172.31.2.239: Broken pipe
446 ✘ hammidfunsho@Hammids-MacBook-Pro  ~  ls
447Applications Homestead SeleniumJava.java hello_selenium_ii
448Desktop Library Soft_Dev hellodemo.pem
449Documents Movies Solarized Dark.itermcolors jmeter.log
450Downloads Music VirtualBox VMs mac-cli
451Dropbox Pictures WebGoat-Legacy training-mtw-sample
452HelloWorld.java Public example.html vagrant_getting_started
453 hammidfunsho@Hammids-MacBook-Pro î‚° ~ î‚° cd Soft_Dev
454 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev î‚° ls
455Chef bash_scripts prophetRE sel_repr
456RemoteSystemsTempFiles bootstrap.sh python selenium_framework
457SecureCI Testing Framework continuous_integration regression_tests_reprophet selenium_hello_world5_test
458Selenium_IDE demo_regression reprophet selenium_hello_world7_test
459Servers hello_selenium_II reprophet-tests selenium_regression
460Vagrantfile hello_world5 reprophet2 training-demo
461acme_test laravel reprophet_selenium training-mtw-sample
462aws_user_management php ruby
463 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev î‚° mkdir secureCI_test_framework
464 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev î‚° cd secureCI
465cd: no such file or directory: secureCI
466 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev  cd secureCI_test_framework
467 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework î‚° ls
468 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework î‚° git clone <target name="run" depends="compile" description="Run tests in parallel">
469zsh: parse error near `\n'
470 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <java classpathref="classpath" classname="org.testng.TestNG" failonerror="true">
471zsh: parse error near `\n'
472 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <sysproperty key="browser" value="${browser}" />
473zsh: parse error near `\n'
474 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <sysproperty key="hubAddress" value="${hubAddress}" />
475zsh: parse error near `\n'
476 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <sysproperty key="appURL" value="${appURL}" />
477zsh: parse error near `\n'
478 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="-d" />
479zsh: parse error near `\n'
480 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="${out-dir}" />
481zsh: parse error near `\n'
482 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="-suitename" />
483zsh: parse error near `\n'
484 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="Default suite" />
485zsh: parse error near `\n'
486 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="-parallel"/>
487zsh: parse error near `\n'
488 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="methods"/>
489zsh: parse error near `\n'
490 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="-threadcount"/>
491zsh: parse error near `\n'
492 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="20"/>
493zsh: parse error near `\n'
494 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  <arg value="${test-suite}"/>
495zsh: parse error near `\n'
496 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  </java>
497zsh: parse error near `\n'
498 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  git clone https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git
499Cloning into 'SecureCI-Testing-Framework'...
500Username for 'https://gitlab.com': hammid.funsho@coveros.com
501Password for 'https://hammid.funsho@coveros.com@gitlab.com':
502remote: HTTP Basic: Access denied
503fatal: Authentication failed for 'https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git/'
504 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  git clone https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git
505Cloning into 'SecureCI-Testing-Framework'...
506Username for 'https://gitlab.com': hammid.funsho@coveros.com
507Password for 'https://hammid.funsho@coveros.com@gitlab.com':
508remote: HTTP Basic: Access denied
509remote: You have 2FA enabled, please use a personal access token for Git over HTTP.
510remote: You can generate one at https://gitlab.com/profile/personal_access_tokens
511fatal: Authentication failed for 'https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git/'
512 ✘ hammidfunsho@Hammids-MacBook-Pro  ~/Soft_Dev/secureCI_test_framework  git clone git@gitlab.com:max-saperstone/SecureCI-Testing-Framework.git
513Cloning into 'SecureCI-Testing-Framework'...
514remote: Counting objects: 199, done.
515remote: Compressing objects: 100% (116/116), done.
516remote: Total 199 (delta 95), reused 128 (delta 57)
517Receiving objects: 100% (199/199), 5.46 MiB | 8.79 MiB/s, done.
518Resolving deltas: 100% (95/95), done.
519Checking connectivity... done.
520 <target name="replace">
521 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework î‚° ls
522SecureCI-Testing-Framework
523 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework î‚° cd SecureCI-Testing-Framework
524 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° ls
525README.md build.xml chromedriver.exe lib src testng.xml
526 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° vi build.xml
527 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° ant clean
528Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
529
530clean:
531
532BUILD SUCCESSFUL
533Total time: 0 seconds
534 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° ant -Dtest-suite=../acceptance.xml -appURL=google.com -Dbrowser=Firefox -DhubAddress=localhost -DproxyServer=localhost -DproxyPort=8080
535Unknown argument: -appURL=google.com
536ant [options] [target [target2 [target3] ...]]
537Options:
538 -help, -h print this message and exit
539 -projecthelp, -p print project help information and exit
540 -version print the version information and exit
541 -diagnostics print information that might be helpful to
542 diagnose or report problems and exit
543 -quiet, -q be extra quiet
544 -silent, -S print nothing but task outputs and build failures
545 -verbose, -v be extra verbose
546 -debug, -d print debugging information
547 -emacs, -e produce logging information without adornments
548 -lib <path> specifies a path to search for jars and classes
549 -logfile <file> use given file for log
550 -l <file> ''
551 -logger <classname> the class which is to perform logging
552 -listener <classname> add an instance of class as a project listener
553 -noinput do not allow interactive input
554 -buildfile <file> use given buildfile
555 -file <file> ''
556 -f <file> ''
557 -D<property>=<value> use value for given property
558 -keep-going, -k execute all targets that do not depend
559 on failed target(s)
560 -propertyfile <name> load all properties from file with -D
561 properties taking precedence
562 -inputhandler <class> the class which will handle input requests
563 -find <file> (s)earch for buildfile towards the root of
564 -s <file> the filesystem and use it
565 -nice number A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default
566 -nouserlib Run ant without using the jar files from ${user.home}/.ant/lib
567 -noclasspath Run ant without using CLASSPATH
568 -autoproxy Java1.5+: use the OS proxy settings
569 -main <class> override Ant's normal entry point
570
571 ✘ hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° ant -Dtest-suite=../acceptance.xml -DappURL=google.com -Dbrowser=Firefox -DhubAddress=localhost -DproxyServer=localhost -DproxyPort=8080
572Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
573
574BUILD FAILED
575Target "run" does not exist in the project "SecureCI Testing Framework".
576
577Total time: 0 seconds
578 ✘ hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master î‚° vi build.xml
579 hammidfunsho@Hammids-MacBook-Pro î‚° ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework î‚° î‚ master â— î‚° ant -Dtest-suite=../acceptance.xml -DappURL=google.com -Dbrowser=Firefox -DhubAddress=localhost -DproxyServer=localhost -DproxyPort=8080
580Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
581
582classpath:
583
584compile:
585 [mkdir] Created dir: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/test-output/classes
586 [javac] Compiling 12 source files to /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/test-output/classes
587 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:12: error: package org.apache.commons.io does not exist
588 [javac] import org.apache.commons.io.FileUtils;
589 [javac] ^
590 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:13: error: package org.openqa.selenium.opera does not exist
591 [javac] import org.openqa.selenium.opera.OperaDriver;
592 [javac] ^
593 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:15: error: package org.openqa.selenium.remote does not exist
594 [javac] import org.openqa.selenium.remote.Augmenter;
595 [javac] ^
596 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:16: error: package org.openqa.selenium.remote does not exist
597 [javac] import org.openqa.selenium.remote.CapabilityType;
598 [javac] ^
599 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:17: error: package org.openqa.selenium.remote does not exist
600 [javac] import org.openqa.selenium.remote.DesiredCapabilities;
601 [javac] ^
602 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:18: error: package org.openqa.selenium.remote does not exist
603 [javac] import org.openqa.selenium.remote.RemoteWebDriver;
604 [javac] ^
605 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:19: error: package org.openqa.selenium.safari does not exist
606 [javac] import org.openqa.selenium.safari.SafariDriver;
607 [javac] ^
608 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:20: error: package org.openqa.selenium.support.ui does not exist
609 [javac] import org.openqa.selenium.support.ui.Select;
610 [javac] ^
611 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:21: error: package org.openqa.selenium does not exist
612 [javac] import org.openqa.selenium.Alert;
613 [javac] ^
614 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:22: error: package org.openqa.selenium does not exist
615 [javac] import org.openqa.selenium.By;
616 [javac] ^
617 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:23: error: package org.openqa.selenium does not exist
618 [javac] import org.openqa.selenium.JavascriptExecutor;
619 [javac] ^
620 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:24: error: package org.openqa.selenium does not exist
621 [javac] import org.openqa.selenium.Keys;
622 [javac] ^
623 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:25: error: package org.openqa.selenium does not exist
624 [javac] import org.openqa.selenium.NoAlertPresentException;
625 [javac] ^
626 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:26: error: package org.openqa.selenium does not exist
627 [javac] import org.openqa.selenium.NoSuchElementException;
628 [javac] ^
629 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:27: error: package org.openqa.selenium does not exist
630 [javac] import org.openqa.selenium.OutputType;
631 [javac] ^
632 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:28: error: package org.openqa.selenium does not exist
633 [javac] import org.openqa.selenium.Proxy;
634 [javac] ^
635 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:29: error: package org.openqa.selenium does not exist
636 [javac] import org.openqa.selenium.StaleElementReferenceException;
637 [javac] ^
638 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:30: error: package org.openqa.selenium does not exist
639 [javac] import org.openqa.selenium.TakesScreenshot;
640 [javac] ^
641 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:31: error: package org.openqa.selenium does not exist
642 [javac] import org.openqa.selenium.WebDriver;
643 [javac] ^
644 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:32: error: package org.openqa.selenium does not exist
645 [javac] import org.openqa.selenium.WebElement;
646 [javac] ^
647 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:33: error: package org.openqa.selenium.chrome does not exist
648 [javac] import org.openqa.selenium.chrome.ChromeDriver;
649 [javac] ^
650 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:34: error: package org.openqa.selenium.edge does not exist
651 [javac] import org.openqa.selenium.edge.EdgeDriver;
652 [javac] ^
653 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:35: error: package org.openqa.selenium.firefox does not exist
654 [javac] import org.openqa.selenium.firefox.FirefoxDriver;
655 [javac] ^
656 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:37: error: package org.openqa.selenium.ie does not exist
657 [javac] import org.openqa.selenium.ie.InternetExplorerDriver;
658 [javac] ^
659 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:38: error: package org.openqa.selenium.interactions does not exist
660 [javac] import org.openqa.selenium.interactions.Actions;
661 [javac] ^
662 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:39: error: package org.openqa.selenium does not exist
663 [javac] import org.openqa.selenium.Cookie;
664 [javac] ^
665 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:82: error: cannot find symbol
666 [javac] private WebDriver driver;
667 [javac] ^
668 [javac] symbol: class WebDriver
669 [javac] location: class SeleniumHelper
670 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:231: error: cannot find symbol
671 [javac] public WebDriver getDriver() {
672 [javac] ^
673 [javac] symbol: class WebDriver
674 [javac] location: class SeleniumHelper
675 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:978: error: cannot find symbol
676 [javac] public List<WebElement> getTableRows(Locators type, String locator)
677 [javac] ^
678 [javac] symbol: class WebElement
679 [javac] location: class SeleniumHelper
680 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1020: error: cannot find symbol
681 [javac] public List<WebElement> getTableColumns(Locators type, String locator)
682 [javac] ^
683 [javac] symbol: class WebElement
684 [javac] location: class SeleniumHelper
685 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1104: error: cannot find symbol
686 [javac] public List<WebElement> getTableColumn(Locators type, String locator, int colNum)
687 [javac] ^
688 [javac] symbol: class WebElement
689 [javac] location: class SeleniumHelper
690 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1143: error: cannot find symbol
691 [javac] public WebElement getTableCell(Locators type, String locator, int row, int col)
692 [javac] ^
693 [javac] symbol: class WebElement
694 [javac] location: class SeleniumHelper
695 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1433: error: cannot find symbol
696 [javac] public int type(Locators type, String locator, Keys key)
697 [javac] ^
698 [javac] symbol: class Keys
699 [javac] location: class SeleniumHelper
700 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1892: error: cannot find symbol
701 [javac] private By defineByElement(Locators type, String locator) throws InvalidLocatorTypeException {
702 [javac] ^
703 [javac] symbol: class By
704 [javac] location: class SeleniumHelper
705 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1941: error: cannot find symbol
706 [javac] public WebElement getWebElement(Locators type, String locator) throws InvalidLocatorTypeException {
707 [javac] ^
708 [javac] symbol: class WebElement
709 [javac] location: class SeleniumHelper
710 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1960: error: cannot find symbol
711 [javac] private List<WebElement> getWebElements(Locators type, String locator) throws InvalidLocatorTypeException {
712 [javac] ^
713 [javac] symbol: class WebElement
714 [javac] location: class SeleniumHelper
715 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:2300: error: cannot find symbol
716 [javac] public Cookie getCookie(String expectedCookieName) {
717 [javac] ^
718 [javac] symbol: class Cookie
719 [javac] location: class SeleniumHelper
720 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:104: error: cannot find symbol
721 [javac] DesiredCapabilities capability;
722 [javac] ^
723 [javac] symbol: class DesiredCapabilities
724 [javac] location: class SeleniumHelper
725 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:110: error: cannot find symbol
726 [javac] capability = DesiredCapabilities.htmlUnitWithJs();
727 [javac] ^
728 [javac] symbol: variable DesiredCapabilities
729 [javac] location: class SeleniumHelper
730 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:114: error: cannot find symbol
731 [javac] capability = DesiredCapabilities.firefox();
732 [javac] ^
733 [javac] symbol: variable DesiredCapabilities
734 [javac] location: class SeleniumHelper
735 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:118: error: cannot find symbol
736 [javac] capability = DesiredCapabilities.chrome();
737 [javac] ^
738 [javac] symbol: variable DesiredCapabilities
739 [javac] location: class SeleniumHelper
740 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:122: error: cannot find symbol
741 [javac] capability = DesiredCapabilities.internetExplorer();
742 [javac] ^
743 [javac] symbol: variable DesiredCapabilities
744 [javac] location: class SeleniumHelper
745 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:126: error: cannot find symbol
746 [javac] capability = DesiredCapabilities.edge();
747 [javac] ^
748 [javac] symbol: variable DesiredCapabilities
749 [javac] location: class SeleniumHelper
750 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:130: error: cannot find symbol
751 [javac] capability = DesiredCapabilities.android();
752 [javac] ^
753 [javac] symbol: variable DesiredCapabilities
754 [javac] location: class SeleniumHelper
755 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:134: error: cannot find symbol
756 [javac] capability = DesiredCapabilities.iphone();
757 [javac] ^
758 [javac] symbol: variable DesiredCapabilities
759 [javac] location: class SeleniumHelper
760 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:138: error: cannot find symbol
761 [javac] capability = DesiredCapabilities.ipad();
762 [javac] ^
763 [javac] symbol: variable DesiredCapabilities
764 [javac] location: class SeleniumHelper
765 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:142: error: cannot find symbol
766 [javac] capability = DesiredCapabilities.safari();
767 [javac] ^
768 [javac] symbol: variable DesiredCapabilities
769 [javac] location: class SeleniumHelper
770 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:146: error: cannot find symbol
771 [javac] capability = DesiredCapabilities.operaBlink();
772 [javac] ^
773 [javac] symbol: variable DesiredCapabilities
774 [javac] location: class SeleniumHelper
775 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:150: error: cannot find symbol
776 [javac] capability = DesiredCapabilities.phantomjs();
777 [javac] ^
778 [javac] symbol: variable DesiredCapabilities
779 [javac] location: class SeleniumHelper
780 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:161: error: cannot find symbol
781 [javac] Proxy proxy = new Proxy();
782 [javac] ^
783 [javac] symbol: class Proxy
784 [javac] location: class SeleniumHelper
785 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:161: error: cannot find symbol
786 [javac] Proxy proxy = new Proxy();
787 [javac] ^
788 [javac] symbol: class Proxy
789 [javac] location: class SeleniumHelper
790 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:163: error: cannot find symbol
791 [javac] capability.setCapability(CapabilityType.PROXY, proxy);
792 [javac] ^
793 [javac] symbol: variable CapabilityType
794 [javac] location: class SeleniumHelper
795 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:166: error: cannot find symbol
796 [javac] driver = new RemoteWebDriver(new URL(hubAddress), capability);
797 [javac] ^
798 [javac] symbol: class RemoteWebDriver
799 [javac] location: class SeleniumHelper
800 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:168: error: cannot find symbol
801 [javac] capability = new DesiredCapabilities();
802 [javac] ^
803 [javac] symbol: class DesiredCapabilities
804 [javac] location: class SeleniumHelper
805 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:172: error: cannot find symbol
806 [javac] Proxy proxy = new Proxy();
807 [javac] ^
808 [javac] symbol: class Proxy
809 [javac] location: class SeleniumHelper
810 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:172: error: cannot find symbol
811 [javac] Proxy proxy = new Proxy();
812 [javac] ^
813 [javac] symbol: class Proxy
814 [javac] location: class SeleniumHelper
815 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:174: error: cannot find symbol
816 [javac] capability.setCapability(CapabilityType.PROXY, proxy);
817 [javac] ^
818 [javac] symbol: variable CapabilityType
819 [javac] location: class SeleniumHelper
820 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:183: error: cannot find symbol
821 [javac] driver = new FirefoxDriver(capability);
822 [javac] ^
823 [javac] symbol: class FirefoxDriver
824 [javac] location: class SeleniumHelper
825 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:187: error: cannot find symbol
826 [javac] driver = new ChromeDriver(capability);
827 [javac] ^
828 [javac] symbol: class ChromeDriver
829 [javac] location: class SeleniumHelper
830 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:191: error: cannot find symbol
831 [javac] driver = new InternetExplorerDriver(capability);
832 [javac] ^
833 [javac] symbol: class InternetExplorerDriver
834 [javac] location: class SeleniumHelper
835 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:195: error: cannot find symbol
836 [javac] driver = new EdgeDriver(capability);
837 [javac] ^
838 [javac] symbol: class EdgeDriver
839 [javac] location: class SeleniumHelper
840 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:204: error: cannot find symbol
841 [javac] driver = new SafariDriver(capability);
842 [javac] ^
843 [javac] symbol: class SafariDriver
844 [javac] location: class SeleniumHelper
845 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:208: error: cannot find symbol
846 [javac] driver = new OperaDriver(capability);
847 [javac] ^
848 [javac] symbol: class OperaDriver
849 [javac] location: class SeleniumHelper
850 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:357: error: cannot find symbol
851 [javac] } catch (NoSuchElementException e) {
852 [javac] ^
853 [javac] symbol: class NoSuchElementException
854 [javac] location: class SeleniumHelper
855 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:358: error: cannot find symbol
856 [javac] } catch (StaleElementReferenceException e) {
857 [javac] ^
858 [javac] symbol: class StaleElementReferenceException
859 [javac] location: class SeleniumHelper
860 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:475: error: cannot find symbol
861 [javac] WebElement element = getWebElement(type, locator);
862 [javac] ^
863 [javac] symbol: class WebElement
864 [javac] location: class SeleniumHelper
865 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:536: error: cannot find symbol
866 [javac] WebElement element = getWebElement(type, locator);
867 [javac] ^
868 [javac] symbol: class WebElement
869 [javac] location: class SeleniumHelper
870 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:601: error: cannot find symbol
871 [javac] WebElement element = getWebElement(type, locator);
872 [javac] ^
873 [javac] symbol: class WebElement
874 [javac] location: class SeleniumHelper
875 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:664: error: cannot find symbol
876 [javac] WebElement element = getWebElement(type, locator);
877 [javac] ^
878 [javac] symbol: class WebElement
879 [javac] location: class SeleniumHelper
880 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:726: error: cannot find symbol
881 [javac] } catch (NoSuchElementException e) {
882 [javac] ^
883 [javac] symbol: class NoSuchElementException
884 [javac] location: class SeleniumHelper
885 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:727: error: cannot find symbol
886 [javac] } catch (StaleElementReferenceException e) {
887 [javac] ^
888 [javac] symbol: class StaleElementReferenceException
889 [javac] location: class SeleniumHelper
890 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:770: error: cannot find symbol
891 [javac] WebElement element = getWebElement(type, locator);
892 [javac] ^
893 [javac] symbol: class WebElement
894 [javac] location: class SeleniumHelper
895 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:775: error: cannot find symbol
896 [javac] } catch (NoSuchElementException e) {
897 [javac] ^
898 [javac] symbol: class NoSuchElementException
899 [javac] location: class SeleniumHelper
900 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:817: error: cannot find symbol
901 [javac] } catch (NoSuchElementException e) {
902 [javac] ^
903 [javac] symbol: class NoSuchElementException
904 [javac] location: class SeleniumHelper
905 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:859: error: cannot find symbol
906 [javac] } catch (NoSuchElementException e) {
907 [javac] ^
908 [javac] symbol: class NoSuchElementException
909 [javac] location: class SeleniumHelper
910 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:901: error: cannot find symbol
911 [javac] } catch (NoSuchElementException e) {
912 [javac] ^
913 [javac] symbol: class NoSuchElementException
914 [javac] location: class SeleniumHelper
915 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:933: error: cannot find symbol
916 [javac] WebElement element = getWebElement(type, locator);
917 [javac] ^
918 [javac] symbol: class WebElement
919 [javac] location: class SeleniumHelper
920 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:934: error: cannot find symbol
921 [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
922 [javac] ^
923 [javac] symbol: class WebElement
924 [javac] location: class SeleniumHelper
925 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:934: error: cannot find symbol
926 [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
927 [javac] ^
928 [javac] symbol: variable By
929 [javac] location: class SeleniumHelper
930 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:958: error: cannot find symbol
931 [javac] WebElement element = getWebElement(type, locator);
932 [javac] ^
933 [javac] symbol: class WebElement
934 [javac] location: class SeleniumHelper
935 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:959: error: cannot find symbol
936 [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
937 [javac] ^
938 [javac] symbol: class WebElement
939 [javac] location: class SeleniumHelper
940 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:959: error: cannot find symbol
941 [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
942 [javac] ^
943 [javac] symbol: variable By
944 [javac] location: class SeleniumHelper
945 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:985: error: cannot find symbol
946 [javac] return new ArrayList<WebElement>();
947 [javac] ^
948 [javac] symbol: class WebElement
949 [javac] location: class SeleniumHelper
950 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:987: error: cannot find symbol
951 [javac] WebElement element = getWebElement(type, locator);
952 [javac] ^
953 [javac] symbol: class WebElement
954 [javac] location: class SeleniumHelper
955 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:989: error: cannot find symbol
956 [javac] return element.findElements(By.tagName("tr"));
957 [javac] ^
958 [javac] symbol: variable By
959 [javac] location: class SeleniumHelper
960 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1005: error: cannot find symbol
961 [javac] List<WebElement> rows = getTableRows(type, locator);
962 [javac] ^
963 [javac] symbol: class WebElement
964 [javac] location: class SeleniumHelper
965 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1027: error: cannot find symbol
966 [javac] return new ArrayList<WebElement>();
967 [javac] ^
968 [javac] symbol: class WebElement
969 [javac] location: class SeleniumHelper
970 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1029: error: cannot find symbol
971 [javac] WebElement element = getWebElement(type, locator);
972 [javac] ^
973 [javac] symbol: class WebElement
974 [javac] location: class SeleniumHelper
975 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1031: error: cannot find symbol
976 [javac] return element.findElements(By.xpath(".//tr[1]/th"));
977 [javac] ^
978 [javac] symbol: variable By
979 [javac] location: class SeleniumHelper
980 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1047: error: cannot find symbol
981 [javac] List<WebElement> columns = getTableColumns(type, locator);
982 [javac] ^
983 [javac] symbol: class WebElement
984 [javac] location: class SeleniumHelper
985 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1074: error: cannot find symbol
986 [javac] List<WebElement> tables = getWebElements(type, locator);
987 [javac] ^
988 [javac] symbol: class WebElement
989 [javac] location: class SeleniumHelper
990 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1075: error: cannot find symbol
991 [javac] for (WebElement table : tables) {
992 [javac] ^
993 [javac] symbol: class WebElement
994 [javac] location: class SeleniumHelper
995 [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1077: error: cannot find symbol
996 [javac] List<WebElement> rows = table.findElements(By.tagName("tr"));
997 [javac] ^
998<project name="SecureCI Testing Framework" basedir="." default="run">
999 <property name="jars" value="lib" />
1000 <property name="rootdir" value="./" />
1001 <property name="src-dir" value="./src" />
1002 <property name="out-dir" value="./test-output" />
1003 <property name="junit-dir" value="${out-dir}/JUnit" />
1004 <property name="com-dir" value="${out-dir}/classes" />
1005 <property name="doc-dir" value="./doc" />
1006
1007 <target name="clean">
1008 <delete dir="${out-dir}" />
1009 </target>
1010
1011 <target name="classpath">
1012 <path id="classpath">
1013 <fileset dir="${jars}">
1014 <include name="*.jar"/>
1015 </fileset>
1016 <pathelement location="${com-dir}"/>
1017 </path>
1018 </target>
1019
1020 <target name="compile" depends="classpath">
1021 <mkdir dir="${com-dir}" />
1022 <javac srcdir="${src-dir}" destdir="${com-dir}" classpathref="classpath" includeantruntime="false" />
1023 </target>
1024
1025 <target name="resetDBviaSSH">
1026 <sshexec host="fms.app"
1027 username="vagrant"
1028 keyfile="~/.ssh/id_rsa"
1029 command="ll"/>
1030 </target>
1031
1032 <target name="resetDB">
1033 <exec executable="/bin/sh">
1034 <arg value="-c" />
1035 <arg value="ssh vagrant@fms.app 'cd Code; php artisan migrate:reset; php artisan migrate --seed'"/>
1036 </exec>
1037 </target>
1038
1039 <target name="run" depends="compile" description="Run tests in parallel">
1040 <java classpathref="classpath" classname="org.testng.TestNG" failonerror="true">
1041 <sysproperty key="browser" value="${browser}" />
1042 <sysproperty key="hubAddress" value="${hubAddress}" />
1043 <sysproperty key="appURL" value="${appURL}" />
1044 <arg value="-d" />
1045 <arg value="${out-dir}" />
1046 <arg value="-suitename" />
1047 <arg value="Default suite" />
1048 <arg value="-parallel"/>
1049 <arg value="methods"/>
1050 <arg value="-threadcount"/>
1051 <arg value="20"/>
1052 <arg value="${test-suite}"/>
1053 </java>
1054 </target>
1055
1056 <target name="replace">
1057 <replaceregexp