Skip to content

Commit

Permalink
appium
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdelrhman-Ellithy committed Nov 15, 2024
1 parent 35066bc commit 6c1c041
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ target/*
TestNGRunner.xml

Ellithium.pptx
src/test/resources/TestData/DB-Info.json
DB-Info.json


# Ignore content of specific directories but include .gitkeep for empty folders
Test-Output/Logs/*
!Test-Output/Logs/.gitkeep
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/test/java/Tests/DBTEst.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
public class DBTEst {
@Test
public void testDB(){
String username=JsonHelper.getJsonKeyValue("src/test/resources/TestData/DB-Info","userName");
String password=JsonHelper.getJsonKeyValue("src/test/resources/TestData/DB-Info","password");
String serverIp=JsonHelper.getJsonKeyValue("src/test/resources/TestData/DB-Info","serverIp");
String port=JsonHelper.getJsonKeyValue("src/test/resources/TestData/DB-Info","port");
String dbName=JsonHelper.getJsonKeyValue("src/test/resources/TestData/DB-Info","dbName");
String username=JsonHelper.getJsonKeyValue("DB-Info","userName");
String password=JsonHelper.getJsonKeyValue("DB-Info","password");
String serverIp=JsonHelper.getJsonKeyValue("DB-Info","serverIp");
String port=JsonHelper.getJsonKeyValue("DB-Info","port");
String dbName=JsonHelper.getJsonKeyValue("DB-Info","dbName");
SQLDatabaseProvider db=new SQLDatabaseProvider(
SQLDBType.MY_SQL,
username,
Expand Down

0 comments on commit 6c1c041

Please sign in to comment.