-
Notifications
You must be signed in to change notification settings - Fork 41
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 #727 from jayesh12234/develop
MOSIP-34293,MOSIP-32510
- Loading branch information
Showing
25 changed files
with
737 additions
and
1,637 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
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
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
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
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
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
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
83 changes: 53 additions & 30 deletions
83
uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/BookinganAppointment.java
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 |
---|---|---|
@@ -1,30 +1,53 @@ | ||
package io.mosip.testrig.residentui.testcase; | ||
|
||
import org.openqa.selenium.By; | ||
import org.testng.annotations.Test; | ||
|
||
import io.mosip.testrig.residentui.utility.Commons; | ||
import io.mosip.testrig.residentui.utility.JsonUtil; | ||
import io.mosip.testrig.residentui.utility.ResidentBaseClass; | ||
|
||
public class BookinganAppointment extends ResidentBaseClass { | ||
|
||
@Test | ||
public void bookinganAppointment () throws Exception { | ||
String externalemail=""; | ||
|
||
|
||
|
||
Commons.click(test,driver, By.id("dashboardCard3")); | ||
Commons.click(test,driver, By.xpath("(//div[text()=' LOGIN'])[2]")); | ||
Commons.click(test,driver, By.xpath("//mat-select[@role='listbox']")); | ||
//Commons.dropdown(driver, By.id("mat-select-0")); | ||
//Commons.dropdown(driver, By.id("mat-select-0"), "français"); | ||
//Commons.enter(driver, By.id("inputFieldContact"), "[email protected]"); | ||
|
||
|
||
|
||
|
||
|
||
} | ||
} | ||
//package io.mosip.testrig.residentui.testcase; | ||
// | ||
//import java.util.ArrayList; | ||
// | ||
//import org.openqa.selenium.By; | ||
//import org.testng.annotations.Test; | ||
// | ||
//import io.mosip.testrig.residentui.kernel.util.ConfigManager; | ||
//import io.mosip.testrig.residentui.utility.Commons; | ||
//import io.mosip.testrig.residentui.utility.MockSMTPListener; | ||
//import io.mosip.testrig.residentui.utility.ResidentBaseClass; | ||
// | ||
//public class BookinganAppointment extends ResidentBaseClass { | ||
// | ||
// @Test | ||
// public void bookinganAppointment () throws Exception { | ||
//// String externalemail = ConfigManager.getexternalemail(); | ||
//// Commons.click(test,driver, By.id("bookingAnAppointment")); | ||
//// ArrayList<String> tabs = new ArrayList<>(driver.getWindowHandles()); | ||
//// driver.switchTo().window(tabs.get(1)); | ||
//// if(ConfigManager.getloginlang().equalsIgnoreCase("fra")) | ||
//// Commons.dropdown(test, driver, By.id("mat-select-0"),"français"); | ||
//// else if (ConfigManager.getloginlang().equalsIgnoreCase("ara")) | ||
//// Commons.dropdown(test, driver, By.id("mat-select-0"),"العَرَبِيَّة"); | ||
//// else | ||
//// Commons.dropdown(test, driver, By.id("mat-select-0"),"English"); | ||
//// Commons.enter(test, driver, By.id("inputFieldContact"), Commons.getDateTime()); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Send OTP ']")); | ||
//// Commons.enter(test, driver, By.id("inputFieldContact"), Commons.getDateTime()+ConfigManager.gettempemail()); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Send OTP ']")); | ||
//// Commons.enter(test, driver, By.id("inputFieldOTP"),"123456"); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Verify ']")); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' OK ']")); | ||
//// Commons.enter(test, driver, By.id("inputFieldOTP"), MockSMTPListener.getOtp(externalemail)); | ||
//// Thread.sleep(180000); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Send OTP ']")); | ||
//// Commons.enter(test, driver, By.id("inputFieldOTP"), MockSMTPListener.getOtp(externalemail)); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Verify ']")); | ||
//// Commons.click(test,driver, By.id("mat-checkbox-2")); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Submit ']")); | ||
//// Commons.click(test,driver, By.id("mat-checkbox-4-input")); | ||
//// Commons.click(test,driver, By.xpath("//*[text()=' Accept ']")); | ||
//// Commons.enter(test, driver, By.id("mat-input-0"),"abc"+Commons.getDateTime()); | ||
//// Commons.enter(test, driver, By.id("mat-input-1"),"abc"+Commons.getDateTime()); | ||
//// Commons.enter(test, driver, By.id("mat-input-3"),"20"); | ||
//// Commons.dropdown(test, driver, By.id("mat-select-0")); | ||
//// Thread.sleep(11111); | ||
// | ||
// | ||
// | ||
// | ||
// } | ||
//} |
19 changes: 9 additions & 10 deletions
19
uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/GetInformation.java
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
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
Oops, something went wrong.