NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package Historycis;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.testng.TestListenerAdapter;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

import Configration_Files.ScreenShotOnFailure;
import Configration_Files.WebDriverManager;
import locatorPages.ListScreenLocators;
import pages.CustomeGroupsListScreenPage;
import pages.LetterInCis;


@Listeners(ScreenShotOnFailure.class)
public class HistoryCisCoding extends TestListenerAdapter {
WebDriver driver;
CustomeGroupsListScreenPage CG_screen = null;
LetterInCis AI_screen = null;

String noRowsSelected = "You must select at least one row";
String debtID = "000661";
String debtID1 = "170150";
String debtID2 = "170153";
String debtID3 = "17185";
String debtID4 = "17024";


String english= "English";

@Test(priority = 0, description = "Open All History Cis Action list screen")
public void Open_All_Customers_Groups_List_screen() {
driver = WebDriverManager.getDriverInstance();
CG_screen = new CustomeGroupsListScreenPage(driver);
CG_screen.ClickCustomerGroupMenuItem(ListScreenLocators.CustomerGroupsMenuItem);// Open Customer Group List screen
String ExpectedResult = CG_screen.OpenCustomerGroupsListScreen(ListScreenLocators.CG_All);
CG_screen.ValidateOpenedListScreen(ExpectedResult, "All customer groups");
}

@Test(priority =1 , description = "Open 'Customer history' list screen")
public void Open_customerGroupsWithBalanceOverdueListscreen() {
driver = WebDriverManager.getDriverInstance();
CG_screen = new CustomeGroupsListScreenPage(driver);
String ExpectedResult = CG_screen.OpenCustomerGroupsListScreen(ListScreenLocators.CG_balanceOverdue);
CG_screen.ValidateOpenedListScreen(ExpectedResult, "Customer groups with balance overdue");
}

@Test(priority = 2, description = "Open History Customer Information Screen in list screen without debtor selection")
public void Open_CIS() {
String ExpectedResult = CG_screen.OpentoolBarIconInCustonerGroupsListScreen(ListScreenLocators.cisICon,ListScreenLocators.noRowsSelected);
CG_screen.ValidateOpenedListScreen(ExpectedResult, noRowsSelected);
}

@Test(priority = 3, description = "Open Customer Information Screen in list screen with debtor selection")
public void Open_CISDebtorSelection() {
CG_screen.selectDebtorinListScreen(debtID);
String ExpectedResult = CG_screen.OpentoolBarIconInCustonerGroupsListScreen(ListScreenLocators.cisICon,ListScreenLocators.windowTitleText);
System.out.println(ExpectedResult + "windows opened");
}


@Test(priority = 4, description = "Actions in CIS' list screen")
public void Open_actionsincis() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
AI_screen.OpenActionsincisListScreen(ListScreenLocators.HistoryinCis);
}


// click notes in history icon
@Test(priority = 5, description = "Click on Notes Icon in History")
public void Click_NotesIconInHistory() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
WebElement f = driver.findElement(By.xpath("//div[@id='tabitem5']//img[@title='Notes']"));
f.click();
}


// click export to excel in history icon
@Test(priority = 6, description = "Click 'Export to excel in notes' in History")
public void Click_ExporttoexcelinNotes() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='Export to Excel']"));
f.click();

//prompt ok box in Click export to excel

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

//Click details in history
@Test(priority = 7, description = "Click 'Details' in notes' in History")
public void Click_DetailsinNotes() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
WebElement f = driver.findElement(By.xpath("//img[@title='Details']"));
f.click();

//prompt ok box in details

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

/*
@Test(priority = 8, description ="Open Make Note in 'All_Customers' list screen with debtor selection")
public void Open_MakeNote_In_All_Customers_DebtorSelection() throws InterruptedException {
String ExpectedResult =CG_screen.OpentoolBarIconInCustonerGroupsListScreen(ListScreenLocators.makeNoteIcon1 , ListScreenLocators.validateNoteScreen111);
CG_screen.ValidateOpenedListScreen(ExpectedResult, "Display notes -000661 Chemicals");
Thread.sleep(1000);
CG_screen.closeModelDialog1();

}
*/

//open help page in history
@Test(priority = 9, description ="Open Help Page in 'All_Customers' list screen without debtor selection")
public void Open_HelpPage_In_All_Customers_List_screen() {
String ExpectedResult =AI_screen.OpenhelpPage();
AI_screen.ValidateOpenedListScreen(ExpectedResult, "Help file Onguard CreditNext");
AI_screen.closeModelDialog();

}



//click on history committed payments icon
@Test(priority = 10, description = "Click on History committed payments in History")
public void Click_Historycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
WebElement f = driver.findElement(By.xpath("//div[@id='tabitem5']//img[@title='History committed payments']"));
f.click();
Thread.sleep(5000);


//AI_screen.closeModelDialog();

}

//click on notes in history committed payments
@Test(priority = 10, description = "Click on notes in History committed payments in History")
public void Notesin_Historycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

driver.findElement(By.xpath("//*[@id='historyCommittedPayments']/div/div/div[1]/div[2]/div/app-toolbar/div/div/div/ul/li[3]/a/img")).click();

}

//click 'Export to excel in notes'
@Test(priority = 11, description = "Click 'Export to excel in notes' in in History committed payments")
public void Click_Exporttoexcelinhistorycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='Export to Excel']"));

f.click();

//prompt ok box in Click export to excel

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

//Click details in history committed payments
@Test(priority = 12, description = "Click 'Details' in notes' in in History committed payments")
public void Clickk_Detailsinhistorycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);


WebElement f = driver.findElement(By.xpath("//img[@title='Details']"));

f.click();


//prompt ok box in details

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}}}

//close the notes box
@Test(priority = 13, description = "Close commited payments note box in History")
public void Closenotebar_committedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//app-commandbar//img[@alt='Cancel']"));
f.click();



}

//open Dunning letter in committed payments
@Test(priority = 15, description = "Click on dunning letter in committed payments in History")
public void Dunningletter_Historycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History dunning letters']"));
f.click();

Thread.sleep(2000);
WebElement t = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[1]/div[1]/div[2]/div/a"));
t.click();
}

//open history emails in committed payments
@Test(priority = 16, description = "Click on History emails in committed payments in History")
public void HistoryEmails_Historycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History emails']"));
f.click();

Thread.sleep(5000);

WebElement n = driver.findElement(By.xpath("//*[@id='historyEmail']/div/div/div[1]/div[1]/div[2]/div/a"));
n.click();

}

//Click history sms in committed payments
@Test(priority = 17, description = "Click on History SMS in committed payments in History")
public void HistorySMS_Historycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History SMS']"));
f.click();

Thread.sleep(5000);

WebElement n = driver.findElement(By.xpath("//*[@id='hps']/div/div/div[1]/div[1]/div[2]/div/a"));
n.click();
}

//thisss
//open help page in committed payments
@Test(priority = 18, description ="Open Help Page in committed payments main")
public void Open_HelpPage_incommittedpaymentsmain8() {
String ExpectedResult =AI_screen.OpenhelpPage();
AI_screen.ValidateOpenedListScreen(ExpectedResult, "Help file Onguard CreditNext");
AI_screen.closeModelDialog();
}



//click on history payment scheme icon
@Test(priority = 19, description = "Click on Payments Scheme in History")
public void Click_PaymentScheme() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
WebElement f = driver.findElement(By.xpath("//div[@id='tabitem5']//img[@title='History payment schemes']"));
f.click();
//AI_screen.closeModelDialog();
}

//click on notes in payment scheme payments
@Test(priority = 20, description = "Click on notes in Payment scheme in History")
public void Notesin_PaymentScheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(10000);

driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='Notes']")).click();

}


//open 'export to excel' in payment scheme
@Test(priority = 21, description = "Click 'Export to excel in notes' in in History Payment scheme")
public void Click_Exporttoexcelinhistorypaymentscheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='Export to Excel']"));
f.click();

Thread.sleep(10000);

//prompt ok box in Click export to excel

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}


//Click details in history payment scheme
@Test(priority = 22, description = "Click 'Details' in notes' in in History committed payments")
public void Click_Detailsinhistorycommittedpayments() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//img[@title='Details']"));
f.click();

Thread.sleep(10000);

//prompt ok box in details

if(driver.findElement(By.xpath("//button[normalize-space()='Ok']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Ok']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();

AI_screen.closeModelDialog();
}

Thread.sleep(5000);

}
}

@Test(priority = 23, description ="Open Help Page in 'All_Customers Groups' list screen without debtor selection")
public void Open_HelpPage_In_All_Customers_Groups_List_scren() throws InterruptedException {
//String ExpectedResult =CG_screen.OpenhelpPage();
//CG_screen.ValidateOpenedListScreen(ExpectedResult, "Help file Onguard CreditNext");

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//app-commandbar//img[@alt='Cancel']"));
f.click();

}

/*
//open help page in notes in history payment scheme
@Test(priority = 23, description ="Open Help Page in payment scheme notes icon")
public void Open_HelpPage_innotesinpaymentscheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//app-commandbar//img[@alt='Cancel']"));
f.click();
}

*/
// click dunning letter in payment scheme
@Test(priority = 24, description = "Click on dunning letter in payment scheme in History")
public void Dunningletter_PaymentScheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History dunning letters']"));
f.click();
Thread.sleep(2000);
WebElement t = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[1]/div[1]/div[2]/div/a"));
t.click();

}

@Test(priority = 25, description = "Click on History dunning letters in payment scheme in History")
public void Dunningletters_Paymentschemes() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History dunning letters']"));
f.click();

Thread.sleep(5000);
WebElement n = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[1]/div[1]/div[2]/div/a"));
n.click();

}

// click on history emails in payment schemes
@Test(priority = 26, description = "Click on History Emails in Payment schemes History")
public void HistoryEmails_PaymentScheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History emails']"));
f.click();

Thread.sleep(5000);

WebElement n = driver.findElement(By.xpath("//*[@id='historyEmail']/div/div/div[1]/div[1]/div[2]/div/a"));
n.click();

}

// click on history sms in payment scheme
@Test(priority = 27, description = "Click on History SMS in Payment schemes History")
public void HistorySMS_PaymentScheme() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//div[@class='col no-padding']//img[@title='History SMS']"));
f.click();
Thread.sleep(5000);
WebElement n = driver.findElement(By.xpath("//*[@id='hps']/div/div/div[1]/div[1]/div[2]/div/a"));
n.click();

//close dunning letter


Thread.sleep(5000);
WebElement ss = driver.findElement(By.xpath("//img[@alt='Cancel']"));
ss.click();




}
/*
@Test(priority = 28, description ="Open Help Page in 'All_Customers Groups' list screen without debtor selection")
public void Open_HelpPage_In_All_Customers_Groups_List_screenn() {
String ExpectedResult =CG_screen.OpenhelpPage();
CG_screen.ValidateOpenedListScreen(ExpectedResult, "Help file Onguard CreditNext");

}
*/


// Click history disputes in history
@Test(priority = 29, description = "Click on History dispute icon in History")
public void Disputes_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//img[@title='History disputes']"));
f.click();
Thread.sleep(2000);

//close history disputes in history
WebElement t = driver.findElement(By.xpath("//*[@id='historyDispute']/div/div/div[1]/div[1]/div[2]/div/a"));
t.click();
}


//Click history dunning letters icon in history
@Test(priority = 30, description = "Click on History Dunning letters icon in History")
public void Dunningletter_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//img[@title='History dunning letters']"));
f.click();
}

//Click on collection agency in history dunning letters
@Test(priority = 31, description = "Click on History Dunning letters collection agency")
public void Dunningletter_Collectionagency() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[2]/div[1]/app-grid/div/div[1]/ag-grid-angular/div/div[1]/div/div[3]/div[2]/div/div/div[2]/div[1]/app-cell-renderer/div/span"));
f.click();
WebElement t = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[2]/div[1]/app-grid/div/div[1]/ag-grid-angular/div/div[1]/div/div[3]/div[2]/div/div/div[2]/div[1]/app-cell-renderer/div/span"));
t.click();
}

// Click send emails history in dunning letters
@Test(priority = 32, description = "Click on send email history dunning letter")
public void Dunningletter_sendemail() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[1]/div[2]/div/app-toolbar/div/div/div/ul/li[4]/a/img"));
f.click();
}

//Click om email field history in Dunning letter
@Test(priority = 33, description = "Click on email field history dunning letter")
public void Dunningletter_emailfield() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//*[@id='documentEditor']/div/div/div[2]/div/div/div/div[1]/div/div[1]/div[3]/input"));
f.sendKeys("[email protected]");
}

// click on send email save andb close
@Test(priority = 34, description = "Click on send email save and close")
public void Dunningletter_saveandclose() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
Thread.sleep(5000);
WebElement f = driver.findElement(By.xpath("//*[@id='documentEditor']/div/div/div[3]/div/ul/li[1]/a/img"));
f.click();

Thread.sleep(5000);

if(driver.findElement(By.xpath("//button[normalize-space()='Yes']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Yes']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

//click dunning letter close icon
@Test(priority = 35, description = "Click Dunning letters close icon")
public void Dunningletter_Close() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//*[@id='historyDunningLetter']/div/div/div[1]/div[1]/div[2]/div/a"));
f.click();
}

//click on history emails icon
@Test(priority = 36, description = "Click on History Emails icon in History")
public void HistoryEmails_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//img[@title='History emails']"));
f.click();

}

//click on emails in history emails
@Test(priority = 37, description = "Click on emails icon in history emails")
public void clickemails_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//*[@id='historyEmail']/div/div/div[2]/div[1]/app-grid/div/div/ag-grid-angular/div/div[1]/div/div[3]/div[2]/div/div/div[1]/div[3]"));
f.click();
WebElement s = driver.findElement(By.xpath("//*[@id='historyEmail']/div/div/div[2]/div[1]/app-grid/div/div/ag-grid-angular/div/div[1]/div/div[3]/div[2]/div/div/div[1]/div[3]"));
s.click();

WebElement tt = driver.findElement(By.xpath("//img[@alt='Cancel']"));
tt.click();

Thread.sleep(5000);



//img[@alt='Cancel']
}



/*
@Test(priority = 38, description = "Click send emails in in history emails")
public void clicksendemails_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//*[@id='historyEmail']/div/div/div[1]/div[2]/div/app-toolbar/div/div/div/ul/li[3]/a/img"));
f.click();
Thread.sleep(10000);

WebElement q = driver.findElement(By.xpath("//*[@id="documentEditor"]/div/div/div[2]/div/div/div/div[1]/div/div[2]/div[3]/input"));
q.sendKeys("[email protected]");
}


@Test(priority = 39, description = "Send and save emails in in history emails")
public void sendandsaveemails_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//*[@id='documentEditor']/div/div/div[3]/div/ul/li[1]/a/img"));
f.click();

Thread.sleep(10000);


if(driver.findElement(By.xpath("//button[normalize-space()='Yes']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='Yes']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}


}

@Test(priority = 40, description = "Pop up in history emails")
public void Open_Popupin_History() {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);
if(driver.findElement(By.xpath("//button[normalize-space()='OK']")).isDisplayed()){
try {
Thread.sleep(2000);
WebElement l = driver.findElement(By.xpath("//button[normalize-space()='OK']"));
l.click();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}

}

*/

/*
@Test(priority = 41, description ="Open Help Page in 'All_Customers Groups' list screen without debtor selection")
public void Open_HelpPage_In_All_Customers_Groups_List_screen() {
String ExpectedResult =CG_screen.OpenhelpPage();
CG_screen.ValidateOpenedListScreen(ExpectedResult, "Help file Onguard CreditNext");


}

*/
//img[@title='History SMS']

@Test(priority = 42, description = "Click on History sms icon")
public void Historysmsicon_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//img[@title='History SMS']"));
f.click();
}



@Test(priority =43, description = "Close sms icon")
public void Closesmsicon() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//*[@id='hps']/div/div/div[1]/div[1]/div[2]/div/a"));
f.click();
}

@Test(priority = 44, description = "Click Paidinvoiceshistory")
public void Paidinvoiceshistory_History() throws InterruptedException {
driver = WebDriverManager.getDriverInstance();
AI_screen = new LetterInCis(driver);

Thread.sleep(5000);

WebElement f = driver.findElement(By.xpath("//img[@title='Paid invoices history']"));
f.click();
}
}
























     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.