Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ReadMe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Removed unused file with the name ChromeDriver.
Replaced ChromeDriver.exe to support local machine browser.
Added parameter to access system directory.
Added testng.xml file.

git commit -am"Added comment file"
Binary file removed chromedriver
Binary file not shown.
Binary file modified chromedriver.exe
Binary file not shown.
3 changes: 2 additions & 1 deletion src/main/java/FlightBookingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ private void setDriverPath() {
System.setProperty("webdriver.chrome.driver", "chromedriver");
}
if (PlatformUtil.isWindows()) {
System.setProperty("webdriver.chrome.driver", "chromedriver.exe");
String sDir = System.getProperty("user.dir");
System.setProperty("webdriver.chrome.driver", sDir+"/chromedriver.exe");
}
if (PlatformUtil.isLinux()) {
System.setProperty("webdriver.chrome.driver", "chromedriver_linux");
Expand Down
10 changes: 10 additions & 0 deletions testng.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UFT-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd" >

<suite name="Suite1" parallel="tests" thread-count="3" >
<test name="SignIn" >
<classes>
<class name="SignInTest"/>
</classes>
</test>
</suite>