You are on page 1of 120

'===============================================================================

==========================
' Name of the Script : Master File Reports HO
LDR
' Scope of the Script : This test script covers 43 te
st cases related to the MF reports --> Trade Volume
' Author
: Mohan Gummadi
' Description : MF Reports HOLDR
' Date and / or Version : 18-02-2008,version 1.0
'===============================================================================
============================

Sub MFReportsHOLDR()
'****Declaration of Environmental Variable
Environment.Value("Execution_Log")=True
'''''''''Test case count
Const TC_COUNT = 43
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
strAllPath =""
For i= 0 to strBound - 1
strAllPath = strAllPath & strIndVar(i) &"\"
Next
strPath = Trim(strPath)
strDataPath = strAllPath & "DataTables\"
strLibPath = strAllPath & "Function_Library\"
'****Adding MFLogin sheet to the dataTable and Importing the Inp
ut DataTable
DataTable.AddSheet "MFLogin"
DataTable.ImportSheet strDataPath & "Login.xls","MFLogin","MFLog
in"
DataTable.AddSheet "HOLDR"
DataTable.ImportSheet strDataPath & "MasterFileReports.xls","HOL
DR","HOLDR"
DataTable.AddSheet "ReportHeader"
DataTable.ImportSheet strDataPath & "MasterFileReports.xls","Rep
ortHeader","ReportHeader"
DataTable.AddSheet "HomePageVerification"
DataTable.ImportSheet strDataPath & "MasterFileReports.xls","Hom
ePageVerification","HomePageVerification"
' Logs the Scenario name Execution in a .csv file
Call Execution_log(DataTable.Value("Scenario_Name", "Master"), "
", "", "")
Call Execution_log(DataTable.Value(3, "Master"), "", "", "")

'****Invoking IE and navigating to the ADR Login page


DataTable.GetSheet("MFLogin").SetCurrentRow(1)
Call invoke_URL("MasterFile","Login Page",DataTable.Value("URL",
"MFLogin"))
'****Checking the username, password and login objects in the lo
gin page
Call pageCheck_WebEdit("MasterFile","Login Page","username;j_pas
sword","")
Call pageCheck_WebButton("MasterFile","Login Page","Login","")
'****Entering username and password and login into the masterfil
e application
DataTable.GetSheet("MFLogin").SetCurrentRow(1)
Call login("MasterFile","Login Page","User","MFLogin")
Call chkADRHomePage("MasterFile","Depositary Receipt Division's"
,DataTable.Value("HomePageLinks","HomePageVerification"),Environment.Value("Norm
alUser"))

Environment.Value("DATATABLE_ROW")=1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'***************************************** TC Driver Strat *****
**************************************************
For intTCCount = 1 to TC_COUNT
Environment.Value("Execution_Log") = "True"
If DataTable("TestRunFlag","HOLDR")="Y" Then
''If run flag is Y in test data table
Reporter.ReportEvent micDone,"######## BEGIN TEST CASE - '"
& DataTable("TestCaseID","HOLDR") & "' ########### ","Execution of Test Case '"
& DataTable("TestCaseDesc","HOLDR") & "' Started"
strFuncName = "MFReportsHOLDR_TC
" & intTCCount & "()" ''Formation of function name
''Call Function
Execute "Call " & strFuncName
If Environment.Value("Execution
_Log") = "True"Then
Call Execution_l
og("",Datatable.Value("TestCaseID", "HOLDR"), Datatable.Value("TestCaseDesc", "H
OLDR"), "PASS")
Else
Call Execution_l
og("",Datatable.Value("TestCaseID", "HOLDR"), Datatable.Value("TestCaseDesc", "H
OLDR"), "FAIL")
End If
Reporter.ReportE
vent micDone,"######### END OF TEST CASE - '" & DataTable("TestCaseID","HOLDR")
& "###########","The Test Case Execution Completed"
End If
strPrevious=Trim(DataTable.Value("TestCaseID","H
OLDR"))
''Increment the test data table row
Environment.Value("DATATABLE_ROW") = Environment
.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Enviro
nment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","HOLDR
"))
While strPrevious = strNext
Environment.Value("DATATABLE_ROW
") = Environment.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("HOLDR").SetC
urrentRow(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("Te
stCaseID","HOLDR"))
Wend
Next
Call logoutfromApp("MasterFile","Depositary Receipt Division's")
'***************************************** TC Driver End *******
************************************************
End Sub
'***************************************************** TestCase #1 to TestCase #
43******************************
Public Function MFReportsHOLDR_TC1()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
Call chkMFCAHomePage("MasterFile","MasterFile",DataTable.Value("
MenuName","HomePageVerification"),Environment.Value("NormalUser"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),"")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call select_Menu("MasterFile","Reports - Search","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 7: From the H
ome menu, select DR Home","DR Home page should not isplayed with the correspond
ing links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function MFReportsHOLDR_TC2()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
Search").WebElement("ReportsHOLDRSearch").GetROProperty("innertext"))
If strHOLDRSearch="Reports - HOLDR Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is not displa
yed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Search","
InitialDepositor;HOLDRName;Status;Exchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR Search","
HOLDRCusip")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Search","Se
rach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Click Sear
ch without giving any inputs","Reports - HOLDR Search page is opened with report
and all fields"
Else
Reporter.ReportEvent micFail,"Step 8: Click Sear
ch without giving any inputs","Reports - HOLDR Search page is not opened with re
port and all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call SelectCAEventNameInReport("MasterFile","Reports - HOLDR Sea
rch","Item",DataTable.Value("SelectHOLDRName","HOLDR"))
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
Wait(2)
'Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profi
le","Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Wait(2)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Wait(2)
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: Click on a
ny one of the HOLDR Name","Profile - HOLDR Profile page is displayed with all ta
bs and fields"
Else
Reporter.ReportEvent micFail,"Step 9: Click on a
ny one of the HOLDR Name","Profile - HOLDR Profile page is not displayed with al
l tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #10
Browser("MasterFile").Back
Call SelectCARelationEventName("MasterFile","Reports - HOLDR Sea
rch","Item",DataTable.Value("SelectHOLDRCusip","HOLDR"))
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
'Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profi
le","Detail;Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Wait(1)
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Click on
any one of the HOLDR CUSIP","Profile - HOLDR Profile page is displayed with all
tabs and fields"
Else
Reporter.ReportEvent micFail,"Step 10: Click on
any one of the HOLDR CUSIP","Profile - HOLDR Profile page is not displayed with
all tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Profile - HOLDR Profile","Profile
;HOLDR")
Browser("MasterFile").Page("Profile - HOLDR Profile Search").Web
Element("html tag:=TD","innertext:=" & DataTable.Value("SelectHOLDRName","HOLDR"
)).Click
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","Detail;Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Wait(1)
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Wait(1)
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Navigate
to Profile->HOLDR->Click on any HOLDR Name","Profile - HOLDR Profile page is dis
played with all tabs and fields"
Else
Reporter.ReportEvent micFail,"Step 11: Navigate
to Profile->HOLDR->Click on any HOLDR Name","Profile - HOLDR Profile page is not
displayed with all tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #12
Call select_Menu("MasterFile","Profile - HOLDR Profile","Home;DR
Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 12: From the
Home menu, select DR Home","DR Home page should not isplayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC3()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
Search").WebElement("ReportsHOLDRSearch").GetROProperty("innertext"))
If strHOLDRSearch="Reports - HOLDR Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is not displa
yed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Search","
InitialDepositor;HOLDRName;Status;Exchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR Search","
HOLDRCusip")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Search","Se
rach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item","HOLDR
Name",DataTable.Value("HOLDRName","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","Status",DataTable.Value("Status","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","Exchange",DataTable.Value("Exchange","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","HOLDR CUSIP",DataTable.Value("HOLDRCusip","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is not generated successfu
lly as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR Search","Home;DR
Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC4()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Search Report
s",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportName","HO
LDR"))
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item","Excha
nge",DataTable.Value("Exchange","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Enter sear
ch criteria and click on Search button","HOLDR search is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 1: Enter sear
ch criteria and click on Search button","HOLDR search is not generated successfu
lly as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR Search","Home;DR
Home")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #2
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Search Report
s",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportName","HO
LDR"))
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
Call chkReportValues("MasterFile","Reports - Constituent Search","Item",
"Constituent Exchange",DataTable.Value("ConstituentExchange","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 2: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - Constituent Search","Ho
me;DR Home")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Search Report
s",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportName","HO
LDR"))
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent Search"
)
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constituent Sear
ch","Item","HOLDR Exchange",DataTable.Value("ConHOLDRExchange","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR Name",DataTable.Value("ConHOLDRName","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Enter sear
ch criteria and click on Search button","HOLDR with Constituent search is genera
ted successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 3: Enter sear
ch criteria and click on Search button","HOLDR with Constituent search is not ge
nerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search","Home;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC5()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
Search").WebElement("ReportsHOLDRSearch").GetROProperty("innertext"))
If strHOLDRSearch="Reports - HOLDR Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is not displa
yed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Search","
InitialDepositor;HOLDRName;Status;Exchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR Search","
HOLDRCusip")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Search","Se
rach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item","HOLDR
Name",DataTable.Value("HOLDRName","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","Status",DataTable.Value("Status","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is not generated successfu
lly as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - HOLDR Search","Filte
r",DataTable.Value("FilterColumn","HOLDR"),DataTable.Value("FilterExpression","H
OLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR Search"
,"Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 10: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 10: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR Search","Home;DR
Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC6()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
Search").WebElement("ReportsHOLDRSearch").GetROProperty("innertext"))
If strHOLDRSearch="Reports - HOLDR Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is not displa
yed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Search","
InitialDepositor;HOLDRName;Status;Exchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR Search","
HOLDRCusip")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Search","Se
rach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item","HOLDR
Name",DataTable.Value("HOLDRName","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","Status",DataTable.Value("Status","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is not generated successfu
lly as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - HOLDR Search","Sort",D
ataTable.Value("SortColumn","HOLDR"),DataTable.Value("SortOrder","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR Search"
,"Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 10: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 10: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR Search","Home;DR
Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC7()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
Search").WebElement("ReportsHOLDRSearch").GetROProperty("innertext"))
If strHOLDRSearch="Reports - HOLDR Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Search page is displayed or not","Reports - HOLDR Search page is not displa
yed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Search","
InitialDepositor;HOLDRName;Status;Exchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR Search","
HOLDRCusip")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Search","Se
rach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click HOLD
R Search","Reports - HOLDR Search page is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Search
").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Search","HOLDR
","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Search")
Call chkReportHeader("MasterFile","Reports - HOLDR Search","Repo
rtsHOLDRSearch")
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item","HOLDR
Name",DataTable.Value("HOLDRName","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR Search","Item
","Status",DataTable.Value("Status","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","HOLDR search is not generated successfu
lly as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - HOLDR Se
arch","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Save as Excel functionality is working
correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Save as Excel functionality is not wor
king correctly"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Reports - HOLDR Search","Home;DR
Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC8()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - Consti
tuent Search").WebElement("ReportsConstituentSearch").GetROProperty("innertext")
)
If strHOLDRSearch="Reports - Constituent Search" Then
Reporter.ReportEvent micPass,"Verify Reports - C
onstituent Search page is displayed or not","Reports - Constituent Search page i
s displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - C
onstituent Search page is displayed or not","Reports - Constituent Search page i
s not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Constituent Sea
rch","ConstituentSecurityType;ConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - Constituent Sea
rch","ConstituentName;ConstituentTicker;ConstituentISIN")
Call pageCheck_ImageOR("MasterFile","Reports - Constituent Searc
h","Serach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click Repo
rts - Constituent Search","Reports - HOLDR Search page is opened with all fields
"
Else
Reporter.ReportEvent micFail,"Step 7: Click Repo
rts - Constituent Search","Reports - HOLDR Search page is not opened with all fi
elds"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent Exchange",DataTable.Value("ConConstituentExchange","HOLDR")
)
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #9
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent Ticker",DataTable.Value("ConstituentTicker","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 9: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #10
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent ISIN",DataTable.Value("ConstituentISIN","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Enter sea
rch criteria and click on Search button","Constituent search is generated succes
sfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 10: Enter sea
rch criteria and click on Search button","Constituent search is not generated su
ccessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #11
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Enter sea
rch criteria and click on Search button","Constituent search is generated succes
sfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 11: Enter sea
rch criteria and click on Search button","Constituent search is not generated su
ccessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #12
Browser("MasterFile").Back
Call pageCheck_WebListOR("MasterFile","Reports - Constituent Sea
rch","ConstituentSecurityType;ConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - Constituent Sea
rch","ConstituentName;ConstituentTicker;ConstituentISIN")
Call pageCheck_ImageOR("MasterFile","Reports - Constituent Searc
h","Serach;Clear")
Call HOLDRReports("MasterFile","Reports - Constituent Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Constituent
Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Constituent Search",
"HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Const
ituent Search")
Call chkReportHeader("MasterFile","Reports - Constituent Search"
,"ReportsConstituentSearch")
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent Name",DataTable.Value("ConstituentName","HOLDR"))
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent Exchange",DataTable.Value("ConstituentExchange","HOLDR"))
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent Ticker",DataTable.Value("ConstituentTicker","HOLDR"))
Call chkReportValues("MasterFile","Reports - Constituent Search"
,"Item","Constituent ISIN",DataTable.Value("ConstituentISIN","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: Enter sea
rch criteria and click on Search button","Constituent search is generated succes
sfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 12: Enter sea
rch criteria and click on Search button","Constituent search is not generated su
ccessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call SelectCAEventNameInReport("MasterFile","Reports - Constitue
nt Search","Item",DataTable.Value("ConstituentName","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: Click on
Constituent Name","Profile constituent profile page is displayed with all fiel
ds"
Else
Reporter.ReportEvent micFail,"Step 13: Click on
Constituent Name","Profile constituent profile page is not displayed with all
fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #14
Browser("MasterFile").Back
Call SelectCAIsinInReport("MasterFile","Reports - Constituent Se
arch","Item",DataTable.Value("ConstituentCUSIP","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 14: Click on
Constituent CUSIP","Profile constituent profile page is displayed with all fie
lds"
Else
Reporter.ReportEvent micFail,"Step 14: Click on
Constituent CUSIP","Profile constituent profile page is not displayed with all
fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #15
Call select_Menu("MasterFile","Profile - Constituent Profile","P
rofile;Constituent")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebEdit("Name").Set DataTable.Value("ConstituentName","HOLDR")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").Image("Search").Click
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebElement("html Tag:=TD","innertext:=" & DataTable.Value("ConstituentName","
HOLDR")).Click
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 15: Click on
Constituent Name","Profile constituent profile page is displayed with all fiel
ds"
Else
Reporter.ReportEvent micFail,"Step 15: Click on
Constituent Name","Profile constituent profile page is not displayed with all
fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #16
Call select_Menu("MasterFile","Profile - Constituent Profile","H
ome;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 16: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 16: From the
Home menu, select DR Home","DR Home page should not displayed with the correspo
nding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC9()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty("inne
rtext"))
If strHOLDRSearch="Reports - HOLDR with Constituent Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR with Constituent Search page is displayed or not","Reports - HOLDR with Con
stituent Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR with Constituent Search page is displayed or not","Reports - HOLDR with Con
stituent Search page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConHOLDRName;ConStatus;ConConstituentSecurityType;ConHOLDRExcha
nge;ConConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConHOLDRTicker;ConHOLDRCUSIP;ConShareCount;ConConstituentName;C
onConstituentCUSIP;ConConstituentISIN;ConConstituentTicker")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR with Consti
tuent Search","Serach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click Repo
rts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pa
ge is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: Click Repo
rts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pa
ge is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search",DataTable.Value("MenuPath","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRConstituent=Trim(Browser("MasterFile").Page("Reports - H
OLDR with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty(
"innertext"))
If strHOLDRConstituent="Reports - HOLDR with Constituent Search
" Then
Reporter.ReportEvent micPass," Verify HOLDR with
Constituent page is displayed or not","HOLDR with Constituent page is displayed
with search criteria fields"
Else
Reporter.ReportEvent micFail," Verify HOLDR with
Constituent page is displayed or not","HOLDR with Constituent page is not displ
ayed with search criteria fields"
Environment.Value("Execution_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: Under repo
rts menu, select HOLDR and click on HOLDR with Constituent Search","application
navigates to the HOLDR with Constituent Search screen"
Else
Reporter.ReportEvent micFail,"Step 9: Under repo
rts menu, select HOLDR and click on HOLDR with Constituent Search","application
not navigates to the HOLDR with Constituent Search screen"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #10
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Enter sea
rch criteria and click on Search button","Constituent search is generated succes
sfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 10: Enter sea
rch criteria and click on Search button","Constituent search is not generated su
ccessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search",DataTable.Value("MenuPath","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRConstituent=Trim(Browser("MasterFile").Page("Reports - H
OLDR with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty(
"innertext"))
If strHOLDRConstituent="Reports - HOLDR with Constituent Search
" Then
Reporter.ReportEvent micPass," Verify HOLDR with
Constituent page is displayed or not","HOLDR with Constituent page is displayed
with search criteria fields"
Else
Reporter.ReportEvent micFail," Verify HOLDR with
Constituent page is displayed or not","HOLDR with Constituent page is not displ
ayed with search criteria fields"
Environment.Value("Execution_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Under rep
orts menu, select HOLDR and click on HOLDR with Constituent Search","application
navigates to the HOLDR with Constituent Search screen"
Else
Reporter.ReportEvent micFail,"Step 11: Under rep
orts menu, select HOLDR and click on HOLDR with Constituent Search","application
not navigates to the HOLDR with Constituent Search screen"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #12
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR Exchange",DataTable.Value("ConHOLDRExchange","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 12: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #13
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR Status",DataTable.Value("ConStatus","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 13: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #14
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR CUSIP",DataTable.Value("ConHOLDRCUSIP","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 14: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 14: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #15
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Security Type",DataTable.Value("ConConstituentSe
curityType","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 15: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 15: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #16
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 16: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 16: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #17
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Name",DataTable.Value("ConConstituentName","HOLD
R"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 17: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 17: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #18
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent CUSIP",DataTable.Value("ConConstituentCUSIP","HO
LDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 18: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 18: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #19
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent ISIN",DataTable.Value("ConConstituentISIN","HOLD
R"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 19: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 19: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #20
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR Name",DataTable.Value("ConHOLDRName","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 20: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 20: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #21
Browser("MasterFile").Back
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR CUSIP",DataTable.Value("ConHOLDRCUSIP","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 21: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 21: Enter sea
rch criteria and click on Search button","HOLDR with Constituent search is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #22
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search","Profile;HOLDR")
Browser("MasterFile").Page("Profile - HOLDR Profile Search").WebElement(
"html tag:=TD","innertext:=" & DataTable.Value("ConHOLDRName","HOLDR")).Click
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","Detail;Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 22: Click on
any one of the HOLDR Name","Profile - HOLDR Profile page is displayed with all t
abs and fields"
Else
Reporter.ReportEvent micFail,"Step 22: Click on
any one of the HOLDR Name","Profile - HOLDR Profile page is not displayed with a
ll tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #23
Call select_Menu("MasterFile","Profile - HOLDR Profile",DataTabl
e.Value("MenuPath","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","HOLDR Name",DataTable.Value("ConHOLDRName","HOLDR"))
Call SelectCAEventNameInReport("MasterFile","Reports - HOLDR with Consti
tuent Search","Item",DataTable.Value("ConHOLDRName","HOLDR"))
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","Detail;Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 23: Click on
any one of the Constituent Name","Profile - HOLDR Profile page is displayed with
all tabs and fields"
Else
Reporter.ReportEvent micFail,"Step 23: Click on
any one of the Constituent Name","Profile - HOLDR Profile page is not displayed
with all tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #24
Browser("MasterFile").Back
Call SelectCAIsinInReport("MasterFile","Reports - HOLDR with Con
stituent Search","Item",DataTable.Value("HOLDRCusip","HOLDR"))
strProfileHOLDR=Trim(Browser("MasterFile").Page("Profile - HOLDR
Profile").WebElement("ProfileHOLDRProfile").GetROProperty("innertext"))
If strProfileHOLDR="Profile - HOLDR Profile" Then
Reporter.ReportEvent micPass,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is displaye
d"
Else
Reporter.ReportEvent micFail,"Verify Profile - H
OLDR Profile page is displayed or not","Profile - HOLDR Profile page is not disp
layed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","Detail;Constituent;CashDelivery;GICSCode;Fee;Legal")
Call pageCheck_ImageOR("MasterFile","Profile - HOLDR Profile","P
reviewProfile;ProfileAudit;RelatedProfiles")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Name;BriefName;USTickerSymbol;IntlTickerSymbol;USExchange;IntlExchange;USCleari
ngHouse;IntlClearingHouse;MinimumShareLot;TASAccountNumber;SECFileNumber;SECFile
Date;CUSIP;Price;Status;EffectiveDate;TerminationDate;TerminationReason;Agreemen
tTerminationDate;ISIN;CID;LocalTax")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Constituent").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","ConstituentSection;ConstituentDetailSection;CorporateActionDetailSection")
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","
Constituent","HOLDRProfileConstituentTab")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Detail_Name;Detail_ShareAmount;Detail_Initialweight;Detail_InclusionDate;Detail
_RemovalDate;Detail_CUSIP;Detail_Price;Detail_SecurityType;Detail_RemovalReason;
CAType;CADate;CAComments;CACUSIP;CACusipName")
Call pageCheck_WebCheckbox("MasterFile","Profile - HOLDR Profile
","cnstDvpCnstFl","ConstituentDetail")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("CashDelivery").Click
Call chkMFProfileHeader("MasterFile","Profile - HOLDR Profile","Constitu
entCashDelivery","HOLDRProfileConstituentCashDeliveryTab")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("GICSCode").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","GICSCodeHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"GICSCode")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Fee").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","FeeHeader;FeeType")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"Issuence;Cancellation")
Browser("MasterFile").Page("Profile - HOLDR Profile").WebElement
("Legal").Click
Call pageCheck_WebElementOR("MasterFile","Profile - HOLDR Profil
e","LegalHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - HOLDR Profile",
"LawFirmBNY;LawFirmInitialDepositor")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 24: Click on
any one of the Constituent CUSIP","Profile - HOLDR Profile page is displayed wit
h all tabs and fields"
Else
Reporter.ReportEvent micFail,"Step 24: Click on
any one of the Constituent CUSIP","Profile - HOLDR Profile page is not displayed
with all tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("HOLDR").SetCurrentRow(Environment.Value("DAT
ATABLE_ROW"))
'Step #25
Call select_Menu("MasterFile","Profile - HOLDR Profile","Profile
;Constituent")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebEdit("Name").Set DataTable.Value("ConHOLDRName","HOLDR")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").Image("Search").Click
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebElement("html tag:=TD","index:=0","innertext:=" & DataTable.Value("ConHOLD
RName","HOLDR")).Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 25: Click on
any one of the Constituent HOLDR name","Profile - HOLDR Profile page is displaye
d with all tabs and fields"
Else
Reporter.ReportEvent micFail,"Step 25: Click on
any one of the Constituent HOLDR name","Profile - HOLDR Profile page is not disp
layed with all tabs and fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #26
Call select_Menu("MasterFile","Profile - Constituent Profile","H
ome;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 26: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 26: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End FunctIon
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC10()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty("inne
rtext"))
If strHOLDRSearch="Reports - HOLDR with Constituent Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR with Constituent Searchh page is displayed or not","Reports - HOLDR with Co
nstituent Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR with Constituent Search page is displayed or not","Reports - HOLDR with Con
stituent Search page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentSecurityType;ConConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentName;ConConstituentTicker;ConConstituentISIN")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR with Consti
tuent Search","Serach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click Repo
rts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pa
ge is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: ClickRepor
ts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pag
e is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step # 9 To Step #12
Call FilterCriteria("MasterFile","Reports - HOLDR with Constitue
nt Search","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTable.Value("Fil
terExpression","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR with Co
nstituent Search","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is not working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End FunctIon

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC11()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty("inne
rtext"))
If strHOLDRSearch="Reports - HOLDR with Constituent Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR with Constituent Searchh page is displayed or not","Reports - HOLDR with Co
nstituent Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR with Constituent Search page is displayed or not","Reports - HOLDR with Con
stituent Search page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentSecurityType;ConConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentName;ConConstituentTicker;ConConstituentISIN")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR with Consti
tuent Search","Serach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click Repo
rts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pa
ge is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: ClickRepor
ts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pag
e is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step # 9 To Step #12
Call SortCriteria("MasterFile","Reports - HOLDR with Constituent
Search","Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Value("SortOrder
","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR with Co
nstituent Search","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is not working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End FunctIon

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++=
Public Function MFReportsHOLDR_TC12()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
'Step #1 To Step #6
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on S
earch Link","Reports - Search Screen is not displayed with correct Search Criter
ia"
Else
Reporter.ReportEvent micFail,"Step 6: Click on S
earch Link","Reports - Search Screen is displayed with correct Search Criteria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Search","Searc
h Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("ReportN
ame","HOLDR"))
strHOLDRSearch=Trim(Browser("MasterFile").Page("Reports - HOLDR
with Constituent Search").WebElement("HOLDRwithConstituent").GetROProperty("inne
rtext"))
If strHOLDRSearch="Reports - HOLDR with Constituent Search" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR with Constituent Searchh page is displayed or not","Reports - HOLDR with Co
nstituent Search page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR with Constituent Search page is displayed or not","Reports - HOLDR with Con
stituent Search page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentSecurityType;ConConstituentExchange")
Call pageCheck_WebEditOR("MasterFile","Reports - HOLDR with Cons
tituent Search","ConConstituentName;ConConstituentTicker;ConConstituentISIN")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR with Consti
tuent Search","Serach;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click Repo
rts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pa
ge is opened with all fields"
Else
Reporter.ReportEvent micFail,"Step 7: ClickRepor
ts - HOLDR with Constituent Search","Reports - HOLDR with Constituent Search pag
e is not opened with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR with Constituent
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR with C
onstituent Search").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR with Constitue
nt Search","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
with Constituent Search")
Call chkReportHeader("MasterFile","Reports - HOLDR with Constitu
ent Search","ReportsHOLDRwithConstituentSearch")
Call chkReportValues("MasterFile","Reports - HOLDR with Constitu
ent Search","Item","Constituent Exchange",DataTable.Value("ConConstituentExchang
e","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is generated success
fully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Constituent search is not generated suc
cessfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step # 9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - HOLDR wi
th Constituent Search","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR with Constituent
Search","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End FunctIon
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC13()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),"")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call select_Menu("MasterFile","Reports - Operation","Home;DR Hom
e")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 7: From the H
ome menu, select DR Home","DR Home page should not isplayed with the correspond
ing links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC14()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #5
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("MenuPath","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1 To 5: Click
on Operation Link","Operation Reports page is displayed"
Else
Reporter.ReportEvent micFail,"Step 1 To 5: Click
on Operation Link","Operation Reports page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strMasterSpreadSheet=Trim(Browser("MasterFile").Page("Reports -
Master Spreadsheet").WebElement("ReportsMasterSpreadsheet").GetROProperty("inner
text"))
If strMasterSpreadSheet="Reports - Master Spreadsheet" Then
Reporter.ReportEvent micPass,"Verify Reports - M
aster Spreadsheet page is displayed or not","Reports - Master Spreadsheet page i
s displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
aster Spreadsheet page is displayed or not","Reports - Master Spreadsheet page i
s not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Master Spreadshee
t","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Master Spreadsh
eet","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Master Spreadsh
eet","FromDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on
HOLDR Master Spreadsheet","HOLDR Master Spreadsheet page is displayed"
Else
Reporter.ReportEvent micFail,"Step 6: Click on
HOLDR Master Spreadsheet","HOLDR Master Spreadsheet page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #10
Call HOLDRReports("MasterFile","Reports - Master Spreadsheet")
Call fnc_wait(Dialog("text:=File Download"))
Wait(3)
strExcelSheetName = DataTable.Value("TestCaseID","HOLDR")
strTestCaseName = DataTable.Value("TestCaseID","HOLDR") & ".xls"
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
For intCounter= 0 to strBound-1
strinitialPath = strinitialPath & strIndVar(intCounter)
&"\"
Next
strPath = strinitialPath & "DownloadFiles\"
blnFolder = "False"
Set fso = CreateObject("Scripting.FileSystemObject")
blnFolder = fso.FolderExists(strPath)
If blnFolder = "False" Then
fso.CreateFolder(strPath)
End If
strExcelPath = strinitialPath & "DownloadFiles\" & strTestCaseNa
me
Call DeletingFile(strExcelPath)
If Dialog("text:=File Download").Exist(5) Then
Dialog("text:=File Download").WinButton("text:=&
Save").Click
If Dialog("text:=File Download").WinButton("text
:=&Save").Exist(5) Then
Dialog("text:=File Download").Wi
nButton("text:=&Save").Click
End If
End If
Wait(2)
Dialog("File Download").Dialog("Save As").WinEdit("File name:").
Type strExcelPath
Dialog("File Download").Dialog("Save As").WinButton("Save").Clic
k
Call fnc_wait(Dialog("text:=Download complete"))
If Dialog("text:=Download complete").Exist(2) Then
Dialog("Download complete").WinButton("Close").C
lick
End If
blnBoolValue = chkFileExist(strExcelPath)
If blnBoolValue = "True" Then
Reporter.ReportEvent micPass,"Verifying if the x
ls file exists or Not","The Excel file exist in the Path "&strPath
Call chkExcelHeaderNames(strExcelPath,DataTable.
Value("HOLDRName","HOLDR"),"ReportsMasterSpreadsheet","ReportHeader","NAME OF CO
MPANY")
Else
Reporter.ReportEvent micFail,"Verifying if the xls file exists o
r Not","The Excel file does NOT exist in the Path "&strPath
Environment.Value("Execution_Log")= "False"
Environment.Value("TestCase_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 10: Go t
o the location and open the ReportsMasterSpreadsheet.xls","Report headers are di
splayed correctly"
Else
Reporter.ReportEvent micFail,"Step 7 To 10: Go t
o the location and open the ReportsMasterSpreadsheet.xls","Report headers are no
t displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Reports - Master Spreadsheet","Ho
me;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 11: From the
Home menu, select DR Home","DR Home page should not isplayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC15()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #5
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("MenuPath","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1 To 5: Click
on Operation Link","Operation Reports page is displayed"
Else
Reporter.ReportEvent micFail,"Step 1 To 5: Click
on Operation Link","Operation Reports page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strMasterSpreadSheet=Trim(Browser("MasterFile").Page("Reports -
Master Spreadsheet").WebElement("ReportsMasterSpreadsheet").GetROProperty("inner
text"))
If strMasterSpreadSheet="Reports - Master Spreadsheet" Then
Reporter.ReportEvent micPass,"Verify Reports - M
aster Spreadsheet page is displayed or not","Reports - Master Spreadsheet page i
s displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
aster Spreadsheet page is displayed or not","Reports - Master Spreadsheet page i
s not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Master Spreadshee
t","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Master Spreadsh
eet","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Master Spreadsh
eet","FromDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on
HOLDR Master Spreadsheet","HOLDR Master Spreadsheet page is displayed"
Else
Reporter.ReportEvent micFail,"Step 6: Click on
HOLDR Master Spreadsheet","HOLDR Master Spreadsheet page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #10
Call HOLDRReports("MasterFile","Reports - Master Spreadsheet")
Call fnc_wait(Dialog("text:=File Download"))
Wait(3)
strExcelSheetName = DataTable.Value("TestCaseID","HOLDR")
strTestCaseName = DataTable.Value("TestCaseID","HOLDR") & ".xls"
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
For intCounter= 0 to strBound-1
strinitialPath = strinitialPath & strIndVar(intCounter)
&"\"
Next
strPath = strinitialPath & "DownloadFiles\"
blnFolder = "False"
Set fso = CreateObject("Scripting.FileSystemObject")
blnFolder = fso.FolderExists(strPath)
If blnFolder = "False" Then
fso.CreateFolder(strPath)
End If
strExcelPath = strinitialPath & "DownloadFiles\" & strTestCaseNa
me
Call DeletingFile(strExcelPath)
If Dialog("text:=File Download").Exist(5) Then
Dialog("text:=File Download").WinButton("text:=&
Save").Click
If Dialog("text:=File Download").WinButton("text
:=&Save").Exist(5) Then
Dialog("text:=File Download").Wi
nButton("text:=&Save").Click
End If
End If
Wait(2)
Dialog("File Download").Dialog("Save As").WinEdit("File name:").
Type strExcelPath
Dialog("File Download").Dialog("Save As").WinButton("Save").Clic
k
Call fnc_wait(Dialog("text:=Download complete"))
If Dialog("text:=Download complete").Exist(2) Then
Dialog("Download complete").WinButton("Close").C
lick
End If
blnBoolValue = chkFileExist(strExcelPath)
If blnBoolValue = "True" Then
Reporter.ReportEvent micPass,"Verifying if the x
ls file exists or Not","The Excel file exist in the Path "&strPath
Call chkExcelHeaderNames(strExcelPath,DataTable.
Value("HOLDRName","HOLDR"),"ReportsMasterSpreadsheet","ReportHeader","NAME OF CO
MPANY")
Else
Reporter.ReportEvent micFail,"Verifying if the xls file exists o
r Not","The Excel file does NOT exist in the Path "&strPath
Environment.Value("Execution_Log")= "False"
Environment.Value("TestCase_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 10: Go t
o the location and open the ReportsMasterSpreadsheet.xls","Report headers are di
splayed correctly"
Else
Reporter.ReportEvent micFail,"Step 7 To 10: Go t
o the location and open the ReportsMasterSpreadsheet.xls","Report headers are no
t displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Reports - Master Spreadsheet","Ho
me;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 11: From the
Home menu, select DR Home","DR Home page should not isplayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC16()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #5
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("MenuPath","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1 To 5: Click
on Operation Link","Operation Reports page is displayed"
Else
Reporter.ReportEvent micFail,"Step 1 To 5: Click
on Operation Link","Operation Reports page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
ReportsReconciliationSpreadsheet=Trim(Browser("MasterFile").Page
("Reports - Reconciliation Spreadsheet").WebElement("ReportsReconciliationSpread
sheet").GetROProperty("innertext"))
If ReportsReconciliationSpreadsheet="Reports - Reconciliation S
preadsheet" Then
Reporter.ReportEvent micPass,"Verify Reports - R
econciliation Spreadsheet page is displayed or not","Reports - Reconciliation Sp
readsheet page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - R
econciliation Spreadsheet page is displayed or not","Reports - Reconciliation Sp
readsheet is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Reconciliation Sp
readsheet","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Reconciliation
Spreadsheet","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Reconciliation
Spreadsheet","FromDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is disp
layed"
Else
Reporter.ReportEvent micFail,"Step 6: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is not
displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #10
Call HOLDRReports("MasterFile","Reports - Reconciliation Spreads
heet")
Call fnc_wait(Dialog("text:=File Download"))
Wait(3)
strExcelSheetName = DataTable.Value("TestCaseID","HOLDR")
strTestCaseName = DataTable.Value("TestCaseID","HOLDR") & ".xls"
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
For intCounter= 0 to strBound-1
strinitialPath = strinitialPath & strIndVar(intCounter)
&"\"
Next
strPath = strinitialPath & "DownloadFiles\"
blnFolder = "False"
Set fso = CreateObject("Scripting.FileSystemObject")
blnFolder = fso.FolderExists(strPath)
If blnFolder = "False" Then
fso.CreateFolder(strPath)
End If
strExcelPath = strinitialPath & "DownloadFiles\" & strTestCaseNa
me
Call DeletingFile(strExcelPath)
If Dialog("text:=File Download").Exist(5) Then
Dialog("text:=File Download").WinButton("text:=&
Save").Click
If Dialog("text:=File Download").WinButton("text
:=&Save").Exist(5) Then
Dialog("text:=File Download").Wi
nButton("text:=&Save").Click
End If
End If
Wait(2)
Dialog("File Download").Dialog("Save As").WinEdit("File name:").
Type strExcelPath
Dialog("File Download").Dialog("Save As").WinButton("Save").Clic
k
Call fnc_wait(Dialog("text:=Download complete"))
If Dialog("text:=Download complete").Exist(2) Then
Dialog("Download complete").WinButton("Close").C
lick
End If
blnBoolValue = chkFileExist(strExcelPath)
If blnBoolValue = "True" Then
Reporter.ReportEvent micPass,"Verifying if the x
ls file exists or Not","The Excel file exist in the Path "&strPath
Call chkExcelHeaderNames(strExcelPath,DataTable.
Value("HOLDRName","HOLDR"),"ReportsReconciliationSpreadsheet","ReportHeader","NA
ME OF COMPANY")
Else
Reporter.ReportEvent micFail,"Verifying if the xls file exists o
r Not","The Excel file does NOT exist in the Path "&strPath
Environment.Value("Execution_Log")= "False"
Environment.Value("TestCase_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 10: Go t
o the location and open the Reports - Reconciliation Spreadsheet.xls","Report he
aders are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 7 To 10: Go t
o the location and open the Reports - Reconciliation Spreadsheet.xls","Report he
aders are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Reports - Reconciliation Spreadsh
eet","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 11: From the
Home menu, select DR Home","DR Home page should not isplayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC17()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #5
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("MenuPath","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1 To 5: Click
on Operation Link","Operation Reports page is displayed"
Else
Reporter.ReportEvent micFail,"Step 1 To 5: Click
on Operation Link","Operation Reports page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
ReportsReconciliationSpreadsheet=Trim(Browser("MasterFile").Page
("Reports - Reconciliation Spreadsheet").WebElement("ReportsReconciliationSpread
sheet").GetROProperty("innertext"))
If ReportsReconciliationSpreadsheet="Reports - Reconciliation S
preadsheet" Then
Reporter.ReportEvent micPass,"Verify Reports - R
econciliation Spreadsheet page is displayed or not","Reports - Reconciliation Sp
readsheet page is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - R
econciliation Spreadsheet page is displayed or not","Reports - Reconciliation Sp
readsheet is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Reconciliation Sp
readsheet","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Reconciliation
Spreadsheet","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Reconciliation
Spreadsheet","FromDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is disp
layed"
Else
Reporter.ReportEvent micFail,"Step 6: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is not
displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #10
Call HOLDRReports("MasterFile","Reports - Reconciliation Spreads
heet")
Call fnc_wait(Dialog("text:=File Download"))
Wait(3)
strExcelSheetName = DataTable.Value("TestCaseID","HOLDR")
strTestCaseName = DataTable.Value("TestCaseID","HOLDR") & ".xls"
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
For intCounter= 0 to strBound-1
strinitialPath = strinitialPath & strIndVar(intCounter)
&"\"
Next
strPath = strinitialPath & "DownloadFiles\"
blnFolder = "False"
Set fso = CreateObject("Scripting.FileSystemObject")
blnFolder = fso.FolderExists(strPath)
If blnFolder = "False" Then
fso.CreateFolder(strPath)
End If
strExcelPath = strinitialPath & "DownloadFiles\" & strTestCaseNa
me
Call DeletingFile(strExcelPath)
If Dialog("text:=File Download").Exist(5) Then
Dialog("text:=File Download").WinButton("text:=&
Save").Click
If Dialog("text:=File Download").WinButton("text
:=&Save").Exist(5) Then
Dialog("text:=File Download").Wi
nButton("text:=&Save").Click
End If
End If
Wait(2)
Dialog("File Download").Dialog("Save As").WinEdit("File name:").
Type strExcelPath
Dialog("File Download").Dialog("Save As").WinButton("Save").Clic
k
Call fnc_wait(Dialog("text:=Download complete"))
If Dialog("text:=Download complete").Exist(2) Then
Dialog("Download complete").WinButton("Close").C
lick
End If
blnBoolValue = chkFileExist(strExcelPath)
If blnBoolValue = "True" Then
Reporter.ReportEvent micPass,"Verifying if the x
ls file exists or Not","The Excel file exist in the Path "&strPath
Call chkExcelHeaderNames(strExcelPath,DataTable.
Value("HOLDRName","HOLDR"),"ReportsReconciliationSpreadsheet","ReportHeader","NA
ME OF COMPANY")
Else
Reporter.ReportEvent micFail,"Verifying if the xls file exists o
r Not","The Excel file does NOT exist in the Path "&strPath
Environment.Value("Execution_Log")= "False"
Environment.Value("TestCase_Log")= "False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 10: Go t
o the location and open the Reports - Reconciliation Spreadsheet.xls","Report he
aders are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 7 To 10: Go t
o the location and open the Reports - Reconciliation Spreadsheet.xls","Report he
aders are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call select_Menu("MasterFile","Reports - Reconciliation Spreadsh
eet","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 11: From the
Home menu, select DR Home","DR Home page should not isplayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC18()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Issuanc
e/Cancellation Instruction").WebElement("ReportsIssuanceCancellationInstruction"
).GetROProperty("innertext"))
If strIssueCacel="Reports - Issuance/Cancellation Instruction" T
hen
Reporter.ReportEvent micPass,"Verify Reports - I
ssuance/Cancellation Instruction page is displayed or not","Reports - Issuance/C
ancellation Instruction page is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - I
ssuance/Cancellation Instruction page is displayed or not","Reports - Issuance/C
ancellation Instruction page is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Issuance/Cancella
tion Instruction","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Issuance/Cancel
lation Instruction","HOLDRName;TransactionType")
Call pageCheck_WebEditOR("MasterFile","Reports - Issuance/Cancel
lation Instruction","ShareCount")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is disp
layed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on
HOLDR Reconciliation Spreadsheet","HOLDR Reconciliation Spreadsheet page is not
displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Issuance/Cancellation
Instruction")
If Browser("name:=Master File General Error").Exist(10) Then
Reporter.ReportEvent micFail,"Verify the Server
error","Due to unexpected server error , Unable to proceed further execution"
Browser("name:=Master File General Error").Close
Call select_Menu("MasterFile","Reports - Issuanc
e/Cancellation Instruction","Home;DR Home")
Exit Function
End If
Call fnc_wait(Dialog("text:=File Download"))
Wait(3)
If Dialog("text:=File Download").Exist(5) Then
Dialog("text:=File Download").WinButton("text:=&
Open").Click
If Dialog("text:=File Download").WinButton("text
:=&Open").Exist(5) Then
Dialog("text:=File Download").Wi
nButton("text:=&Open").Click
End If
End If
Wait(2)
If Browser("title:=https://160.254.95.*").Exist(5) Then
Reporter.ReportEvent micPass,"Verify Reports - Issuance/Cancellat
ion Instruction is opened PDF format or not","Reports - Issuance/Cancellation In
struction report is opened in PDF format"
Else
Reporter.ReportEvent micPass,"Verify Reports - I
ssuance/Cancellation Instruction is opened PDF format or not","Reports - Issuanc
e/Cancellation Instruction report is notopened in PDF format"
Environment.Value("Execution_Log")="False"
End If
Browser("title:=https://160.254.95.*").Close
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Verify Rep
orts - Issuance/Cancellation Instruction is opened PDF format or not","Reports -
Issuance/Cancellation Instruction report is opened in PDF format"
Else
Reporter.ReportEvent micPass,"Step 8: Verify Rep
orts - Issuance/Cancellation Instruction is opened PDF format or not","Reports -
Issuance/Cancellation Instruction report is notopened in PDF format"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call select_Menu("MasterFile","Reports - Issuance/Cancellation I
nstruction","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 9: From the H
ome menu, select DR Home","DR Home page should not isplayed with the correspond
ing links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++
Public Function MFReportsHOLDR_TC19()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Audit L
og").WebElement("ReportsAuditLog").GetROProperty("innertext"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Audit Log","Searc
h;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Audit Log","HOL
DRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Audit Log","Fro
mDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Audit Log")
Call fnc_wait(Browser("MasterFile").Page("Reports - Audit Log").
WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Audit Log","HOLDR","
ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Audit
Log")
Call chkReportHeader("MasterFile","Reports - Audit Log","Reports
AuditLog")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is generated
successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is not gener
ated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call SelectCARelationEventName("MasterFile","Reports - Audit Log
","Item",DataTable.Value("SelectConstituent","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: Click on a
ny affected constituent link","Profile - Constituent Profile page is displayed w
ith all fields"
Else
Reporter.ReportEvent micFail,"Step 9: Click on a
ny affected constituent link","Profile - Constituent Profile page is not display
ed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #10
Browser("MasterFile").Back
Call SelectAffectedConstituent("MasterFile","Reports - Audit Log
","Item",DataTable.Value("SelectAffectedCUSIP","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Click on
any affected CUSIP link","Profile - Constituent Profile page is displayed with a
ll fields"
Else
Reporter.ReportEvent micFail,"Step 10: Click on
any affected CUSIP link","Profile - Constituent Profile page is not displayed wi
th all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Browser("MasterFile").Back
Call SelectDeclaredConstituent("MasterFile","Reports - Audit Log
","Item",DataTable.Value("SelectDeclaredConstituent","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Click on
any declared constituent link","Profile - Constituent Profile page is displayed
with all fields"
Else
Reporter.ReportEvent micFail,"Step 11: Click on
any declared constituent link","Profile - Constituent Profile page is not displa
yed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #12
Browser("MasterFile").Back
Call SelectDeclaredCUSIP("MasterFile","Reports - Audit Log","Ite
m",DataTable.Value("SelectDeclaredCUSIP","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: Click on
any declared constituent link","Profile - Constituent Profile page is displayed
with all fields"
Else
Reporter.ReportEvent micFail,"Step 12: Click on
any declared constituent link","Profile - Constituent Profile page is not displa
yed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Profile - Constituent Profile","P
rofile;Constituent")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebEdit("Name").Set DataTable.Value("SelectConstituent","HOLDR")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").Image("Search").Click
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebElement("innertext:=" & DataTable.Value("SelectConstituent","HOLDR"),"html
tag:=TD").Click
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: Navigate
to Profile->Constituent->Enter Constituent and click search","Profile - Constitu
ent Profile page is displayed with all fields"
Else
Reporter.ReportEvent micFail,"Step 13: Navigate
to Profile->Constituent->Enter Constituent and click search","Profile - Constitu
ent Profile page is not displayed with all fields"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("MasterFile","Profile - Constituent Profile","H
ome;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC20()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Audit L
og").WebElement("ReportsAuditLog").GetROProperty("innertext"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Audit Log","Searc
h;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Audit Log","HOL
DRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Audit Log","Fro
mDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Audit Log")
Call fnc_wait(Browser("MasterFile").Page("Reports - Audit Log").
WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Audit Log","HOLDR","
ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Audit
Log")
Call chkReportHeader("MasterFile","Reports - Audit Log","Reports
AuditLog")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is generated
successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is not gener
ated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - Audit Log","Filter",
DataTable.Value("FilterColumn","HOLDR"),DataTable.Value("FilterExpression","HOLD
R"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Audit Log","F
ilter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Audit Log","Home;DR Hom
e")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC21()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Audit L
og").WebElement("ReportsAuditLog").GetROProperty("innertext"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Audit Log","Searc
h;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Audit Log","HOL
DRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Audit Log","Fro
mDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on
Reports - Audit Log","Reports - Audit Log page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
''Step #8
Call HOLDRReports("MasterFile","Reports - Audit Log")
Call fnc_wait(Browser("MasterFile").Page("Reports - Audit Log").
WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Audit Log","HOLDR","
ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Audit
Log")
Call chkReportHeader("MasterFile","Reports - Audit Log","Reports
AuditLog")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is generated
successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is not gener
ated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - Audit Log","Sort",Data
Table.Value("SortColumn","HOLDR"),DataTable.Value("SortOrder","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Audit Log","S
ort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Audit Log","Home;DR Hom
e")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC22()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Audit L
og").WebElement("ReportsAuditLog").GetROProperty("innertext"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - A
udit Log page is displayed or not","Reports - Audit Log page is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Audit Log","Searc
h;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Audit Log","HOL
DRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Audit Log","Fro
mDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 : Click on
Reports - Audit Log","Reports - Audit Log page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7 : Click on
Reports - Audit Log","Reports - Audit Log page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Audit Log")
Call fnc_wait(Browser("MasterFile").Page("Reports - Audit Log").
WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Audit Log","HOLDR","
ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Audit
Log")
Call chkReportHeader("MasterFile","Reports - Audit Log","Reports
AuditLog")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Audit Log","Item","
Event Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is generated
successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Audit Log search is not gener
ated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - Audit Lo
g","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Audit Log","Home;DR Hom
e")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC23()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.

'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strCash=Trim(Browser("MasterFile").Page("Reports - Cash Delivery
Report").WebElement("ReportsCashDeliveryReport").GetROProperty("innertext"))
If strIssueCacel="Reports - Cash Delivery Report" Then
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Cash Delivery Rep
ort","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Cash Delivery R
eport","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Cash Delivery R
eport","FromDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 : Click on
Reports - Cash Delivery Report","Reports - Cash Delivery Report page is display
ed"
Else
Reporter.ReportEvent micFail,"Step 7 : Click on
Reports - Cash Delivery Report","Reports - Cash Delivery Report is not displaye
d"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Cash Delivery Report")
Call fnc_wait(Browser("MasterFile").Page("Reports - Cash Deliver
y Report").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Cash Delivery Report
","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Cash
Delivery Report")
Call chkReportHeader("MasterFile","Reports - Cash Delivery Repor
t","ReportsCashDeliveryReport")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","Start Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","End Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Cash Delivery Report is gener
ated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports - Cash Delivery Report is not g
enerated successfully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call SelectCAEventNameInReport("MasterFile","Reports - Cash Deli
very Report","Item",DataTable.Value("SelectConstituent","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stamp
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stamp
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: Click on a
ny affected constituent link","Profile - Constituent Profile page is displayed w
ith all fields"
Else
Reporter.ReportEvent micFail,"Step 9: Click on a
ny affected constituent link","Profile - Constituent Profile page is not display
ed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #10
Browser("MasterFile").Back
Call SelectCAIsinInReportNew("MasterFile","Reports - Cash Delive
ry Report","Item",DataTable.Value("SelectAffectedCUSIP","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Click on
any affected CUSIP link","Profile - Constituent Profile page is displayed with a
ll fields"
Else
Reporter.ReportEvent micFail,"Step 10: Click on
any affected CUSIP link","Profile - Constituent Profile page is not displayed wi
th all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Browser("MasterFile").Back
Call SelectCABooksClosed("MasterFile","Reports - Cash Delivery R
eport","Item",DataTable.Value("SelectDeclaredConstituent","HOLDR"))
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Click on
any declared constituent link","Profile - Constituent Profile page is displayed
with all fields"
Else
Reporter.ReportEvent micFail,"Step 11: Click on
any declared constituent link","Profile - Constituent Profile page is not displa
yed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #12
Browser("MasterFile").Back
Call SelectElementValueinTable("MasterFile","Reports - Cash Deli
very Report","Item","CUSIP(Declared Constituent)")
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Constituent P
rofile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: Click on
any declared constituent link","Profile - Constituent Profile page is displayed
with all fields"
Else
Reporter.ReportEvent micFail,"Step 12: Click on
any declared constituent link","Profile - Constituent Profile page is not displa
yed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Profile - Constituent Profile","P
rofile;Constituent")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebEdit("Name").Set DataTable.Value("SelectConstituent","HOLDR")
Browser("MasterFile").Page("Profile - Constituent Profile Search
").Image("Search").Click
Browser("MasterFile").Page("Profile - Constituent Profile Search
").WebElement("innertext:=" & DataTable.Value("SelectConstituent","HOLDR"),"html
tag:=TD").Click
strConstProfile=Trim(Browser("MasterFile").Page("Profile - Const
ituent Profile").WebElement("ConstituentProfile").GetROProperty("innertext"))
If strConstProfile="Profile - Constituent Profile" Then
Reporter.ReportEvent micPass,"Verify constituent
profile is displayed or not","Constituent profile page is displayed"
Else
Reporter.ReportEvent micFail,"Verify constituent
profile is displayed or not","Constituent profile page is not displayed"
Environment.Value("Execution_Log")= "False"
End If
strTimeStamp=Trim(Browser("MasterFile").Page("Profile - Constitu
ent Profile").WebElement("TimeStamp").GetROProperty("innertext"))
If strTimeStamp <> "" Then
Reporter.ReportEvent micPass,"Verify time stam p
is displayed or not","Time stamp is displayed"
Else
Reporter.ReportEvent micFail,"Verify time stam p
is displayed or not","Time stamp is not displayed"
Environment.Value("Execution_Log")= "False"
End If
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","Detail;CorporateAction;DetailHeader")
Call pageCheck_WebEditOR("MasterFile","Profile - Constituent Pro
file","Name;USTickerSymbol;IntlTickerSymbol;USExchange;GICSCode;LastSyncDate;CUS
IP;PriceUSD;PriceCAD;IntlExchange;ISIN;SecurityType")
Browser("MasterFile").Page("Profile - Constituent Profile").WebE
lement("CorporateAction").Click
Call pageCheck_WebElementOR("MasterFile","Profile - Constituent
Profile","CorporateActionHeader")
Call chkMFProfileHeader("MasterFile","Profile - Constituent Prof
ile","CorporateAction","ConstituentProfileCATab")
Call pageCheck_ImageOR("MasterFile","Profile - Constituent Profi
le","PreviewProfile;ProfileAudit;RelatedProfiles")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: Navigate
to Profile->Constituent->Enter Constituent and click search","Profile - Constitu
ent Profile page is displayed with all fields"
Else
Reporter.ReportEvent micFail,"Step 13: Navigate
to Profile->Constituent->Enter Constituent and click search","Profile - Constitu
ent Profile page is not displayed with all fields"
Environment.Value("TestCase_Log")="True"
End If
'Step #14
Call select_Menu("MasterFile","Profile - Constituent Profile","H
ome;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 14: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 14: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC24()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Cash De
livery Report").WebElement("ReportsCashDeliveryReport").GetROProperty("innertext
"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Cash Delivery Rep
ort","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Cash Delivery R
eport","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Cash Delivery R
eport","FromDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on C
ash Delivery Report","Reports - Cash Delivery Report page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on R
eports - Cash Delivery Report","Reports - Cash Delivery Page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Cash Delivery Report")
Call fnc_wait(Browser("MasterFile").Page("Reports - Cash Deliver
y Report").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Cash Delivery Report
","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Cash
Delivery Report")
Call chkReportHeader("MasterFile","Reports - Cash Delivery Repor
t","ReportsCashDeliveryReport")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","Start Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","End Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports is generated successfully as p
er the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports is not generated successfully
as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - Cash Delivery Report
","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTable.Value("FilterExpres
sion","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Cash Delivery
Report","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Cash Delivery Report","
Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC25()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Cash De
livery Report").WebElement("ReportsCashDeliveryReport").GetROProperty("innertext
"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Cash Delivery Rep
ort","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Cash Delivery R
eport","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Cash Delivery R
eport","FromDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on
Reports - Audit Log","Reports - Cash Delivery Report page is displayed"
Else
Reporter.ReportEvent micFail,"Step 7: Click on
Reports - Audit Log","Reports - Cash Delivery Report page is not displayed"
Environment.Value("TestCase_Log")="True"
End If
''Step #8
Call HOLDRReports("MasterFile","Reports - Cash Delivery Report")
Call fnc_wait(Browser("MasterFile").Page("Reports - Cash Deliver
y Report").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Cash Delivery Report
","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Cash
Delivery Report")
Call chkReportHeader("MasterFile","Reports - Cash Delivery Repor
t","ReportsCashDeliveryReport")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","Start Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","End Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports is generated successfully as p
er the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports is not generated successfully
as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - Cash Delivery Report",
"Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Value("SortOrder","HOLDR"
))
Call FilterSort_ClkButtons("MasterFile","Reports - Cash Delivery
Report","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Cash Delivery Report","
Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC26()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on O
peration Link","Reports - Operation Screen is not displayed with correct Search
Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Click on O
peration Link","Reports - Operation Screen is displayed with correct Search Crit
eria"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call chkPreDefinedReports("MasterFile","Reports - Operation","Op
eration Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Value("R
eportName","HOLDR"))
strIssueCacel=Trim(Browser("MasterFile").Page("Reports - Cash De
livery Report").WebElement("ReportsCashDeliveryReport").GetROProperty("innertext
"))
If strIssueCacel="Reports - Audit Log" Then
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is displayed"
Else
Reporter.ReportEvent micPass,"Verify Reports - C
ash Delivery Report page is displayed or not","Reports - Cash Delivery Report pa
ge is not displayed"
Environment.Value("Execution_Log")="True"
End If
Call pageCheck_ImageOR("MasterFile","Reports - Cash Delivery Rep
ort","Search;Clear")
Call pageCheck_WebListOR("MasterFile","Reports - Cash Delivery R
eport","HOLDRName")
Call pageCheck_WebEditOR("MasterFile","Reports - Cash Delivery R
eport","FromDate;ToDate")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 : Click on
Reports - Cash Delivery Report","Reports - Cash Delivery Report is displayed"
Else
Reporter.ReportEvent micFail,"Step 7 : Click on
Reports - Cash Delivery Report","Reports - Cash Delivery Report is not displaye
d"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call HOLDRReports("MasterFile","Reports - Cash Delivery Report")
Call fnc_wait(Browser("MasterFile").Page("Reports - Cash Deliver
y Report").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Cash Delivery Report
","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Cash
Delivery Report")
Call chkReportHeader("MasterFile","Reports - Cash Delivery Repor
t","ReportsCashDeliveryReport")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","Start Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Cash Delivery Repor
t","Item","End Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: Enter sear
ch criteria and click on Search button","Reports is generated successfully as p
er the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 8: Enter sear
ch criteria and click on Search button","Reports is not generated successfully
as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - Cash Del
ivery Report","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Cash Delivery Report","
Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC27()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),"")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Client services menu","Reports - Client Services page is displayed with all the
reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Client services menu","Reports - Client Services page is not displayed with all
the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call select_Menu("MasterFile","Reports - Client Services","Home;
DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 7: From the H
ome menu, select DR Home","DR Home page should not be displayed with the corresp
onding links"
Environment.Value("TestCase_Log")="True"
End If
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC28()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Monthly HO
LDR Issue/Cancel Activity").WebElement("ReportsMonthlyHOLDRIssueCancelActivity")
.GetROProperty("innertext"))
If strMonthly="Reports - Monthly HOLDR Issue/Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Monthly HOLDR I
ssue/Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Monthly HOLDR Iss
ue/Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Call HOLDRReports("MasterFile","Reports - Monthly HOLDR Issue/Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Monthly HOLD
R Issue/Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Monthly HOLDR Issue/
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Month
ly HOLDR Issue/Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","ReportsMonthlyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Enter sear
ch criteria and click on Search button","Reports is generated successfully as p
er the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7: Enter sear
ch criteria and click on Search button","Reports is not generated successfully
as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #8
Call select_Menu("MasterFile","Reports - Monthly HOLDR Issue/Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 8: From the H
ome menu, select DR Home","DR Home page should not be displayed with the corresp
onding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC29()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Monthly HO
LDR Issue/Cancel Activity").WebElement("ReportsMonthlyHOLDRIssueCancelActivity")
.GetROProperty("innertext"))
If strMonthly="Reports - Monthly HOLDR Issue/Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Monthly HOLDR I
ssue/Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Monthly HOLDR Iss
ue/Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Monthly HOLDR Issue/Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Monthly HOLD
R Issue/Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Monthly HOLDR Issue/
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Month
ly HOLDR Issue/Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","ReportsMonthlyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - Monthly HOLDR Issue/
Cancel Activity Results","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTa
ble.Value("FilterExpression","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Monthly HOLDR
Issue/Cancel Activity Results","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Monthly HOLDR Issue/Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function

Public Function MFReportsHOLDR_TC30()


Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Monthly HO
LDR Issue/Cancel Activity").WebElement("ReportsMonthlyHOLDRIssueCancelActivity")
.GetROProperty("innertext"))
If strMonthly="Reports - Monthly HOLDR Issue/Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Monthly HOLDR I
ssue/Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Monthly HOLDR Iss
ue/Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Monthly HOLDR Issue/Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Monthly HOLD
R Issue/Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Monthly HOLDR Issue/
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Month
ly HOLDR Issue/Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","ReportsMonthlyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - Monthly HOLDR Issue/Ca
ncel Activity Results","Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Va
lue("SortOrder","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Monthly HOLDR
Issue/Cancel Activity Results","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Monthly HOLDR Issue/Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC31()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Monthly HO
LDR Issue/Cancel Activity").WebElement("ReportsMonthlyHOLDRIssueCancelActivity")
.GetROProperty("innertext"))
If strMonthly="Reports - Monthly HOLDR Issue/Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Monthly HOLDR I
ssue/Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Monthly HOLDR Iss
ue/Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity ","Reports - Monthly HOLDR Issue/Cancel Acti
vity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Monthly HOLDR Issue/Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Monthly HOLD
R Issue/Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Monthly HOLDR Issue/
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Month
ly HOLDR Issue/Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","ReportsMonthlyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Monthly HOLDR Issue
/Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - Monthly
HOLDR Issue/Cancel Activity Results","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Monthly HOLDR Issue/Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC32()
Environment.Value("TestCase_Log")="True"
'Step #1
Call click_WebElement("MasterFile","Depositary Receipt Division'
s","MasterFile")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:Operatio
n;Client Services")
Call select_Menu("MasterFile","MasterFile",DataTable.Value("MenuPath","H
OLDR"))
'Step #2
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily HOLD
R Issue / Cancel Activity").WebElement("ReportsDailyHOLDRIssueCancelActivity").G
etROProperty("innertext"))
If strMonthly="Reports - Daily HOLDR Issue / Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - D
aily HOLDR Issue / Cancel Activity is displayed or not","Reports - Daily HOLDR
Issue / Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - D
aily HOLDR Issue / Cancel Activity is displayed or not","Reports - Daily HOLDR I
ssue / Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily HOLDR Iss
ue / Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily HOLDR Issue
/ Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1 : Click on
Reports - Daily HOLDR Issue / Cancel Activity ","Reports - Daily HOLDR Issue / C
ancel Activity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 1 : Click on
Reports - Daily HOLDR Issue / Cancel Activity","Reports - Daily HOLDR Issue / Ca
ncel Activity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call HOLDRReports("MasterFile","Reports - Daily HOLDR Issue / Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily HOLDR
Issue / Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
HOLDR Issue / Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","ReportsDailyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"Gre
aterThan")
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessT
han")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports - Daily HOLDR Issue / Canc
el Activity search is generated successfully as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports - Daily HOLDR Issue / Canc
el Activity search is not generated successfully as per the serahc criteria ente
red"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call select_Menu("MasterFile","Reports - Daily HOLDR Issue / Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 4: From the H
ome menu, select DR Home","DR Home page should not be displayed with the corresp
onding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC33()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily HOLD
R Issue / Cancel Activity").WebElement("ReportsDailyHOLDRIssueCancelActivity").G
etROProperty("innertext"))
If strMonthly="Reports - Daily HOLDR Issue / Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily HOLDR Iss
ue / Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily HOLDR Issue
/ Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily HOLDR Issue / Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily HOLDR
Issue / Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
HOLDR Issue / Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","ReportsDailyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"Gre
aterThan")
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessT
han")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTa
ble.Value("FilterExpression","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Daily HOLDR I
ssue / Cancel Activity Results","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily HOLDR Issue / Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC34()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily HOLD
R Issue / Cancel Activity").WebElement("ReportsDailyHOLDRIssueCancelActivity").G
etROProperty("innertext"))
If strMonthly="Reports - Daily HOLDR Issue / Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily HOLDR Iss
ue / Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily HOLDR Issue
/ Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily HOLDR Issue / Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily HOLDR
Issue / Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
HOLDR Issue / Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","ReportsDailyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"Gre
aterThan")
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessT
han")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - Daily HOLDR Issue / Ca
ncel Activity Results","Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Va
lue("SortOrder","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Daily HOLDR I
ssue / Cancel Activity Results","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily HOLDR Issue / Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC35()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily HOLD
R Issue / Cancel Activity").WebElement("ReportsDailyHOLDRIssueCancelActivity").G
etROProperty("innertext"))
If strMonthly="Reports - Daily HOLDR Issue / Cancel Activity" T
hen
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily HOLDR Iss
ue / Cancel Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily HOLDR Issue
/ Cancel Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity ","Reports - Monthly HOLDR Issue/Cancel Acti
vity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily HOLDR Issue / Ca
ncel Activity")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily HOLDR
Issue / Cancel Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
HOLDR Issue / Cancel Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","ReportsDailyHOLDRIssueCancelActivityResults")
Call chkReportValues("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR
"))
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"Gre
aterThan")
Call DateComparision("MasterFile","Reports - Daily HOLDR Issue /
Cancel Activity Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessT
han")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - Daily HO
LDR Issue / Cancel Activity Results","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily HOLDR Issue / Can
cel Activity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC36()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Wait(2)
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - HOLDR Cros
s Border Activity").WebElement("ReportsHOLDRCrossBorderActivity").GetROProperty(
"innertext"))
If strMonthly="Reports - HOLDR Cross Border Activity" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Cross Bor
der Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Cross Borde
r Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity ","Reports - Monthly HOLDR Issue/Cancel Acti
vity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Cross Border Act
ivity")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Cross
Border Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Cross Border A
ctivity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Cross Border Activity Results")
Call chkReportHeader("MasterFile","Reports - HOLDR Cross Border
Activity Results","ReportsHOLDRCrossBorderActivity")
Call chkReportValuesHOLDRReports("MasterFile","Reports - HOLDR C
ross Border Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call select_Menu("MasterFile","Reports - HOLDR Cross Border Acti
vity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 9: From the H
ome menu, select DR Home","DR Home page should not be displayed with the corresp
onding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC37()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - HOLDR Cros
s Border Activity").WebElement("ReportsHOLDRCrossBorderActivity").GetROProperty(
"innertext"))
If strMonthly="Reports - HOLDR Cross Border Activity" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Cross Bor
der Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Cross Borde
r Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Cross Border Act
ivity")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Cross
Border Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Cross Border A
ctivity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Cross Border Activity Results")
Call chkReportHeader("MasterFile","Reports - HOLDR Cross Border
Activity Results","ReportsHOLDRCrossBorderActivity")
Call chkReportValuesHOLDRReports("MasterFile","Reports - HOLDR C
ross Border Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - HOLDR Cross Border A
ctivity Results","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTable.Valu
e("FilterExpression","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR Cross B
order Activity Results","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR Cross Border Acti
vity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC38()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - HOLDR Cros
s Border Activity").WebElement("ReportsHOLDRCrossBorderActivity").GetROProperty(
"innertext"))
If strMonthly="Reports - HOLDR Cross Border Activity" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Cross Bor
der Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Cross Borde
r Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Cross Border Act
ivity")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Cross
Border Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Cross Border A
ctivity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Cross Border Activity Results")
Call chkReportHeader("MasterFile","Reports - HOLDR Cross Border
Activity Results","ReportsHOLDRCrossBorderActivity")
Call chkReportValuesHOLDRReports("MasterFile","Reports - HOLDR C
ross Border Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - HOLDR Cross Border Act
ivity Results","Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Value("Sor
tOrder","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - HOLDR Cross B
order Activity Results","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR Cross Border Acti
vity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC39()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - HOLDR Cros
s Border Activity").WebElement("ReportsHOLDRCrossBorderActivity").GetROProperty(
"innertext"))
If strMonthly="Reports - HOLDR Cross Border Activity" Then
Reporter.ReportEvent micPass,"Verify Reports - H
OLDR Cross Border Activity is displayed or not","Reports - HOLDR Cross Border Ac
tivity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - H
OLDR Cross Border Activity is displayed or not","Reports - HOLDR Cross Border Ac
tivity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - HOLDR Cross Bor
der Activity","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - HOLDR Cross Borde
r Activity","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Reports - HOLDR Cross Border Activity ","Reports - HOLDR Cross Border Activity p
age is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Reports - HOLDR Cross Border Activity","Reports - HOLDR Cross Border Activity pa
ge is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - HOLDR Cross Border Act
ivity")
Call fnc_wait(Browser("MasterFile").Page("Reports - HOLDR Cross
Border Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - HOLDR Cross Border A
ctivity Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - HOLDR
Cross Border Activity Results")
Call chkReportHeader("MasterFile","Reports - HOLDR Cross Border
Activity Results","ReportsHOLDRCrossBorderActivity")
Call chkReportValuesHOLDRReports("MasterFile","Reports - HOLDR C
ross Border Activity Results","Item","HOLDR Name",DataTable.Value("HOLDRName","H
OLDR"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - HOLDR Cr
oss Border Activity Results","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - HOLDR Cross Border Acti
vity Results","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC40()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily Brok
er Activity Search").WebElement("ReportsDailyBrokerActivitySearch").GetROPropert
y("innertext"))
If strMonthly="Reports - Daily Broker Activity Search" Then
Reporter.ReportEvent micPass,"Verify Reports - D
aily Broker Activity Search is displayed or not","Reports - Daily Broker Activit
y Search is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - D
aily Broker Activity Search is displayed or not","Reports - Daily Broker Activit
y Search is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily Broker Ac
tivity Search","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily Broker Acti
vity Search","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Reports - Daily Broker Activity Search ","Reports - Daily Broker Activity Search
page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Reports - Daily Broker Activity Search","Reports - Daily Broker Activity Search
page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily Broker Activity
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily Broker
Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily Broker Activit
y Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
Broker Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily Broker Activi
ty Results","ReportsDailyBrokerActiviyResults")
Call chkReportValues("MasterFile","Reports - Daily Broker Activi
ty Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR"))
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call select_Menu("MasterFile","Reports - Daily Broker Activity R
esults","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9: From the H
ome menu, select DR Home","DR Home page should be displayed with the correspondi
ng links"
Else
Reporter.ReportEvent micFail,"Step 9: From the H
ome menu, select DR Home","DR Home page should not be displayed with the corresp
onding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC41()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily Brok
er Activity Search").WebElement("ReportsDailyBrokerActivitySearch").GetROPropert
y("innertext"))
If strMonthly="Reports - Daily Broker Activity Search" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily Broker Ac
tivity Search","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily Broker Acti
vity Search","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily Broker Activity
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily Broker
Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily Broker Activit
y Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
Broker Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily Broker Activi
ty Results","ReportsDailyBrokerActiviyResults")
Call chkReportValues("MasterFile","Reports - Daily Broker Activi
ty Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR"))
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call FilterCriteria("MasterFile","Reports - Daily Broker Activit
y Results","Filter",DataTable.Value("FilterColumn","HOLDR"),DataTable.Value("Fil
terExpression","HOLDR"),DataTable.Value("FilterValue","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Daily Broker
Activity Results","Filter","Filter:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Filter Criteria","Filter Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily Broker Activity R
esults","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC42()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily Brok
er Activity Search").WebElement("ReportsDailyBrokerActivitySearch").GetROPropert
y("innertext"))
If strMonthly="Reports - Daily Broker Activity Search" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily Broker Ac
tivity Search","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily Broker Acti
vity Search","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily Broker Activity
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily Broker
Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily Broker Activit
y Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
Broker Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily Broker Activi
ty Results","ReportsDailyBrokerActiviyResults")
Call chkReportValues("MasterFile","Reports - Daily Broker Activi
ty Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR"))
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call SortCriteria("MasterFile","Reports - Daily Broker Activity
Results","Sort",DataTable.Value("SortColumn","HOLDR"),DataTable.Value("SortOrder
","HOLDR"))
Call FilterSort_ClkButtons("MasterFile","Reports - Daily Broker
Activity Results","Sort","Sort:","Delete")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Sort Criteria","Sort Criteria is working correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily Broker Activity R
esults","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++
Public Function MFReportsHOLDR_TC43()
Environment.Value("TestCase_Log")="True"
'Step #1 & Step #2
'Login Operation is included in the Driver Script.
'Step #3
Call click_WebElement("MasterFile","Depositary Receipt Division's","Mast
erFile")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 3: Navigate t
o DR Home page after successful login.","The links - '" & DataTable.Value("HomeP
ageLinks","HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Click on R
eports Link","The Report Link list should contain HOLDR"
Else
Reporter.ReportEvent micFail,"Step 4: Click on R
eports Link","The Report Link list should not contain HOLDR"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call check_Menu("MasterFile","MasterFile","Reports;HOLDR;Search:
Operation;Client Services")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Click on H
OLDR Link","All the Reports links are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 5:Click on HO
LDR Link","All the Reports links are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call select_Menu("MasterFile","MasterFile",DataTable.Value("Menu
Path","HOLDR"))
Call chkPreDefinedReports("MasterFile","Reports - Client Services","Clie
nt Services Reports",DataTable.Value("ReportNamesString","HOLDR"),DataTable.Valu
e("ReportName","HOLDR"))
strMonthly=Trim(Browser("MasterFile").Page("Reports - Daily Brok
er Activity Search").WebElement("ReportsDailyBrokerActivitySearch").GetROPropert
y("innertext"))
If strMonthly="Reports - Daily Broker Activity Search" Then
Reporter.ReportEvent micPass,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is displayed"
Else
Reporter.ReportEvent micFail,"Verify Reports - M
onthly HOLDR Issue/Cancel Activity is displayed or not","Reports - Monthly HOLDR
Issue/Cancel Activity is not displayed"
Environment.Value("Execution_Log")="False"
End If
Call pageCheck_WebListOR("MasterFile","Reports - Daily Broker Ac
tivity Search","HOLDRName")
Call pageCheck_ImageOR("MasterFile","Reports - Daily Broker Acti
vity Search","Search;Clear")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity ","Reports - Monthly HOLDR Issue/Cancel Acti
vity page is displayed with all the reports"
Else
Reporter.ReportEvent micFail,"Step 6 : Click on
Monthly HOLDR Issue/Cancel Activity","Reports - Monthly HOLDR Issue/Cancel Activ
ity page is not displayed with all the reports"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
Call HOLDRReports("MasterFile","Reports - Daily Broker Activity
Search")
Call fnc_wait(Browser("MasterFile").Page("Reports - Daily Broker
Activity Results").WebElement("TimeStamp"))
Call chkReportLinks("MasterFile","Reports - Daily Broker Activit
y Results","HOLDR","ReportLinks")
Call chkReportsHOLDRSearchCriteria("MasterFile","Reports - Daily
Broker Activity Results")
Call chkReportHeader("MasterFile","Reports - Daily Broker Activi
ty Results","ReportsDailyBrokerActiviyResults")
Call chkReportValues("MasterFile","Reports - Daily Broker Activi
ty Results","Item","HOLDR Name",DataTable.Value("HOLDRName","HOLDR"))
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("FromDate","HOLDR"),"GreaterThan")
Call DateComparision("MasterFile","Reports - Daily Broker Activi
ty Results","Item","Date",DataTable.Value("ToDate","HOLDR"),"LessThan")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is generated successfully
as per the serahc criteria entered"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Enter
search criteria and click on Search button","Reports is not generated successf
ully as per the serahc criteria entered"
Environment.Value("TestCase_Log")="True"
End If
'Step #9 To Step #12
Call Report_SaveExcel_LineBreak("MasterFile","Reports - Daily Br
oker Activity Results","SaveAsExcel","HOLDR")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is exported successfully into e
xcel file"
Else
Reporter.ReportEvent micFail,"Step 9 To 12: Veri
fication of Save as Excel functionality","Report is not exported successfully in
to excel file"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("MasterFile","Reports - Daily Broker Activity R
esults","Home;DR Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: From the
Home menu, select DR Home","DR Home page should be displayed with the correspond
ing links"
Else
Reporter.ReportEvent micFail,"Step 13: From the
Home menu, select DR Home","DR Home page should not be displayed with the corres
ponding links"
Environment.Value("TestCase_Log")="True"
End If
End Function

You might also like