diff --git a/DCIMC_Check/CMSU Insight.xlsx b/DCIMC_Check/CMSU Insight.xlsx new file mode 100644 index 0000000..d457a29 Binary files /dev/null and b/DCIMC_Check/CMSU Insight.xlsx differ diff --git a/DCIMC_Check/Interactions_5th_June_2024.xls b/DCIMC_Check/Interactions_5th_June_2024.xls new file mode 100644 index 0000000..117f8f2 Binary files /dev/null and b/DCIMC_Check/Interactions_5th_June_2024.xls differ diff --git a/DCIMC_Check/Medical Insight.xlsx b/DCIMC_Check/Medical Insight.xlsx new file mode 100644 index 0000000..f6adcab Binary files /dev/null and b/DCIMC_Check/Medical Insight.xlsx differ diff --git a/DCIMC_Check/pom.xml b/DCIMC_Check/pom.xml index 0bfba6e..6ec20fb 100755 --- a/DCIMC_Check/pom.xml +++ b/DCIMC_Check/pom.xml @@ -1,4 +1,4 @@ - + 4.0.0 DCIMC_Check DCIMC_Check @@ -37,13 +37,6 @@ 2.41.2 - - - org.seleniumhq.selenium - selenium-java - 4.18.1 - - @@ -53,6 +46,15 @@ test + + + org.seleniumhq.selenium + selenium-java + 4.20.0 + + + + io.github.bonigarcia @@ -82,13 +84,6 @@ 4.1.2 - - - com.sun.mail - javax.mail - 1.6.2 - - org.apache.poi @@ -108,12 +103,6 @@ 5.1.0 - - - org.apache.poi - poi-ooxml - 3.9 - @@ -128,15 +117,6 @@ 3.4 - - - io.github.bonigarcia - webdrivermanager - 5.7.0 - - - com.sun.mail javax.mail diff --git a/DCIMC_Check/src/test/java/Generic/GenericTest.java b/DCIMC_Check/src/test/java/Generic/GenericTest.java index 14ba5d2..f89bb72 100755 --- a/DCIMC_Check/src/test/java/Generic/GenericTest.java +++ b/DCIMC_Check/src/test/java/Generic/GenericTest.java @@ -46,7 +46,7 @@ public class GenericTest { public void setUp() { WebDriverManager.chromedriver().setup(); - ChromeOptions options = new ChromeOptions(); + ChromeOptions options = new ChromeOptions(); options.addArguments("--no-sandbox"); options.addArguments("headless"); @@ -57,7 +57,7 @@ public class GenericTest { driver = new ChromeDriver(options); - // driver = new ChromeDriver(); + // driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); } @@ -81,9 +81,9 @@ public class GenericTest { @Test public void performTestForSet() throws InterruptedException { ConfigReader config = new ConfigReader(); - String[] sets = {"set1", "set2", "set3", "set4", "set5", "set6", "set7", "set8", "set10", "set12", "set13", "set15", "set16", "set17", "set18", "set19", "set20", "set21", "set22", "set23", "set24", "set14"}; + String[] sets = {"set1", "set2", "set3", "set4", "set5", "set6", "set7", "set8", "set10", "set12", "set13", "set15", "set16", "set17", "set18", "set19", "set20", "set22", "set23", "set24", "set21"}; // String[] sets = {"set1", "set2", "set3", "set4", "set5", "set6", "set7", "set8", "set10", "set12", "set13", "set15"}; - // String[] sets = {"set4"}; + // String[] sets = {"set12", "set13", "set15", "set16", "set17", "set18", "set19", "set20", "set22", "set23", "set24", "set21"}; ConsoleOutputToFile.redirectConsoleOutput(); for (String set : sets) { @@ -128,9 +128,9 @@ public class GenericTest { Thread.sleep(6000); // Discover - + ////div[@class='navLinkIdentify sprite_iconSet activeIcon'] driver.findElement(By.xpath("//div[@class='navLinkIdentify sprite_iconSet']")).click(); - Thread.sleep(1000); + Thread.sleep(2000); WebDriverWait wait = new WebDriverWait(driver, 60); wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//div[normalize-space()='Reset']"))); Thread.sleep(6000); diff --git a/DCIMC_Check/src/test/java/Utilities/EmailUtils.java b/DCIMC_Check/src/test/java/Utilities/EmailUtils.java index 43fd75c..bc72b4a 100755 --- a/DCIMC_Check/src/test/java/Utilities/EmailUtils.java +++ b/DCIMC_Check/src/test/java/Utilities/EmailUtils.java @@ -19,7 +19,7 @@ public class EmailUtils { private static final String FROM_EMAIL = "contentservice@aissel.com"; private static final String PASSWORD = "prfnfykatlfxqonu"; - // private static final String[] TO_EMAILS = {"santoshp@aissel.com", "shashikumark@aissel.com", "qa@aissel.konectar.io", "rohitp@aissel.com", "ashwini.p@aissel.com", "saurabha@aissel.com", "kreigstonw@aissel.com", "dinakarks@aissel.com", "suraj@aissel.com", "laxmank@aissel.com", "vinodh@aissel.com"}; + // private static final String[] TO_EMAILS = {"santoshp@aissel.com", "shashikumark@aissel.com", "qa@aissel.konectar.io", "rohitp@aissel.com", "ashwini.p@aissel.com", "saurabha@aissel.com", "kreigstonw@aissel.com", "dinakarks@aissel.com", "suraj@aissel.com", "laxmank@aissel.com", "vinodh@aissel.com"}; private static final String[] TO_EMAILS = {"shashikumark@aissel.com"}; private static final Logger logger = LoggerFactory.getLogger(EmailUtils.class); diff --git a/DCIMC_Check/src/test/resources/browser-config.properties b/DCIMC_Check/src/test/resources/browser-config.properties index a91065b..14c0428 100755 --- a/DCIMC_Check/src/test/resources/browser-config.properties +++ b/DCIMC_Check/src/test/resources/browser-config.properties @@ -2,145 +2,145 @@ # Set 1 set1.url=https://cardio.konectar.io set1.username=abbottmgr@aissel.com -set1.password=aisselK^21 +set1.password=konecN$28 set1.options = Amulet KOL List,Piedmont Hospital,Sentara Norfolk,CRF Faculty,Cardiology,Neonatology,Cleveland Clinic,Swedish Medical Center \u2013 Cherry Hill,Vanderbilt Medical Center,New York University (NYU),North Shore University Hospital,Memorial Hermann,University of Kansas Medical Center,Mayo Clinic,MitraClip KOLs,St. Thomas West,CHD KOLs # Set 2 set2.url=https://cardio.konectar.io set2.username=Altatheramgr@aissel.com -set2.password=aisselK^21 +set2.password=konecN$28 set2.options = Cardiac Arrhythmia # Set 3 set3.url=https://cardio.konectar.io set3.username=bdtxmanager@aissel.com -set3.password=aisselK^21 +set3.password=konecN$28 set3.options = Solid Tumor # Set 4 set4.url=https://oralhealth.konectar.io set4.username=carestreammgr@aissel.com -set4.password=aisselK^21 +set4.password=konecN$28 set4.options = Oralhealth # Set 5 set5.url=https://cardio.konectar.io set5.username=chiesimanager@aissel.com -set5.password=aisselK^21 +set5.password=konecN$28 set5.options = Critical Care,Special Care # Set 6 set6.url=https://cardio.konectar.io set6.username=chiesitllmanager@aissel.com -set6.password=aisselK^21 +set6.password=konecN$28 set6.options = Critical Care,Special Care # Set 7 set7.url=https://cmsu.konectar.io set7.username=cmsumanager@aissel.com -set7.password=aisselK^21 +set7.password=konecN$28 set7.options = Medical Imaging # Set 8 set8.url=https://cardio.konectar.io set8.username=ferronova.mgr@aissel.com -set8.password=aisselK^21 +set8.password=konecN$28 set8.options = Tika_Ferronova # Set 9 set9.url=https://cardio.konectar.io set9.username=iteosmgr@aissel.com -set9.password=aisselK^21 +set9.password=konecN$28 set9.options = iTeos Trial HCPs,iTeos EX - US,Oncology # Set 10 set10.url=https://cardio.konectar.io set10.username=ipsenmanager@aissel.com -set10.password=aisselK^21 +set10.password=konecN$28 set10.options = Precision Oncology # Set 11 set11.url=https://oralhealth.konectar.io set11.username=ivoclarmgr@aissel.com -set11.password=aisselK^21 +set11.password=konecN$28 set11.options = Restorartive Dentistry,Secondary List,Oralhealth_EU Staging,Oralhealth # Set 12 set12.url=https://cardio.konectar.io set12.username=MiMedxproductionmgr@aissel.com -set12.password=aisselK^21 +set12.password=konecN$28 set12.options = Tika_MiMedx # Set 13 set13.url=https://cardio.konectar.io set13.username=merusmgr@aissel.com -set13.password=aisselK^21 +set13.password=konecN$28 set13.options = Oncology # Set 14 set14.url=https://cardio.konectar.io set14.username=nateramanager@aissel.com -set14.password=aisselK^21 +set14.password=konecN$28 set14.options = Hepatology,Cardiology,Nephrology,Womens Health,Pulmonology # Set 15 set15.url=https://gastro.konectar.io set15.username=nestlemgr@aissel.com -set15.password=aisselK^21 +set15.password=konecN$28 set15.options = Gastroenterology,EPI and C-Diff NP_PAs # Set 16 set16.url=https://nephro.konectar.io set16.username=nipromedicals@aissel.com -set16.password=aisselK^21 +set16.password=konecN$28 set16.options = Surgery & Vascular Access,Nephrology,Cardiology # Set 17 set17.url=https://onco.konectar.io set17.username=novartismgr@aissel.com -set17.password=aisselK^21 +set17.password=konecN$28 set17.options = Oncology # Set 18 set18.url=https://opko.konectar.io set18.username=opkostaging@aissel.com -set18.password=aisselK^21 +set18.password=konecN$28 set18.options = Nephrology # Set 19 set19.url=https://cardio.konectar.io set19.username=sareptamgr@aissel.com -set19.password=aisselK^21 +set19.password=konecN$28 set19.options = DMD # Set 20 set20.url=https://cardio.konectar.io set20.username=harbingermgr@aissel.com -set20.password=aisselK^21 +set20.password=konecN$28 set20.options = Cancer Screening # Set 21 set21.url=https://Syros.konectar.io set21.username=syrosmanager@aissel.com -set21.password=aisselK^21 +set21.password=konecN$28 set21.options = Hematology/Oncology # Set 22 set22.url=https://tidesmedical.konectar.io set22.username=tidesmanager@aissel.com -set22.password=aisselK^21 +set22.password=konecN$28 set22.options = Wound Management # Set 23 set23.url=https://cardio.konectar.io set23.username=tika_manager@aissel.com -set23.password=aisselK^21 +set23.password=konecN$28 set23.options = Integra_Demo,Tika_Adolescent Psychiatry_Demo,Oncology,Tika_Eisai_Demo,Balt Group_ Demo,Mi_Medx_Demo,Reata_Demo,Alpine Immune_Demo,Deciphera_Demo,TikaMobile-Demo,Cardiometabolic Experts # Set 24 set24.url=https://cardio.konectar.io set24.username=veramanager@aissel.com -set24.password=aisselK^21 +set24.password=konecN$28 set24.options = Iga Nephropathy,IgAN-Vera # Set 25 diff --git a/DCIMC_Check/test-output/Default suite/Default test.html b/DCIMC_Check/test-output/Default suite/Default test.html index 5209622..b4664fa 100644 --- a/DCIMC_Check/test-output/Default suite/Default test.html +++ b/DCIMC_Check/test-output/Default suite/Default test.html @@ -57,9 +57,9 @@ function toggleAllBoxes() { Tests passed/Failed/Skipped:1/0/0 -Started on:Fri May 31 14:34:06 IST 2024 +Started on:Mon Jun 10 16:21:00 IST 2024 -Total time:3108 seconds (3108876 ms) +Total time:5420 seconds (5420634 ms) Included groups: @@ -77,8 +77,8 @@ function toggleAllBoxes() { performTestForSet
Test class: Generic.GenericTest -3103 -Generic.GenericTest@6cb107fd +5418 +Generic.GenericTest@7d3e8655

\ No newline at end of file diff --git a/DCIMC_Check/test-output/Default suite/Default test.xml b/DCIMC_Check/test-output/Default suite/Default test.xml index a8521ce..8ba100d 100644 --- a/DCIMC_Check/test-output/Default suite/Default test.xml +++ b/DCIMC_Check/test-output/Default suite/Default test.xml @@ -1,5 +1,5 @@ - - + + diff --git a/DCIMC_Check/test-output/emailable-report.html b/DCIMC_Check/test-output/emailable-report.html index 9e8b9ae..97694de 100755 --- a/DCIMC_Check/test-output/emailable-report.html +++ b/DCIMC_Check/test-output/emailable-report.html @@ -9,9 +9,9 @@ - +
Test# Passed# Skipped# FailedTime (ms)Included GroupsExcluded Groups
Default suite
Default test1003,108,876
Default test1005,420,634
- +
ClassMethodStartTime (ms)
Default suite
Default test — passed
Generic.GenericTestperformTestForSet17171462518583103355
ClassMethodStartTime (ms)
Default suite
Default test — passed
Generic.GenericTestperformTestForSet17180166626255418179

Default test

Generic.GenericTest#performTestForSet

back to summary

diff --git a/DCIMC_Check/test-output/index.html b/DCIMC_Check/test-output/index.html index cc7cffe..fd1ba37 100755 --- a/DCIMC_Check/test-output/index.html +++ b/DCIMC_Check/test-output/index.html @@ -135,7 +135,7 @@
- /tmp/testng-eclipse-623436563/testng-customsuite.xml + /tmp/testng-eclipse--1742002139/testng-customsuite.xml
@@ -188,12 +188,12 @@ data.addRows(1);
 data.setCell(0, 0, 0)
 data.setCell(0, 1, 'performTestForSet')
 data.setCell(0, 2, 'Generic.GenericTest')
-data.setCell(0, 3, 3103355);
+data.setCell(0, 3, 5418179);
 window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'}
 return data;
 }
               
-              Total running time: 51 minutes
+              Total running time: 1 hours
               
@@ -226,19 +226,19 @@ return data;
redirectConsoleOutputBeforeTest - 4781 ms + 2214 ms
performTestForSet - 4864 ms + 2215 ms
restoreConsoleOutputAfterTest - 3108231 ms + 5420399 ms
tearDown - 3108290 ms + 5420401 ms
diff --git a/DCIMC_Check/test-output/junitreports/TEST-Generic.GenericTest.xml b/DCIMC_Check/test-output/junitreports/TEST-Generic.GenericTest.xml index ffa3006..e25b703 100644 --- a/DCIMC_Check/test-output/junitreports/TEST-Generic.GenericTest.xml +++ b/DCIMC_Check/test-output/junitreports/TEST-Generic.GenericTest.xml @@ -1,5 +1,5 @@ - - + + diff --git a/DCIMC_Check/test-output/old/Default suite/methods-alphabetical.html b/DCIMC_Check/test-output/old/Default suite/methods-alphabetical.html index 2237d7e..18e9c48 100644 --- a/DCIMC_Check/test-output/old/Default suite/methods-alphabetical.html +++ b/DCIMC_Check/test-output/old/Default suite/methods-alphabetical.html @@ -1,14 +1,14 @@

Methods run, sorted chronologically

>> means before, << means after


Default suite

(Hover the method name to see the test class name)

- - - - - - - - - - + + + + + + + + + +
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
24/05/31 14:34:11 0      performTestForSetmain@1571798597
24/05/31 14:34:11 -82     >>redirectConsoleOutputBeforeTest  main@1571798597
24/05/31 15:25:55 3103368     <<restoreConsoleOutputAfterTest  main@1571798597
24/05/31 14:34:06 -4861   >>setUp    main@1571798597
24/05/31 15:25:55 3103427   <<tearDown    main@1571798597
24/06/10 16:21:02 0      performTestForSetmain@2144838275
24/06/10 16:21:02 -1     >>redirectConsoleOutputBeforeTest  main@2144838275
24/06/10 17:51:20 5418185     <<restoreConsoleOutputAfterTest  main@2144838275
24/06/10 16:21:00 -2210   >>setUp    main@2144838275
24/06/10 17:51:20 5418186   <<tearDown    main@2144838275
diff --git a/DCIMC_Check/test-output/old/Default suite/methods.html b/DCIMC_Check/test-output/old/Default suite/methods.html index 4657fb5..02c68bf 100644 --- a/DCIMC_Check/test-output/old/Default suite/methods.html +++ b/DCIMC_Check/test-output/old/Default suite/methods.html @@ -1,14 +1,14 @@

Methods run, sorted chronologically

>> means before, << means after


Default suite

(Hover the method name to see the test class name)

- - - - - - - - - - + + + + + + + + + +
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
24/05/31 14:34:06 0   >>setUp    main@1571798597
24/05/31 14:34:11 4779     >>redirectConsoleOutputBeforeTest  main@1571798597
24/05/31 14:34:11 4861      performTestForSetmain@1571798597
24/05/31 15:25:55 3108229     <<restoreConsoleOutputAfterTest  main@1571798597
24/05/31 15:25:55 3108288   <<tearDown    main@1571798597
24/06/10 16:21:00 0   >>setUp    main@2144838275
24/06/10 16:21:02 2209     >>redirectConsoleOutputBeforeTest  main@2144838275
24/06/10 16:21:02 2210      performTestForSetmain@2144838275
24/06/10 17:51:20 5420395     <<restoreConsoleOutputAfterTest  main@2144838275
24/06/10 17:51:20 5420396   <<tearDown    main@2144838275
diff --git a/DCIMC_Check/test-output/testng-results.xml b/DCIMC_Check/test-output/testng-results.xml index 845f7b1..c09f0b3 100755 --- a/DCIMC_Check/test-output/testng-results.xml +++ b/DCIMC_Check/test-output/testng-results.xml @@ -2,28 +2,28 @@ - + - + - + - + - + - + - + diff --git a/DCIMC_Check1.0.zip b/DCIMC_Check1.0.zip new file mode 100644 index 0000000..c66cf3e Binary files /dev/null and b/DCIMC_Check1.0.zip differ