-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from artam109/Onur
Onur
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package US_406; | ||
|
||
import Utility.BaseDriver; | ||
import org.testng.annotations.Test; | ||
|
||
public class PatientSearchInPatientList_Negative extends BaseDriver { | ||
String usernameStr = "admin"; | ||
String passwordStr = "Admin123"; | ||
|
||
@Test(priority = 1) | ||
public void login() { | ||
|
||
// Log in to the application homepage as an admin user. | ||
// Enter the valid credentials (valid credentials are specified above.) | ||
ome.mySendKeys(ome.usernamePlc, usernameStr); | ||
ome.mySendKeys(ome.passwordPlc, passwordStr); | ||
ome.myClick(ome.registrationDesk); | ||
ome.myClick(ome.loginButton); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package US_406; | ||
|
||
import Utility.BaseDriver; | ||
import org.testng.annotations.Test; | ||
|
||
public class PatientSearchInPatientList_Pozitive extends BaseDriver { | ||
String usernameStr = "admin"; | ||
String passwordStr = "Admin123"; | ||
|
||
@Test(priority = 1) | ||
public void login() { | ||
|
||
// Log in to the application homepage as an admin user. | ||
// Enter the valid credentials (valid credentials are specified above.) | ||
ome.mySendKeys(ome.usernamePlc, usernameStr); | ||
ome.mySendKeys(ome.passwordPlc, passwordStr); | ||
ome.myClick(ome.registrationDesk); | ||
ome.myClick(ome.loginButton); | ||
} | ||
} |