You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by er...@apache.org on 2015/08/07 15:33:03 UTC

airavata-php-gateway git commit: Updated README.txt

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 49158299b -> 68894b8dc


Updated README.txt


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/68894b8d
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/68894b8d
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/68894b8d

Branch: refs/heads/master
Commit: 68894b8dc084e311be7d8602c0f03b38fc036e42
Parents: 4915829
Author: Eroma Abeysinghe <er...@apache.org>
Authored: Fri Aug 7 09:32:49 2015 -0400
Committer: Eroma Abeysinghe <er...@apache.org>
Committed: Fri Aug 7 09:32:49 2015 -0400

----------------------------------------------------------------------
 app/tests/selenium/README.txt | 46 ++++++++++++++++++++++----------------
 1 file changed, 27 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/68894b8d/app/tests/selenium/README.txt
----------------------------------------------------------------------
diff --git a/app/tests/selenium/README.txt b/app/tests/selenium/README.txt
index c050ce0..877de53 100644
--- a/app/tests/selenium/README.txt
+++ b/app/tests/selenium/README.txt
@@ -10,42 +10,50 @@ https://support.mozilla.org/en-US/kb/install-older-version-of-firefox
 
 2. Copy all PHP-Reference-Gateway application input files from 
 https://iu.box.com/s/9ztdby709kso8siachz16svn2y511nn7 
-4. Download the Selenium Java test project from
 
+3. Clone the airavata-php-gateway; 
+“git clone https://github.com/apache/airavata-php-gateway.git”
+
+4. In the folder structure go to app/tests/selenium
+
+5. Follow instructions below to modify test configurations in exp.properties
 ###########################################################################
 
 
 ###############Environments available for Running the Scripts##############
 Selenium test are executed through PHP-Reference-Gateway by giving the URL
 Current Production URLs
-Base URL: http://test-drive.airavata.org/PHP-Reference-Gateway
-Sub URL: index.php
+Base URL: http://testdrive.airavata.org/portal/pga/public/
+Sub URL: home
 ###########################################################################
 
 
 ###################Script Alterations & Execution Steps###################
-1. Add the Base URL and sub URL in to exp.properties.
+1. Create a user account manually in the gateway using  https://testdrive.airavata.org/portal/pga/public/create
 
-2. Create a user login using the class; CreateUserLogin. Enter all your parameters and execute.
+2. Open exp.properties file and add the Base URL and sub URL(both given above)
 
-3. Change the config file with values prefered for 
-		i.	Project Name
-		ii. Project Description
-		iii.Experiment Name Extension
+3. Add properties given below to exp.properties;
 		
-2. In exp.properties file enter; 
-	i. The correct base URL and sub URL of your working PPHP-Reference-Gateway.
-	ii. Change the path of the input files (Where the files exists in your local machine) for the applications. 
-	iii. The static part of the path is in the config file and the varying part is in utils file ExpFileReadUtils.
+		i.	Username
+		ii.	password
+		iii.	Project Name
+		iV.	Project Description
+		V.	Experiment Name Extension
+		VI.	Email addresses (thees are required to receive job notifications from resources)
+		VII.	Your own local path to application input files 
 	
-4. Execution Steps
-		i.		CreateUserLogin.java - Already done above
-		ii.		In UserLogin class change the username and password to your own username and password
+4. In the command line after cloning and changing the properties execute “mvn clean install” 
+When the code is built existing RunAllTests will execute. This will create a project and launch all application experiments in the gateway.  
+
+5. Manual Execution Steps 
+		i.	CreateUserLogin.java - Already done above
+		ii.	In UserLogin class change the username and password to your own username and password
 		iii.	CreateModifySearchProject.java - Create A Project, Modify and Search for the Project
-		iV.		Run Experiment creation scripts at your prefered sequence 
+		iV.	Run Experiment creation scripts at your preffered sequence 
 		OR
-		V. 		Use RunAllTests and run all the applications at once. 
-		VI.		If you want to do laod testing use ExpLoadTest class
+		V. 	Use RunAllTests and run all the applications at once. 
+		VI.	If you want to do load testing use ExpLoadTest class
 		VII.	At the end run the SearchProjectExp.java to view your experiments (For the ease you can create all your experiments under one Project)
 		VIII.	UserLogout.java
 ###########################################################################