forked from WSO2Telco/product-ids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_runner.bat
47 lines (39 loc) · 1.4 KB
/
test_runner.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
git clone https://github.com/WSO2Telco/uitest-framework
git clone -b ids_2.0.0 https://github.com/WSO2Telco/mobile-connect-pageobjects
git clone -b ids_2.0.0 https://github.com/WSO2Telco/identity-server-pageobjects
git clone https://github.com/WSO2Telco/mobile-connect-tests
cd ./uitest-framework
echo "%cd%"
call mvn clean install
echo "-------------------------------"
echo "Building WSO2 Telco uitest-framework Completed"
echo "-------------------------------"
cd ../mobile-connect-pageobjects
echo "%cd%"
call mvn clean install
echo "-------------------------------"
echo "Building WSO2 Telco mobile-connect-pageobjects Completed"
echo "-------------------------------"
cd ../identity-server-pageobjects
echo "%cd%"
call mvn clean install
echo "-------------------------------"
echo "Building WSO2 Telco identity-server-pageobjects Completed"
echo "-------------------------------"
echo "-------------------------------"
cd ../mobile-connect-tests
echo "%cd%"
echo "-------------------------------"
echo "Please Select Environmnet "
echo "Production = p"
echo "Qa = q"
set /p k="Please enter Choice : "
if "%k%" == "q" goto qa
if "%k%" == "p" goto prod
:prod
echo "--------Running Test in Production Environmnet-------------"
call mvn install -Denv=production;
:qa
echo "--------Running Test in QA Environmnet---------------"
call mvn install -Denv=qa;