Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #PIDDIR="."
- # If uncommented, causes the Wrapper to be shutdown using an anchor file.
- # When launched with the 'start' command, it will also ignore all INT and
- # TERM signals.
- #IGNORE_SIGNALS=true
- # The following two lines are used by the chkconfig command. Change as is
- # appropriate for your application. They should remain commented.
- # chkconfig: 2345 20 80
- # description: Test Wrapper Sample Application
- # Do not modify anything beyond this point
- #-----------------------------------------------------------------------------
- # Get the fully qualified path to the script
- case $0 in
- /*)
- SCRIPT="$0"
- ;;
- *)
- PWD=`pwd`
- SCRIPT="$PWD/$0"
- ;;
- esac
- # Resolve the true real path without any sym links.
- /RUN_AS
- exit 1
- fi
- fi
- # Check the configured user. If necessary rerun this script as the desired user.
- if [ "X$RUN_AS_USER" != "X" ]
- then
- if [ "`$IDEXE -u -n`" != "$RUN_AS_USER" ]
- then
- # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
- # able to create the lock file. The Wrapper will be able to update this file once it
- # is created but will not be able to delete it on shutdown. If $2 is defined then
- # the lock file should be created for the current command
- if [ "X$LOCKPROP" != "X" ]
- then
- if [ "X$1" != "X" ]
- then
- # Resolve the primary group
- RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
- if [ "X$RUN_AS_GROUP" = "X" ]
- then
- RUN_AS_GROUP=$RUN_AS_USER
- fi
- touch $LOCKFILE
- chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
- fi
- fi
- # Still want to change users, recurse. This means that the user will only be
- # prompted for a password once. Variables shifted by 1
- su - $RUN_AS_USER -c "\"$REALPATH\" $2"
- # Now that we are the original user again, we may need to clean up the lock file.
- if [ "X$LOCKPROP" != "X" ]
- then
- getpid
- if [ "X$pid" = "X" ]
- then
- # Wrapper is not running so make sure the lock file is deleted.
- if [ -f "$LOCKFILE" ]
- then
- rm "$LOCKFILE"
- fi
- fi
- fi
- exit 0
- fi
- fi
- # Check that script is not run as root
- LUID=`$IDEXE -u`
- if [ $LUID -eq 0 ]
- then
- echo "****************************************"
- echo "WARNING - NOT RECOMMENDED TO RUN AS ROOT"
- echo "****************************************"
- if [ ! "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
- then
- echo "If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script."
- search hit BOTTOM, continuing at TOP
- #! /bin/sh
- #
- # Copyright (c) 1999, 2006 Tanuki Software Inc.
- #
- # Java Service Wrapper sh script. Suitable for starting and stopping
- # wrapped Java applications on UNIX platforms.
- #
- #-----------------------------------------------------------------------------
- # These settings can be modified to fit the needs of your application
- # Set this to the root of the Nexus installation
- NEXUS_HOME=".."
- # If specified, the Wrapper will be run as the specified user.
- # IMPORTANT - Make sure that the user has the required privileges to write into the Nexus installation directory.
- # NOTE - This will set the user which is used to run the Wrapper as well as
- # the JVM and is not useful in situations where a privileged resource or
- # port needs to be allocated prior to the user being changed.
- #RUN_AS_USER=
- # Application
- APP_NAME="nexus"
- APP_LONG_NAME="Nexus Repository Manager"
- # Priority at which to run the wrapper. See "man nice" for valid priorities.
- # nice is only used if a priority is specified.
- PRIORITY=
- # Location of the pid file.
- #PIDDIR="."
- # If uncommented, causes the Wrapper to be shutdown using an anchor file.
- # When launched with the 'start' command, it will also ignore all INT and
- # TERM signals.
- #IGNORE_SIGNALS=true
- # The following two lines are used by the chkconfig command. Change as is
- # appropriate for your application. They should remain commented.
- # chkconfig: 2345 20 80
- # description: Test Wrapper Sample Application
- # Do not modify anything beyond this point
- #-----------------------------------------------------------------------------
- # Get the fully qualified path to the script
- case $0 in
- /*)
- SCRIPT="$0"
- ;;
- *)
- PWD=`pwd`
- SCRIPT="$PWD/$0"
- ;;
- esac
- # Resolve the true real path without any sym links.
- /RUN_AS
- exit 1
- fi
- fi
- # Check the configured user. If necessary rerun this script as the desired user.
- if [ "X$RUN_AS_USER" != "X" ]
- then
- if [ "`$IDEXE -u -n`" != "$RUN_AS_USER" ]
- then
- # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
- # able to create the lock file. The Wrapper will be able to update this file once it
- # is created but will not be able to delete it on shutdown. If $2 is defined then
- # the lock file should be created for the current command
- if [ "X$LOCKPROP" != "X" ]
- then
- if [ "X$1" != "X" ]
- then
- # Resolve the primary group
- RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
- if [ "X$RUN_AS_GROUP" = "X" ]
- then
- RUN_AS_GROUP=$RUN_AS_USER
- fi
- touch $LOCKFILE
- chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
- fi
- fi
- # Still want to change users, recurse. This means that the user will only be
- # prompted for a password once. Variables shifted by 1
- su - $RUN_AS_USER -c "\"$REALPATH\" $2"
- # Now that we are the original user again, we may need to clean up the lock file.
- if [ "X$LOCKPROP" != "X" ]
- then
- getpid
- if [ "X$pid" = "X" ]
- then
- # Wrapper is not running so make sure the lock file is deleted.
- if [ -f "$LOCKFILE" ]
- then
- rm "$LOCKFILE"
- fi
- fi
- fi
- exit 0
- fi
- fi
- # Check that script is not run as root
- LUID=`$IDEXE -u`
- if [ $LUID -eq 0 ]
- then
- echo "****************************************"
- echo "WARNING - NOT RECOMMENDED TO RUN AS ROOT"
- echo "****************************************"
- if [ ! "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
- then
- echo "If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script."
- search hit BOTTOM, continuing at TOP
- We trust you have received the usual lecture from the local System
- #! /bin/sh
- Administrator. It usually boils down to these three things:
- #1) Respect the privacy of others.
- #2) Think before you type.
- #3) With great power comes great responsibility.
- [sudo] password for nexusguy:
- Sorry, try again.
- [sudo] password for nexusguy:
- Sorry, try again.
- [sudo] password for nexusguy:
- Sorry, try again.
- sudo: 3 incorrect password attempts
- [nexusguy@ip-172-31-2-239 centos]$ jobs
- [1]+ Stopped su nexusguy
- [nexusguy@ip-172-31-2-239 centos]$ kill %1
- [1]+ Stopped su nexusguy
- [nexusguy@ip-172-31-2-239 centos]$ xit
- bash: xit: command not found
- [1]+ Terminated su nexusguy
- [nexusguy@ip-172-31-2-239 centos]$ exit
- exit
- [centos@ip-172-31-2-239 ~]$ cd /opt/nexus
- -bash: cd: /opt/nexus: No such file or directory
- [centos@ip-172-31-2-239 ~]$ cd /usr/local/nexus
- [centos@ip-172-31-2-239 nexus]$ ls
- bin conf lib logs nexus NOTICE.txt tmp
- [centos@ip-172-31-2-239 nexus]$ cd ..
- [centos@ip-172-31-2-239 local]$ ls
- bin 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
- [centos@ip-172-31-2-239 local]$ cd nexus
- [centos@ip-172-31-2-239 nexus]$ ls
- bin conf lib logs nexus NOTICE.txt tmp
- [centos@ip-172-31-2-239 nexus]$ cd bin/
- [centos@ip-172-31-2-239 bin]$ ls
- jsw nexus nexus.bat
- [centos@ip-172-31-2-239 bin]$ vi nexus
- # .bashrc
- [centos@ip-172-31-2-239 bin]$ cd ..
- [centos@ip-172-31-2-239 nexus]$ ls
- bin conf lib logs nexus NOTICE.txt tmp
- [centos@ip-172-31-2-239 nexus]$ cd
- [centos@ip-172-31-2-239 ~]$ cd /opt/
- [centos@ip-172-31-2-239 opt]$ ls
- [centos@ip-172-31-2-239 opt]$ cd
- [centos@ip-172-31-2-239 ~]$ su nexusguy
- Password:
- [nexusguy@ip-172-31-2-239 centos]$ vi ~/.bashrc
- [nexusguy@ip-172-31-2-239 centos]$ exit
- exit
- [centos@ip-172-31-2-239 ~]$ vi ~/.bashrc
- [centos@ip-172-31-2-239 ~]$ vi /usr/local/nexus/bin/nexus
- nexus nexus.bat
- [centos@ip-172-31-2-239 ~]$ vi /usr/local/nexus/bin/nexus
- [centos@ip-172-31-2-239 ~]$ sudo !!
- sudo vi /usr/local/nexus/bin/nexus
- [centos@ip-172-31-2-239 ~]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- [centos@ip-172-31-2-239 ~]$ cd /etc/init.d/
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ sudo update-rc.d nexus defaults
- sudo: update-rc.d: command not found
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
- error reading information on service nexus: No such file or directory
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ cd nexus
- -bash: cd: nexus: No such file or directory
- [centos@ip-172-31-2-239 init.d]$ vi ne
- netconsole network nexus
- [centos@ip-172-31-2-239 init.d]$ vi nexus
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ cd net
- netconsole network
- [centos@ip-172-31-2-239 init.d]$ cd network
- -bash: cd: network: Not a directory
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
- error reading information on service nexus: No such file or directory
- [centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- ln: failed to create symbolic link ‘/etc/init.d/nexus’: File exists
- [centos@ip-172-31-2-239 init.d]$ sudo rm nexus
- [centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- ln: failed to create symbolic link ‘/etc/init.d/nexus’: File exists
- [centos@ip-172-31-2-239 init.d]$ sudo rm nexus
- [centos@ip-172-31-2-239 init.d]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
- error reading information on service nexus: No such file or directory
- [centos@ip-172-31-2-239 init.d]$ echo $NEXUS-HOME
- -HOME
- [centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
- [centos@ip-172-31-2-239 init.d]$ vi ~/.bashrc
- [centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
- [centos@ip-172-31-2-239 init.d]$ source ~/.bashrc
- [centos@ip-172-31-2-239 init.d]$ echo $NEXUS_HOME
- /usr/local/nexus
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
- error reading information on service nexus: No such file or directory
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ sudo rm nexus
- [centos@ip-172-31-2-239 init.d]$ cd
- [centos@ip-172-31-2-239 ~]$ sudo ln -s $NEXUS_HOME/bin/nexus /etc/init.d/nexus
- [centos@ip-172-31-2-239 ~]$ cd /etc/init.d/
- [centos@ip-172-31-2-239 init.d]$ ls
- functions netconsole network nexus README
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --add nexus
- [centos@ip-172-31-2-239 init.d]$ sudo chkconfig --levels 345 nexus on
- [centos@ip-172-31-2-239 init.d]$ sudo service nexus start
- Starting Nexus Repository Manager...
- Nexus Repository Manager is already running.
- [centos@ip-172-31-2-239 init.d]$ sudo service nexus stop
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- [centos@ip-172-31-2-239 init.d]$ sudo service nexus stopcd
- Usage: /etc/init.d/nexus { console | start | stop | restart | status | dump }
- [centos@ip-172-31-2-239 init.d]$ cd
- [centos@ip-172-31-2-239 ~]$ sudo service nexus stop
- Stopping Nexus Repository Manager...
- Nexus Repository Manager was not running.
- [centos@ip-172-31-2-239 ~]$ sudo service nexus start
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [centos@ip-172-31-2-239 ~]$ tail -f /var/lo
- local/ lock/ log/
- [centos@ip-172-31-2-239 ~]$ tail -f /var/log/
- anaconda/ btmp cloud-init-output.log dmesg.old maillog secure tomcat/ yum.log
- audit/ chrony/ cron httpd/ messages spooler tuned/
- boot.log cloud-init.log dmesg lastlog ppp/ tallylog wtmp
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/s
- sbin/ share/ sonatype-work/ src/
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/s
- sbin/ share/ sonatype-work/ src/
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/
- nexus/ README.txt
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/
- access/ broker/ db/ health-check/ iq/ nexus.lock orient/ storage/
- backup/ conf/ felix-cache/ indexer/ logs/ nuget/ plugin-repository/ timeline/
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/logs/
- nexus.log nexus.log.2016-11-20.gz request-2016-11-20.log.gz request.log
- [centos@ip-172-31-2-239 ~]$ tail -f /usr/local/sonatype-work/nexus/logs/nexus.log
- 2016-11-27 17:00:53,867+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.rest.NexusApplication_UriMatching - Strict URI matching: true
- 2016-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
- 2016-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.
- 2016-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
- 2016-11-27 17:00:56,088+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.webresources.internal.WebResourceServiceImpl - Discovered 3021 resources
- 2016-11-27 17:00:56,089+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.webresources.internal.WebResourceServlet - Max-age: 30 days (2592000 seconds)
- 2016-11-27 17:00:56,220+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.InstrumentedSelectChannelConnector - Metrics enabled
- 2016-11-27 17:00:56,243+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.AbstractConnector - Started InstrumentedSelectChannelConnector@0.0.0.0:8081
- 2016-11-27 17:00:56,243+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Running
- 2016-11-27 17:00:56,243+0000 INFO [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Started
- ^C
- [centos@ip-172-31-2-239 ~]$ sudo service nexus stop
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- [centos@ip-172-31-2-239 ~]$ su nexus guy
- su: user nexus does not exist
- [centos@ip-172-31-2-239 ~]$ s nexusgun
- -bash: s: command not found
- [centos@ip-172-31-2-239 ~]$ s nexusguy
- -bash: s: command not found
- [centos@ip-172-31-2-239 ~]$ su nexusguy
- Password:
- su: Authentication failure
- [centos@ip-172-31-2-239 ~]$ su nexusguy fon1pcs1
- Password:
- bash: fon1pcs1: Permission denied
- [centos@ip-172-31-2-239 ~]$ su nexusguy
- Password:
- [nexusguy@ip-172-31-2-239 centos]$ service nexus start
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [nexusguy@ip-172-31-2-239 centos]$ service nexus stop
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- [nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus start
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [nexusguy@ip-172-31-2-239 centos]$ exit
- exit
- [centos@ip-172-31-2-239 ~]$ sudo service apache2 start
- Redirecting to /bin/systemctl start apache2.service
- Failed to start apache2.service: Unit apache2.service failed to load: No such file or directory.
- [centos@ip-172-31-2-239 ~]$ sudo service httpd start
- Redirecting to /bin/systemctl start httpd.service
- [centos@ip-172-31-2-239 ~]$ ls
- nexus-professional-2.14.0-01-bundle.tar.gz
- [centos@ip-172-31-2-239 ~]$ sudo service tomcat start
- Redirecting to /bin/systemctl start tomcat.service
- [centos@ip-172-31-2-239 ~]$ su nexusguy
- Password:
- [nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus restart
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus status
- Nexus Repository Manager is running (4688).
- [nexusguy@ip-172-31-2-239 centos]$ /usr/local/nexus/bin/nexus stop
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- [nexusguy@ip-172-31-2-239 centos]$ exit
- exit
- [centos@ip-172-31-2-239 ~]$ service nexus start
- Password:
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [centos@ip-172-31-2-239 ~]$ service nexus stop
- Password:
- Stopping Nexus Repository Manager...
- Stopped Nexus Repository Manager.
- [centos@ip-172-31-2-239 ~]$ sudo service nexus start
- Starting Nexus Repository Manager...
- Started Nexus Repository Manager.
- [centos@ip-172-31-2-239 ~]$ Connection to 172.31.2.239 closed by remote host.
- Connection to 172.31.2.239 closed.
- ✘ hammidfunsho@Hammids-MacBook-Pro ~ ssh centos@172.31.2.239
- Last login: Sun Nov 27 17:12:21 2016 from ip-172-31-0-4.ec2.internal
- [centos@ip-172-31-2-239 ~]$ packet_write_wait: Connection to 172.31.2.239: Broken pipe
- ✘ hammidfunsho@Hammids-MacBook-Pro ~ ls
- Applications Homestead SeleniumJava.java hello_selenium_ii
- Desktop Library Soft_Dev hellodemo.pem
- Documents Movies Solarized Dark.itermcolors jmeter.log
- Downloads Music VirtualBox VMs mac-cli
- Dropbox Pictures WebGoat-Legacy training-mtw-sample
- HelloWorld.java Public example.html vagrant_getting_started
- hammidfunsho@Hammids-MacBook-Pro ~ cd Soft_Dev
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev ls
- Chef bash_scripts prophetRE sel_repr
- RemoteSystemsTempFiles bootstrap.sh python selenium_framework
- SecureCI Testing Framework continuous_integration regression_tests_reprophet selenium_hello_world5_test
- Selenium_IDE demo_regression reprophet selenium_hello_world7_test
- Servers hello_selenium_II reprophet-tests selenium_regression
- Vagrantfile hello_world5 reprophet2 training-demo
- acme_test laravel reprophet_selenium training-mtw-sample
- aws_user_management php ruby
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev mkdir secureCI_test_framework
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev cd secureCI
- cd: no such file or directory: secureCI
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev cd secureCI_test_framework
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework ls
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework git clone <target name="run" depends="compile" description="Run tests in parallel">
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <java classpathref="classpath" classname="org.testng.TestNG" failonerror="true">
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <sysproperty key="browser" value="${browser}" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <sysproperty key="hubAddress" value="${hubAddress}" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <sysproperty key="appURL" value="${appURL}" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="-d" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="${out-dir}" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="-suitename" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="Default suite" />
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="-parallel"/>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="methods"/>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="-threadcount"/>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="20"/>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework <arg value="${test-suite}"/>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework </java>
- zsh: parse error near `\n'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework git clone https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git
- Cloning into 'SecureCI-Testing-Framework'...
- Username for 'https://gitlab.com': hammid.funsho@coveros.com
- Password for 'https://hammid.funsho@coveros.com@gitlab.com':
- remote: HTTP Basic: Access denied
- fatal: Authentication failed for 'https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git/'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework git clone https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git
- Cloning into 'SecureCI-Testing-Framework'...
- Username for 'https://gitlab.com': hammid.funsho@coveros.com
- Password for 'https://hammid.funsho@coveros.com@gitlab.com':
- remote: HTTP Basic: Access denied
- remote: You have 2FA enabled, please use a personal access token for Git over HTTP.
- remote: You can generate one at https://gitlab.com/profile/personal_access_tokens
- fatal: Authentication failed for 'https://gitlab.com/max-saperstone/SecureCI-Testing-Framework.git/'
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework git clone git@gitlab.com:max-saperstone/SecureCI-Testing-Framework.git
- Cloning into 'SecureCI-Testing-Framework'...
- remote: Counting objects: 199, done.
- remote: Compressing objects: 100% (116/116), done.
- remote: Total 199 (delta 95), reused 128 (delta 57)
- Receiving objects: 100% (199/199), 5.46 MiB | 8.79 MiB/s, done.
- Resolving deltas: 100% (95/95), done.
- Checking connectivity... done.
- <target name="replace">
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework ls
- SecureCI-Testing-Framework
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework cd SecureCI-Testing-Framework
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework master ls
- README.md build.xml chromedriver.exe lib src testng.xml
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework master vi build.xml
- hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework master ant clean
- Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
- clean:
- BUILD SUCCESSFUL
- Total time: 0 seconds
- 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
- Unknown argument: -appURL=google.com
- ant [options] [target [target2 [target3] ...]]
- Options:
- -help, -h print this message and exit
- -projecthelp, -p print project help information and exit
- -version print the version information and exit
- -diagnostics print information that might be helpful to
- diagnose or report problems and exit
- -quiet, -q be extra quiet
- -silent, -S print nothing but task outputs and build failures
- -verbose, -v be extra verbose
- -debug, -d print debugging information
- -emacs, -e produce logging information without adornments
- -lib <path> specifies a path to search for jars and classes
- -logfile <file> use given file for log
- -l <file> ''
- -logger <classname> the class which is to perform logging
- -listener <classname> add an instance of class as a project listener
- -noinput do not allow interactive input
- -buildfile <file> use given buildfile
- -file <file> ''
- -f <file> ''
- -D<property>=<value> use value for given property
- -keep-going, -k execute all targets that do not depend
- on failed target(s)
- -propertyfile <name> load all properties from file with -D
- properties taking precedence
- -inputhandler <class> the class which will handle input requests
- -find <file> (s)earch for buildfile towards the root of
- -s <file> the filesystem and use it
- -nice number A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default
- -nouserlib Run ant without using the jar files from ${user.home}/.ant/lib
- -noclasspath Run ant without using CLASSPATH
- -autoproxy Java1.5+: use the OS proxy settings
- -main <class> override Ant's normal entry point
- ✘ 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
- Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
- BUILD FAILED
- Target "run" does not exist in the project "SecureCI Testing Framework".
- Total time: 0 seconds
- ✘ hammidfunsho@Hammids-MacBook-Pro ~/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework master vi build.xml
- 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
- Buildfile: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/build.xml
- classpath:
- compile:
- [mkdir] Created dir: /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/test-output/classes
- [javac] Compiling 12 source files to /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/test-output/classes
- [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
- [javac] import org.apache.commons.io.FileUtils;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.opera.OperaDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.remote.Augmenter;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.remote.CapabilityType;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.remote.DesiredCapabilities;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.remote.RemoteWebDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.safari.SafariDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.support.ui.Select;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.Alert;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.By;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.JavascriptExecutor;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.Keys;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.NoAlertPresentException;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.NoSuchElementException;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.OutputType;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.Proxy;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.StaleElementReferenceException;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.TakesScreenshot;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.WebDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.WebElement;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.chrome.ChromeDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.edge.EdgeDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.firefox.FirefoxDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.ie.InternetExplorerDriver;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.interactions.Actions;
- [javac] ^
- [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
- [javac] import org.openqa.selenium.Cookie;
- [javac] ^
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:82: error: cannot find symbol
- [javac] private WebDriver driver;
- [javac] ^
- [javac] symbol: class WebDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:231: error: cannot find symbol
- [javac] public WebDriver getDriver() {
- [javac] ^
- [javac] symbol: class WebDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:978: error: cannot find symbol
- [javac] public List<WebElement> getTableRows(Locators type, String locator)
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1020: error: cannot find symbol
- [javac] public List<WebElement> getTableColumns(Locators type, String locator)
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1104: error: cannot find symbol
- [javac] public List<WebElement> getTableColumn(Locators type, String locator, int colNum)
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1143: error: cannot find symbol
- [javac] public WebElement getTableCell(Locators type, String locator, int row, int col)
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1433: error: cannot find symbol
- [javac] public int type(Locators type, String locator, Keys key)
- [javac] ^
- [javac] symbol: class Keys
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1892: error: cannot find symbol
- [javac] private By defineByElement(Locators type, String locator) throws InvalidLocatorTypeException {
- [javac] ^
- [javac] symbol: class By
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1941: error: cannot find symbol
- [javac] public WebElement getWebElement(Locators type, String locator) throws InvalidLocatorTypeException {
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1960: error: cannot find symbol
- [javac] private List<WebElement> getWebElements(Locators type, String locator) throws InvalidLocatorTypeException {
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:2300: error: cannot find symbol
- [javac] public Cookie getCookie(String expectedCookieName) {
- [javac] ^
- [javac] symbol: class Cookie
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:104: error: cannot find symbol
- [javac] DesiredCapabilities capability;
- [javac] ^
- [javac] symbol: class DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:110: error: cannot find symbol
- [javac] capability = DesiredCapabilities.htmlUnitWithJs();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:114: error: cannot find symbol
- [javac] capability = DesiredCapabilities.firefox();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:118: error: cannot find symbol
- [javac] capability = DesiredCapabilities.chrome();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:122: error: cannot find symbol
- [javac] capability = DesiredCapabilities.internetExplorer();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:126: error: cannot find symbol
- [javac] capability = DesiredCapabilities.edge();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:130: error: cannot find symbol
- [javac] capability = DesiredCapabilities.android();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:134: error: cannot find symbol
- [javac] capability = DesiredCapabilities.iphone();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:138: error: cannot find symbol
- [javac] capability = DesiredCapabilities.ipad();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:142: error: cannot find symbol
- [javac] capability = DesiredCapabilities.safari();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:146: error: cannot find symbol
- [javac] capability = DesiredCapabilities.operaBlink();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:150: error: cannot find symbol
- [javac] capability = DesiredCapabilities.phantomjs();
- [javac] ^
- [javac] symbol: variable DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:161: error: cannot find symbol
- [javac] Proxy proxy = new Proxy();
- [javac] ^
- [javac] symbol: class Proxy
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:161: error: cannot find symbol
- [javac] Proxy proxy = new Proxy();
- [javac] ^
- [javac] symbol: class Proxy
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:163: error: cannot find symbol
- [javac] capability.setCapability(CapabilityType.PROXY, proxy);
- [javac] ^
- [javac] symbol: variable CapabilityType
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:166: error: cannot find symbol
- [javac] driver = new RemoteWebDriver(new URL(hubAddress), capability);
- [javac] ^
- [javac] symbol: class RemoteWebDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:168: error: cannot find symbol
- [javac] capability = new DesiredCapabilities();
- [javac] ^
- [javac] symbol: class DesiredCapabilities
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:172: error: cannot find symbol
- [javac] Proxy proxy = new Proxy();
- [javac] ^
- [javac] symbol: class Proxy
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:172: error: cannot find symbol
- [javac] Proxy proxy = new Proxy();
- [javac] ^
- [javac] symbol: class Proxy
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:174: error: cannot find symbol
- [javac] capability.setCapability(CapabilityType.PROXY, proxy);
- [javac] ^
- [javac] symbol: variable CapabilityType
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:183: error: cannot find symbol
- [javac] driver = new FirefoxDriver(capability);
- [javac] ^
- [javac] symbol: class FirefoxDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:187: error: cannot find symbol
- [javac] driver = new ChromeDriver(capability);
- [javac] ^
- [javac] symbol: class ChromeDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:191: error: cannot find symbol
- [javac] driver = new InternetExplorerDriver(capability);
- [javac] ^
- [javac] symbol: class InternetExplorerDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:195: error: cannot find symbol
- [javac] driver = new EdgeDriver(capability);
- [javac] ^
- [javac] symbol: class EdgeDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:204: error: cannot find symbol
- [javac] driver = new SafariDriver(capability);
- [javac] ^
- [javac] symbol: class SafariDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:208: error: cannot find symbol
- [javac] driver = new OperaDriver(capability);
- [javac] ^
- [javac] symbol: class OperaDriver
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:357: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:358: error: cannot find symbol
- [javac] } catch (StaleElementReferenceException e) {
- [javac] ^
- [javac] symbol: class StaleElementReferenceException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:475: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:536: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:601: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:664: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:726: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:727: error: cannot find symbol
- [javac] } catch (StaleElementReferenceException e) {
- [javac] ^
- [javac] symbol: class StaleElementReferenceException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:770: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:775: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:817: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:859: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:901: error: cannot find symbol
- [javac] } catch (NoSuchElementException e) {
- [javac] ^
- [javac] symbol: class NoSuchElementException
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:933: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:934: error: cannot find symbol
- [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:934: error: cannot find symbol
- [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
- [javac] ^
- [javac] symbol: variable By
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:958: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:959: error: cannot find symbol
- [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:959: error: cannot find symbol
- [javac] List<WebElement> allOptions = element.findElements(By.tagName("option"));
- [javac] ^
- [javac] symbol: variable By
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:985: error: cannot find symbol
- [javac] return new ArrayList<WebElement>();
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:987: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:989: error: cannot find symbol
- [javac] return element.findElements(By.tagName("tr"));
- [javac] ^
- [javac] symbol: variable By
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1005: error: cannot find symbol
- [javac] List<WebElement> rows = getTableRows(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1027: error: cannot find symbol
- [javac] return new ArrayList<WebElement>();
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1029: error: cannot find symbol
- [javac] WebElement element = getWebElement(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1031: error: cannot find symbol
- [javac] return element.findElements(By.xpath(".//tr[1]/th"));
- [javac] ^
- [javac] symbol: variable By
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1047: error: cannot find symbol
- [javac] List<WebElement> columns = getTableColumns(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1074: error: cannot find symbol
- [javac] List<WebElement> tables = getWebElements(type, locator);
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1075: error: cannot find symbol
- [javac] for (WebElement table : tables) {
- [javac] ^
- [javac] symbol: class WebElement
- [javac] location: class SeleniumHelper
- [javac] /Users/hammidfunsho/Soft_Dev/secureCI_test_framework/SecureCI-Testing-Framework/src/tools/selenium/SeleniumHelper.java:1077: error: cannot find symbol
- [javac] List<WebElement> rows = table.findElements(By.tagName("tr"));
- [javac] ^
- <project name="SecureCI Testing Framework" basedir="." default="run">
- <property name="jars" value="lib" />
- <property name="rootdir" value="./" />
- <property name="src-dir" value="./src" />
- <property name="out-dir" value="./test-output" />
- <property name="junit-dir" value="${out-dir}/JUnit" />
- <property name="com-dir" value="${out-dir}/classes" />
- <property name="doc-dir" value="./doc" />
- <target name="clean">
- <delete dir="${out-dir}" />
- </target>
- <target name="classpath">
- <path id="classpath">
- <fileset dir="${jars}">
- <include name="*.jar"/>
- </fileset>
- <pathelement location="${com-dir}"/>
- </path>
- </target>
- <target name="compile" depends="classpath">
- <mkdir dir="${com-dir}" />
- <javac srcdir="${src-dir}" destdir="${com-dir}" classpathref="classpath" includeantruntime="false" />
- </target>
- <target name="resetDBviaSSH">
- <sshexec host="fms.app"
- username="vagrant"
- keyfile="~/.ssh/id_rsa"
- command="ll"/>
- </target>
- <target name="resetDB">
- <exec executable="/bin/sh">
- <arg value="-c" />
- <arg value="ssh vagrant@fms.app 'cd Code; php artisan migrate:reset; php artisan migrate --seed'"/>
- </exec>
- </target>
- <target name="run" depends="compile" description="Run tests in parallel">
- <java classpathref="classpath" classname="org.testng.TestNG" failonerror="true">
- <sysproperty key="browser" value="${browser}" />
- <sysproperty key="hubAddress" value="${hubAddress}" />
- <sysproperty key="appURL" value="${appURL}" />
- <arg value="-d" />
- <arg value="${out-dir}" />
- <arg value="-suitename" />
- <arg value="Default suite" />
- <arg value="-parallel"/>
- <arg value="methods"/>
- <arg value="-threadcount"/>
- <arg value="20"/>
- <arg value="${test-suite}"/>
- </java>
- </target>
- <target name="replace">
- <replaceregexp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement