You are on page 1of 31

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

==========================
' Name of the Script : Corporate Actions Profile Rel
ationship Manager Certification
' Scope of the Script : This test script covers 24 te
st cases related to the CA profile --> Relationship Manager Certification
' Author : Mohan Gummadi
' Description : Corporate Actions Profile Rel
ationship Manager Certification
' Date and / or Version : 3-12-2008,version 1.0
'===============================================================================
============================

Sub CAProfileRelationshipManagerCertification()
'****Declaration of Environmental Variable
Environment.Value("Execution_Log")=True
'''''''''Test case count
Const TC_COUNT = 17
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 "CALogin"
DataTable.ImportSheet strDataPath & "Login.xls","CALogin","CALog
in"
DataTable.AddSheet "RelationshipManager"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","RelationshipManager","RelationshipManager"
DataTable.AddSheet "HomePageVerification"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","HomePageVerification","HomePageVerification"
Environment.Value("strSheetName")="RelationshipManager"
' 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("CALogin").SetCurrentRow(1)
Call invoke_URL("CorporateActions","Login Page",DataTable.Value(
"URL","CALogin"))
'****Checking the username, password and login objects in the lo
gin page
Call pageCheck_WebEdit("CorporateActions","Login Page","username
;j_password","")
Call pageCheck_WebButton("CorporateActions","Login Page","Login"
,"")
'****Entering username and password and login into the masterfil
e application
DataTable.GetSheet("CALogin").SetCurrentRow(1)
Call login("CorporateActions","Login Page","User","CALogin")
Environment.Value("DATATABLE_ROW")=1
DataTable.GetSheet("RelationshipManager").SetCurrentRow(Environm
ent.Value("DATATABLE_ROW"))
'***************************************** TC Driver Strat *****
**************************************************
For intTCCount = 1 to TC_COUNT
Environment.Value("Execution_Log") = "True"
If DataTable("TestRunFlag","RelationshipManager"
)="Y" Then ''If run flag is Y in test data table
Reporter.ReportEvent micDone,"######## BEGIN TEST CASE - '"
& DataTable("TestCaseID","RelationshipManager") & "' ########### ","Execution of
Test Case '" & DataTable("TestCaseDesc","RelationshipManager") & "' Started"
strFuncName = "CAProfileRelation
shipManagerCertification_TC" & intTCCount & "()" ''Formation of f
unction name
''Call Function
Execute "Call " & strFuncName
If Environment.Value("Execution
_Log") = "True"Then
Call Execution_l
og("",Datatable.Value("TestCaseID", "RelationshipManager"), Datatable.Value("Tes
tCaseDesc", "RelationshipManager"), "PASS")
Else
Call Execution_l
og("",Datatable.Value("TestCaseID", "RelationshipManager"), Datatable.Value("Tes
tCaseDesc", "RelationshipManager"), "FAIL")
End If
Reporter.ReportE
vent micDone,"######### END OF TEST CASE - '" & DataTable("TestCaseID","Relation
shipManager") & "###########","The Test Case Execution Completed"
End If
strPrevious=Trim(DataTable.Value("TestCaseID","R
elationshipManager"))
''Increment the test data table row
Environment.Value("DATATABLE_ROW") = Environment
.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("RelationshipManager").SetCur
rentRow(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","Relat
ionshipManager"))
While strPrevious = strNext
Environment.Value("DATATABLE_ROW
") = Environment.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("Relationship
Manager").SetCurrentRow(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("Te
stCaseID","RelationshipManager"))
Wend
Next
Call logoutfromApp("CorporateActions","Depositary Receipt Divisi
on's")
'***************************************** TC Driver End *******
************************************************
End Sub
'***************************************************** TestCase #1 to TestCase #
24******************************

Public Function CAProfileRelationshipManagerCertification_TC1()


Environment.Value("TestCase_Log")="True"
'Step #1
'Call chkCAHomePage("CorporateActions","Depositary Receipt Divis
ion's",DataTable.Value("HomePageLinks","HomePageVerification"),DataTable.Value("
UserName","HomePageVerification"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Navigate t
o DR Home page after successful login.","Successfully verified the links - " & D
ataTable.Value("HomePageLinks","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 1: 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 #2
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call chkCAPage("CorporateActions","CorporateActions",DataTable.V
alue("MenuName","HomePageVerification"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Click on C
orporate Actions in DR Home page.","Successfully verified the home page menus -
" & DataTable.Value("MenuName","HomePageVerification")
Else
Reporter.ReportEvent micFail,"Step 2: Click on C
orporate Actions in DR Home page.","The menus - '" & DataTable.Value("MenuName",
"HomePageVerification") & "' are not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
Call pageCheck_WebEditOR("CorporateActions","Profile - Relations
hip Manager Certification Search","EventName")
Call pageCheck_WebListOR("CorporateActions","Profile - Relations
hip Manager Certification Search","CorporateActionType;RelationshipManagerNy;Reg
ion;Country")
Call pageCheck_Image("CorporateActions","Profile - Relationship
Manager Certification Search","Search;Clear","")
Call pageCheck_WebTableOR("CorporateActions","Profile - Relation
ship Manager Certification Search","SearchBy;SearchResults")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Under Prof
ile menu select Relationship Manager Certification.","Expected fields are displa
yed in search criteria"
Else
Reporter.ReportEvent micFail,"Step 3: Under Prof
ile menu select Relationship Manager Certification.","Expected fields are not di
splayed in search criteria"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Mana
ger Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC2()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Event Name",
DataTable.Value("EventName","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Enter even
t name to search for Relationship manager Certification","All the items related
to search criteria are listed under results."
Else
Reporter.ReportEvent micFail,"Step 2: Enter eve
nt name to search for Relationship manager Certification","All the items related
to search criteria are not listed under results."
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC3()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
strCaOptions=Trim(Browser("CorporateActions").Page("Profile - Re
lationship Manager Certification Search").WebList("CorporateActionType").GetROPr
operty("all items"))
If strCaOptions=DataTable.Value("CATypeOptions","RelationshipMan
ager") Then
Reporter.ReportEvent micPass,"verify the options
available in the Corporate Action Type dropdown","All the items " & DataTable.V
alue("CATypeOptions","RelationshipManager") & "are displayed correctly"
Else
Reporter.ReportEvent micFail,"verify the options
available in the Corporate Action Type dropdown","All the items " & DataTable.V
alue("CATypeOptions","RelationshipManager") & "are not displayed correctly"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Verify ite
ms under 'Corporate Action Type' dropdown","All the items are displayed correctl
y"
Else
Reporter.ReportEvent micFail,"Step 2: Verify it
ems under 'Corporate Action Type' dropdown","All the items are not displayed cor
rectly"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
strCaDefault=Trim(Browser("CorporateActions").Page("Profile - Re
lationship Manager Certification Search").WebList("CorporateActionType").GetROPr
operty("selection"))
If strCaDefault="€All" Then
Reporter.ReportEvent micPass,"Verify the default
value in the Corporate Action Type dropdown","Default value in the Corporate Ac
tion Type dropdown 'All' is displayed"
Else
Reporter.ReportEvent micFail,"Verify the default
value in the Corporate Action Type dropdown","Default value in the Corporate Ac
tion Type dropdown 'All' is not displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Check Defa
ult value for 'Corporate Action Type'"," 'All' is selected by default under 'Cor
porate Action Type'"
Else
Reporter.ReportEvent micFail,"Step 3: Check Defa
ult value for 'Corporate Action Type'"," 'All' is not selected by default under
'Corporate Action Type'"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Corporate Ac
tion Type",DataTable.Value("CATypeOptions","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Keep 'All'
as the selected value and click on search","All the items with all the Corporat
e Action Types i.e; Cash Dividend, Dividend Option and Stock Dividend are listed
under results"
Else
Reporter.ReportEvent micFail,"Step 4: Keep 'All'
as the selected value and click on search","All the items with all the Corporat
e Action Types i.e; Cash Dividend, Dividend Option and Stock Dividend are not li
sted under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC4()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call Select_Combo_Value("CorporateActions","Profile - Relationsh
ip Manager Certification Search","CorporateActionType",DataTable.Value("Corporat
eActionType","RelationshipManager"))
Browser("CorporateActions").Page("Profile - Relationship Manager
Certification Search").WebList("CorporateActionType").Submit
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Corporate Ac
tion Type",DataTable.Value("CorporateActionType","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Cor
porate Action Type' select 'Cash Dividend' and press 'Enter' key.","All the item
s with 'Cash Dividend' as 'Corporate Action Type' are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Co
rporate Action Type' select 'Cash Dividend' and press 'Enter' key","All the item
s with 'Cash Dividend' as 'Corporate Action Type' are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Man
ager Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC5()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call Select_Combo_Value("CorporateActions","Profile - Relationsh
ip Manager Certification Search","CorporateActionType",DataTable.Value("Corporat
eActionType","RelationshipManager"))
Browser("CorporateActions").Page("Profile - Relationship Manager
Certification Search").WebList("CorporateActionType").Submit
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Corporate Ac
tion Type",DataTable.Value("CorporateActionType","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Cor
porate Action Type' select 'Dividend Option' and press 'Enter' key.","All the it
ems with 'Dividend Option' as 'Corporate Action Type' are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Co
rporate Action Type' select 'Dividend Option' and press 'Enter' key","All the it
ems with 'Dividend Option' as 'Corporate Action Type' are not listed under resul
ts"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Man
ager Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC6()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call Select_Combo_Value("CorporateActions","Profile - Relationsh
ip Manager Certification Search","CorporateActionType",DataTable.Value("Corporat
eActionType","RelationshipManager"))
Browser("CorporateActions").Page("Profile - Relationship Manager
Certification Search").WebList("CorporateActionType").Submit
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Corporate Ac
tion Type",DataTable.Value("CorporateActionType","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Cor
porate Action Type' select 'Stock Dividend' and press 'Enter' key.","All the ite
ms with 'Stock Dividend' as 'Corporate Action Type' are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Co
rporate Action Type' select 'Stock Dividend' and press 'Enter' key","All the ite
ms with 'Stock Dividend' as 'Corporate Action Type' are not listed under results
"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Man
ager Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC7()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
strRmDefault=Trim(Browser("CorporateActions").Page("Profile - Re
lationship Manager Certification Search").WebList("RelationshipManagerNy").GetRO
Property("selection"))
If strRmDefault="€All" Then
Reporter.ReportEvent micPass,"Verify the default
value available in the Relationship Manager NY dropdown","By default 'All' is s
elected in the Relationship Manager NY dropdown"
Else
Reporter.ReportEvent micFail,"Verify the default
value available in the Relationship Manager NY dropdown","By default 'All' is n
ot selected in the Relationship Manager NY dropdown"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2:Check defau
lt value for 'Relationship Manager NY'"," 'All' should be selected by default un
der 'Relationship Manager NY'."
Else
Reporter.ReportEvent micFail,"Step 2: Check def
ault value for 'Relationship Manager NY'"," 'All' should not be selected by defa
ult under 'Relationship Manager NY'."
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call select_Menu("CorporateActions","Profile - Relationship Man
ager Certification Search",DataTable.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 3: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Relationship
Manager Ny",DataTable.Value("RelationshipManagerNy","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Select app
ropriate search criteria and click on search","All the items related to search c
riteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 4: Select app
ropriate search criteria and click on search","All the items related to search c
riteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC8()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
strCountryDefault=Trim(Browser("CorporateActions").Page("Profile
- Relationship Manager Certification Search").WebList("Country").GetROProperty(
"selection"))
If strCountryDefault="€All" Then
Reporter.ReportEvent micPass,"Verify the default
value available in the Country dropdown","By default 'All' is selected in the C
ountry dropdown"
Else
Reporter.ReportEvent micFail,"Verify the default
value available in the Country dropdown","By default 'All' is not selected in t
he Country dropdown"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Verify ite
ms under ' Country ' dropdown","By default 'All' is selected in the Country drop
down"
Else
Reporter.ReportEvent micFail,"Step 2: Verify it
ems under ' Country ' dropdown","By default 'All' is not selected in the Country
dropdown"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Relationship
Manager Ny",DataTable.Value("RelationshipManagerNy","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Select a v
alue in the Country dropdown and click on search","All the items related to sear
ch criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 3: Select a v
alue in the Country dropdown and click on search","All the items related to sear
ch criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Mana
ger Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC9()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
strRegionOptions=Trim(Browser("CorporateActions").Page("Profile
- Relationship Manager Certification Search").WebList("Region").GetROProperty("a
ll items"))
If strRegionOptions=DataTable.Value("RegionOptions","Relationshi
pManager") Then
Reporter.ReportEvent micPass,"Verify the options
available in the Region dropdown","All the items " & DataTable.Value("RegionOpt
ions","RelationshipManager") & "are displayed correctly"
Else
Reporter.ReportEvent micFail,"Verify the options
available in the Region dropdown","All the items " & DataTable.Value("RegionOpt
ions","RelationshipManager") & "are not displayed correctly"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Verify ite
ms under 'Region' dropdown","All the items are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 2: Verify it
ems under 'Region' dropdown","All the items are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
strRegionDefault=Trim(Browser("CorporateActions").Page("Profile
- Relationship Manager Certification Search").WebList("Region").GetROProperty("s
election"))
If strRegionDefault="€All" Then
Reporter.ReportEvent micPass,"Verify the default
value in the Region dropdown","Default value in the Region dropdown 'All' is di
splayed"
Else
Reporter.ReportEvent micFail,"Verify the default
value in the Region dropdown","Default value in the Region dropdown 'All' is no
t displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Check Defa
ult value for 'Region'"," 'All' is selected by default under 'Region'"
Else
Reporter.ReportEvent micFail,"Step 3: Check Defa
ult value for 'Region'"," 'All' is not selected by default under 'Region'"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Keep 'All'
as the selected value and click on search","All the items for all the Regions a
re listed under results"
Else
Reporter.ReportEvent micFail,"Step 4: Keep 'All'
as the selected value and click on search","All the items for all the Regions a
re not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC10()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
strRegionOptions=Trim(Browser("CorporateActions").Page("Profile
- Relationship Manager Certification Search").WebList("Region").GetROProperty("a
ll itmes"))
If strRegionOptions=DataTable.Value("RegionOptions","Relationshi
pManager") Then
Reporter.ReportEvent micPass,"Verify the options
available in the Region dropdown","All the items " & DataTable.Value("RegionOpt
ions","RelationshipManager") & "are displayed correctly"
Else
Reporter.ReportEvent micFail,"Verify the options
available in the Region dropdown","All the items " & DataTable.Value("RegionOpt
ions","RelationshipManager") & "are not displayed correctly"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Verify ite
ms under 'Region' dropdown","All the items are displayed correctly"
Else
Reporter.ReportEvent micFail,"Step 2: Verify it
ems under 'Region' dropdown","All the items are not displayed correctly"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
strRegionDefault=Trim(Browser("CorporateActions").Page("Profile
- Relationship Manager Certification Search").WebList("Region").GetROProperty("s
election"))
If strRegionDefault="€All" Then
Reporter.ReportEvent micPass,"Verify the default
value in the Region dropdown","Default value in the Region dropdown 'All' is di
splayed"
Else
Reporter.ReportEvent micFail,"Verify the default
value in the Region dropdown","Default value in the Region dropdown 'All' is no
t displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Check Defa
ult value for 'Region'"," 'All' is selected by default under 'Region'"
Else
Reporter.ReportEvent micFail,"Step 3: Check Defa
ult value for 'Region'"," 'All' is not selected by default under 'Region'"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 4: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC11()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC12()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC13()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC14()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateActions",
"Profile - Relationship Manager Certification Search")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Under 'Reg
ion' select any one option and click on search","All the items related to search
criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Manager Cert
ification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC15()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call set_WebEdit_Value ("CorporateActions","Profile - Relationship Manag
er Certification Search","EventName",DataTable.Value("EventName","RelationshipMa
nager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Enter even
t name in the corresponding field","The value is displayed"
Else
Reporter.ReportEvent micFail,"Step 2: Enter eve
nt name in the corresponding field","The value is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call Select_Combo_Value("CorporateActions","Profile - Relationship Manag
er Certification Search","Region",DataTable.Value("Region","RelationshipManager"
))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Under 'Reg
ion' select any one option","The value is displayed"
Else
Reporter.ReportEvent micFail,"Step 3: Under 'Reg
ion' select any one option","The value is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
Call Select_Combo_Value("CorporateActions","Profile - Relationship Manag
er Certification Search","Country",DataTable.Value("Country","RelationshipManage
r"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Under 'Cou
ntry' select any one option","The value is displayed"
Else
Reporter.ReportEvent micFail,"Step 4: Under 'Cou
ntry' select any one option","The value is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call Select_Combo_Value("CorporateActions","Profile - Relationship Manag
er Certification Search","RelationshipManagerNy",DataTable.Value("RelationshipMa
nagerNy","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Under 'Rel
ationship Manager Ny' select any one option","The value is displayed"
Else
Reporter.ReportEvent micFail,"Step 5: Under 'Rel
ationship Manager Ny","The value is not displayed"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Call click_Image("CorporateActions","Profile - Relationship Mana
ger Certification Search","Clear")
strEventName=Trim(Browser("CorporateActions").Page("Profile - Re
lationship Manager Certification Search").WebEdit("EventName").GetROProperty("va
lue"))
strRegion=Trim(Browser("CorporateActions").Page("Profile - Relat
ionship Manager Certification Search").WebList("Region").GetROProperty("selectio
n"))
strCountry=Trim(Browser("CorporateActions").Page("Profile - Rela
tionship Manager Certification Search").WebList("Country").GetROProperty("select
ion"))
strRelation=Trim(Browser("CorporateActions").Page("Profile - Rel
ationship Manager Certification Search").WebList("RelationshipManagerNy").GetROP
roperty("selection"))
If strEventName="" AND strRegion="€All" AND strCountry="€All" AND s
trRelation = "€All" Then
Reporter.ReportEvent micPass,"Verify all the fie
lds are cleared or not in the search criteria","All the fileds are not cleared a
nd the default values are displayed"
Else
Reporter.ReportEvent micFail,"Verify all the fie
lds are cleared or not in the search criteria","All the fileds are not cleared a
nd the default values are displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on t
he 'clear' button","All the values are cleared and default values should be disp
layed"
Else
Reporter.ReportEvent micFail,"Step 6: Click on t
he 'clear' button","All the values are not cleared and default values should be
displayed"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Profile - Relationship Mana
ger Certification Search","HOME;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileRelationshipManagerCertification_TC16()
Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Event Name",
DataTable.Value("EventName","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call SelectCARelationEventName("CorporateActions","Profile - Rel
ationship Manager Certification Search","SearchResults",DataTable.Value("SelectE
ventName","RelationshipManager"))
strUnderlying=Trim(Browser("CorporateActions").Page("Underlying
Event").WebElement("UnderlyingEvent").GetROProperty("innertext"))
If strUnderlying="Underlying Event" Then
Reporter.ReportEvent micPass,"verify Underlying
Event page is displayed or not","Underlying Event page is displayed"
Else
Reporter.ReportEvent micFail,"verify Underlying
Event page is displayed or not","Underlying Event page is not displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
strCompany=Trim(Browser("CorporateActions").Page("Underlying Eve
nt").WebEdit("Company").GetROProperty("value"))
strEventName=Trim(Browser("CorporateActions").Page("Underlying E
vent").WebEdit("EventName").GetROProperty("value"))
If strCompany =DataTable.Value("SelectEventName","RelationshipMa
nager") And strEventname=DataTable.Value("SelectEventName","RelationshipManager"
) Then
Reporter.ReportEvent micPass,"Verify Event Name
a nd Company values in underlying event page are same as selected event name sel
ected","Company and event name in underlying event page are same as event name s
elected"
Else
Reporter.ReportEvent micFail,"Verify Event Name
a nd Company values in underlying event page are same as selected event name sel
ected","Company and event name in underlying event page are not same as event na
me selected"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Click on t
he link under 'Event Name' column","Navigated to Underlying Event page, 'Company
' and 'Event Name' displayed under 'Corporate Action Type' are same as Event Nam
e selected"
Else
Reporter.ReportEvent micFail,"Step 3: Click on t
he link under 'Event Name' column","Navigated to Underlying Event page, 'Company
' and 'Event Name' displayed under 'Corporate Action Type' are not same as Event
Name selected"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
blnRM=Browser("CorporateActions").Page("Underlying Event").WebBu
tton("RMCertification").Exist(5)
If blnRM="False" Then
Reporter.ReportEvent micPass,"Verify the RM Cert
ification exis or not","RM Certification button not displayed"
Else
Reporter.ReportEvent micPass,"Verify the RM Cert
ification exis or not","RM Certification button is displayed"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Check for
existence of 'RM Certification' button","RM Certification' button should not exi
st"
Else
Reporter.ReportEvent micFail,"Step 4: Check for
existence of 'RM Certification' button","RM Certification' button should exist."
Environment.Value("TestCase_Log")="True"
End If
'Step #5 To Step #6
Call select_Menu("CorporateActions","Underlying Event","HOME;DR
Home")
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Event Name",
DataTable.Value("EventName","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5 To 6: Enter
Event Name and click on search","All the items related to search criteria are l
isted under results"
Else
Reporter.ReportEvent micFail,"Step 5 To 6: Enter
Event Name and click on search","All the items related to search criteria are n
ot listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #7 To Step #8
intRowCount=Browser("CorporateActions").Page("Profile - Relationship Man
ager Certification Search").WebTable("SearchResults").RowCount
For intCounter=1 To intRowCount
intColCount=Browser("CorporateActions").Page("Pr
ofile - Relationship Manager Certification Search").WebTable("SearchResults").Co
lumnCount(2)
For intColCounter=1 To intColCou
nt
strEventName=Tri
m(Browser("CorporateActions").Page("Profile - Relationship Manager Certification
Search").WebTable("SearchResults").GetCellData(intCounter,intColCounter))
If strEventName=DataTable.Value("SelectEventName","RelationshipManager") Then
blnFlag="True"
Exit For
Else
blnFlag="False"
End If
Next
If blnFlag="True" Then
Exit For
End If
Next
If blnFlag="True" Then
Reporter.ReportEvent micPass,"Verify Checkboxe c
orresponding to event name selected or not","Checkboxe corresponding to results
is selected"
Browser("CorporateActions").Page("Profile - Rela
tionship Manager Certification Search").WebTable("SearchResults").ChildItem(intC
ounter,intColCounter-2,"WebCheckBox",0).Set "On"
Browser("CorporateActions").Page("Profile - Rela
tionship Manager Certification Search").Image("Save").Click
Else
Reporter.ReportEvent micFail,"Verify Checkboxe c
orresponding to event name selected or not","Checkboxe corresponding to results
is not selected"
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 8: Check
the checkbox in the 'Certification' column and click on save","The checkbox sho
uld be selected and the record shold be saved"
Else
Reporter.ReportEvent micFail,"Step 7 To 8: Check
the checkbox in the 'Certification' column and click on save","The checkbox sho
uld not be selected and the record should not be saved"
Environment.Value("TestCase_Log")="True"
End If
'Step #9
Call select_Menu("CorporateActions","Profile - Relationship Mana
ger Certification Search","Profile;Underlying Event")
strEventText=Trim(Browser("CorporateActions").Page("Profile - Un
derlying Event Search").WebElement("Profile - Underlying Event Search").GetROPro
perty("innertext"))
If strEventText="Profile - Underlying Event Search" Then
Reporter.ReportEvent micPass,"Verify Profile - U
nderlying Event Search page is displayed or not","Profile - Underlying Event Sea
rch page is displsyed"
Else
Reporter.ReportEvent micFail,"Verify Profile - U
nderlying Event Search page is displayed or not","Profile - Underlying Event Sea
rch page is not displsyed"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 9:Under Profi
le menu select 'Underlying Event'","Profile - Underlying Event Search page opens
successfully"
Else
Reporter.ReportEvent micFail,"Step 9: Under Prof
ile menu select 'Underlying Event'","Profile - Underlying Event Search page not
opens successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #10
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("Clear").Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").WebList("ProcessingStatus").Select "Pending"
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").WebEdit("EventName").Set DataTable.Value("SelectEventName","RelationshipMa
nager")
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("CAType").Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Frame("lookupFrame").WebElement("html tag:=TD","innertext:=Cash Dividend")
.Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("Search").Click
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10: Enter eve
nt name and click on search button","All the items starting with the correspondi
ng search criteria should be listed under results"
Else
Reporter.ReportEvent micFail,"Step 10: Enter eve
nt name and click on search button","All the items starting with the correspondi
ng search criteria should not listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #11
Call clickRecordinTableDOM_ProfileModules("CorporateActions","Pr
ofile - Underlying Event Search","UnderlyingEventSearchResults",DataTable.Value(
"SelectEventName","RelationshipManager"))
strCreatedUpdated = Browser("CorporateActions").Page("Underlying
Event").WebTable("CreatedUpdated").GetROProperty("innertext")
intCreatedPos = InStr(1,strCreatedUpdated,"Created")
intUpdatedPos = InStr(1,strCreatedUpdated,"Updated")
strCreatedDetails = Mid(strCreatedUpdated,intCreatedPos,intUpdat
edPos-1)
strUpdatedDetails = Mid(strCreatedUpdated,intUpdatedPos)
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11: Click on
the link below under 'Event Name'","'Underlying Event ' screen opens with Event
details"
Else
Reporter.ReportEvent micFail,"Step 11: Click on
the link below under 'Event Name'","Underlying Event ' screen not opens with Eve
nt details"
Environment.Value("TestCase_Log")="True"
End If
'Step #12
Call fnc_wait(Browser("CorporateActions").Page("Underlying Event
").WebButton("RMCertification"))
Wait(10)
If Browser("CorporateActions").Page("Underlying Event").WebButto
n("RMCertification").Exist(2) Then
Reporter.ReportEvent micPass," Verify RM Certifi
cation button exist or not","RM Certification button is displayed"
Browser("CorporateActions").Page("Underlying Event").WebButton("
RMCertification").Click
Else
Reporter.ReportEvent micFail," Verify RM Certifi
cation button exist or not","RM Certification button is not displayed"
Environment.Value("Execution_Log")="False"
End If
If Browser("CorporateActions").Page("Underlying Event").Frame("l
ookupFrame").WebTable("UnderlyingEventRMCertificate").Exist(2) Then
Reporter.ReportEvent micPass,"Verify the RM Cert
ification table is displayed or not","RM Certification table is displayed"
Else
Reporter.ReportEvent micPass,"Verify the RM Cert
ification table is displayed or not","RM Certification table is not displayed"
Environment.Value("Execution_Log")="False"
End If
Wait(10)
strRMCertification=Trim(Browser("CorporateActions").Page("Underl
ying Event").Frame("lookupFrame").WebTable("UnderlyingEventRMCertificate").GetRO
Property("innertext"))
blnCertification=Instr(strRMCertification,"Certification Date")
blnEvent=Instr(strRMCertification,"Event Name")
blnLocal=Instr(strRMCertification,"Local Record Date")
blnUnderlying=Instr(strRMCertification,"Underlying ISIN")
blnCorporate=Instr(strRMCertification,"Corporate Action Type")
blnCountry=Instr(strRMCertification,"Country")
If blnCertification <> 0 And blnEvent <> 0 And blnLocal <> 0 A
nd blnLocal <> 0 And blnUnderlying <> 0 And blnCorporate <> 0 And blnCountry <>
0 Then
Reporter.ReportEvent micPass,"Verify the Details
are displayed in the RM Certification table or not","Details are displayed corr
ectly in the RM Certification table"
Else
Reporter.ReportEvent micFail,"Verify the Details
are displayed in the RM Certification table or not","Details are not displayed
correctly in the RM Certification table"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 12: Verify if
the button 'RM Certification' is present in the 'Corporate Action Event' secti
on and click on it'","'A popup named 'Underlying Event RM Certification ' opened
with all details"
Else
Reporter.ReportEvent micFail,"Step 12: Verify if
the button 'RM Certification' is present in the 'Corporate Action Event' secti
on and click on it","A popup named 'Underlying Event RM Certification ' not open
ed with all details"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call select_Menu("CorporateActions","Underlying Event","Home;DR
Home")
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13:From the H
ome 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 displayed with the correspon
ding links"
Environment.Value("TestCase_Log")="True"
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++

Public Function CAProfileRelationshipManagerCertification_TC17()


Environment.Value("TestCase_Log")="True"
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
'Step #1
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 1: Under Prof
ile menu select Relationship Manager Certification.","Profile - Relationship Man
ager Certification Search page opened successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Under Pro
file menu select Relationship Manager Certification","Profile - Relationship Man
ager Certification Search page not opened successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #2
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Event Name",
DataTable.Value("EventName","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 2: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 2: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #3
Call SelectCARelationEventName("CorporateActions","Profile - Rel
ationship Manager Certification Search","SearchResults",DataTable.Value("SelectE
ventName","RelationshipManager"))
strUnderlying=Trim(Browser("CorporateActions").Page("Underlying
Event").WebElement("UnderlyingEvent").GetROProperty("innertext"))
If strUnderlying="Underlying Event" Then
Reporter.ReportEvent micPass,"verify Underlying
Event page is displayed or not","Underlying Event page is displayed"
Else
Reporter.ReportEvent micFail,"verify Underlying
Event page is displayed or not","Underlying Event page is not displayed"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
strCompany=Trim(Browser("CorporateActions").Page("Underlying Eve
nt").WebEdit("Company").GetROProperty("value"))
strEventName=Trim(Browser("CorporateActions").Page("Underlying E
vent").WebEdit("EventName").GetROProperty("value"))
If strCompany =DataTable.Value("SelectEventName","RelationshipMa
nager") And strEventname=DataTable.Value("SelectEventName","RelationshipManager"
) Then
Reporter.ReportEvent micPass,"Verify Event Name
a nd Company values in underlying event page are same as selected event name sel
ected","Company and event name in underlying event page are same as event name s
elected"
Else
Reporter.ReportEvent micFail,"Verify Event Name
a nd Company values in underlying event page are same as selected event name sel
ected","Company and event name in underlying event page are not same as event na
me selected"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 3: Click on t
he link under 'Event Name' column","Navigated to Underlying Event page, 'Company
' and 'Event Name' displayed under 'Corporate Action Type' are same as Event Nam
e selected"
Else
Reporter.ReportEvent micFail,"Step 3: Click on t
he link under 'Event Name' column","Navigated to Underlying Event page, 'Company
' and 'Event Name' displayed under 'Corporate Action Type' are not same as Event
Name selected"
Environment.Value("TestCase_Log")="True"
End If
'Step #4
blnRM=Browser("CorporateActions").Page("Underlying Event").WebBu
tton("RMCertification").Exist(5)
If blnRM="False" Then
Reporter.ReportEvent micPass,"Verify the RM Cert
ification exis or not","RM Certification button not displayed"
Else
Reporter.ReportEvent micPass,"Verify the RM Cert
ification exis or not","RM Certification button is displayed"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 4: Check for
existence of 'RM Certification' button","RM Certification' button should not exi
st"
Else
Reporter.ReportEvent micFail,"Step 4: Check for
existence of 'RM Certification' button","RM Certification' button should exist."
Environment.Value("TestCase_Log")="True"
End If
'Step #5
Call select_Menu("CorporateActions","Underlying Event",DataTable
.Value("MenuPath","RelationshipManager"))
Call CAProfileRelationshipManagerCertificationSearch("CorporateA
ctions","Profile - Relationship Manager Certification Search")
Call CARelationshipManagerchkReportValues("CorporateActions","Pr
ofile - Relationship Manager Certification Search","SearchResults","Event Name",
DataTable.Value("EventName","RelationshipManager"))
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 5: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are listed under results"
Else
Reporter.ReportEvent micFail,"Step 5: Enter Even
t Name and select any one option from Corporate Action Type, click on search","A
ll the items related to search criteria are not listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #6
Browser("CorporateActions").Page("Profile - Relationship Manager
Certification Search").WebCheckBox("SelectAll").Set "On"
strSetOn=Trim(Browser("CorporateActions").Page("Profile - Relati
onship Manager Certification Search").WebCheckBox("SelectAll").GetROProperty("ch
ecked"))
If strSetOn=1 Then
Reporter.ReportEvent micPass,"Verify all
the webcheckboxes or selected or not","All the webcheckboxes are selected"
Else
Reporter.ReportEvent micFail,"Verify all
the webcheckboxes or selected or not","All the webcheckboxes are not selected"
Environment.Value("Execution_Log")="Fals
e"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 6: Click on '
Select All' check box","All the Checkboxes corresponding to results should be se
lected"
Else
Reporter.ReportEvent micFail,"Step 6: Click on '
Select All' check box","All the Checkboxes corresponding to results should not
selected"
Environment.Value("TestCase_Log")="True"
End If
'Step #7
Browser("CorporateActions").Page("Profile - Relationship Manager
Certification Search").WebCheckBox("SelectAll").Set "Off"
strSetOn=Trim(Browser("CorporateActions").Page("Profile - Relati
onship Manager Certification Search").WebCheckBox("SelectAll").GetROProperty("ch
ecked"))
If strSetOn=0 Then
Reporter.ReportEvent micPass,"Verify all
the webcheckboxes are deselected or not","All the webcheckboxes are deselected"
Else
Reporter.ReportEvent micFail,"Verify all
the webcheckboxes are deselected or not","All the webcheckboxes are not deselec
ted"
Environment.Value("Execution_Log")="Fals
e"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 7: Click on '
Select All' check box","All the Checkboxes corresponding to results should be se
lected"
Else
Reporter.ReportEvent micFail,"Step 7: Click on '
Select All' check box","All the Checkboxes corresponding to results should not
selected"
Environment.Value("TestCase_Log")="True"
End If
'Step #8 To Step #9
intRowCount=Browser("CorporateActions").Page("Profile - Relationship Man
ager Certification Search").WebTable("SearchResults").RowCount
For intCounter=1 To intRowCount
intColCount=Browser("CorporateActions").Page("Pr
ofile - Relationship Manager Certification Search").WebTable("SearchResults").Co
lumnCount(2)
For intColCounter=1 To intColCou
nt
strEventName=Tri
m(Browser("CorporateActions").Page("Profile - Relationship Manager Certification
Search").WebTable("SearchResults").GetCellData(intCounter,intColCounter))
If strEventName=DataTable.Value("SelectEventName","RelationshipManager") Then
blnFlag="True"
Exit For
Else
blnFlag="False"
End If
Next
If blnFlag="True" Then
Exit For
End If
Next
If blnFlag="True" Then
Reporter.ReportEvent micPass,"Verify Checkboxe c
orresponding to event name selected or not","Checkboxe corresponding to results
is selected"
Browser("CorporateActions").Page("Profile - Rela
tionship Manager Certification Search").WebTable("SearchResults").ChildItem(intC
ounter,intColCounter-2,"WebCheckBox",0).Set "On"
Browser("CorporateActions").Page("Profile - Rela
tionship Manager Certification Search").Image("Save").Click
Else
Reporter.ReportEvent micFail,"Verify Checkboxe c
orresponding to event name selected or not","Checkboxe corresponding to results
is not selected"
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 8 To 9: Selec
t a checkbox corresponding to a result and click on 'Save' button","The checkbox
should be selected and the record shold be saved"
Else
Reporter.ReportEvent micFail,"Step 8 To 9: Selec
t a checkbox corresponding to a result and click on 'Save' button","The checkbox
should not be selected and the record should not be saved"
Environment.Value("TestCase_Log")="True"
End If
'Step #10
Call select_Menu("CorporateActions","Profile - Relationship Mana
ger Certification Search","Profile;Underlying Event")
strEventText=Trim(Browser("CorporateActions").Page("Profile - Un
derlying Event Search").WebElement("Profile - Underlying Event Search").GetROPro
perty("innertext"))
If strEventText="Profile - Underlying Event Search" Then
Reporter.ReportEvent micPass,"Verify Profile - U
nderlying Event Search page is displayed or not","Profile - Underlying Event Sea
rch page is displsyed"
Else
Reporter.ReportEvent micFail,"Verify Profile - U
nderlying Event Search page is displayed or not","Profile - Underlying Event Sea
rch page is not displsyed"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 10:Under Prof
ile menu select 'Underlying Event'","Profile - Underlying Event Search page open
s successfully"
Else
Reporter.ReportEvent micFail,"Step 10: Under Pro
file menu select 'Underlying Event'","Profile - Underlying Event Search page not
opens successfully"
Environment.Value("TestCase_Log")="True"
End If
'Step #11 To Step #12
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("Clear").Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").WebList("ProcessingStatus").Select "Pending"
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").WebEdit("EventName").Set DataTable.Value("SelectEventName","RelationshipMa
nager")
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("CAType").Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Frame("lookupFrame").WebElement("html tag:=TD","innertext:=Cash Dividend")
.Click
Browser("CorporateActions").Page("Profile - Underlying Event Sea
rch").Image("Search").Click
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 11 To 12: Ent
er event name and click on search button","All the items starting with the corre
sponding search criteria should be listed under results"
Else
Reporter.ReportEvent micFail,"Step 11 To 12: Ent
er event name and click on search button","All the items starting with the corre
sponding search criteria should not listed under results"
Environment.Value("TestCase_Log")="True"
End If
'Step #13
Call clickRecordinTableDOM_ProfileModules("CorporateActions","Pr
ofile - Underlying Event Search","UnderlyingEventSearchResults",DataTable.Value(
"SelectEventName","RelationshipManager"))
strCreatedUpdated = Browser("CorporateActions").Page("Underlying
Event").WebTable("CreatedUpdated").GetROProperty("innertext")
intCreatedPos = InStr(1,strCreatedUpdated,"Created")
intUpdatedPos = InStr(1,strCreatedUpdated,"Updated")
strCreatedDetails = Mid(strCreatedUpdated,intCreatedPos,intUpdat
edPos-1)
strUpdatedDetails = Mid(strCreatedUpdated,intUpdatedPos)
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 13: Click on
the link under 'Event Name'","'Underlying Event ' screen opens with Event detail
s"
Else
Reporter.ReportEvent micFail,"Step 13: Click on
the link under 'Event Name'","Underlying Event ' screen not opens with Event det
ails"
Environment.Value("TestCase_Log")="True"
End If
'Step #14
Call fnc_wait(Browser("CorporateActions").Page("Underlying Event
").WebButton("RMCertification"))
Wait(10)
If Browser("CorporateActions").Page("Underlying Event").WebButto
n("RMCertification").Exist(2) Then
Reporter.ReportEvent micPass," Verify RM Certifi
cation button exist or not","RM Certification button is displayed"
Browser("CorporateActions").Page("Underlying Event").WebButton("
RMCertification").Click
Else
Reporter.ReportEvent micFail," Verify RM Certifi
cation button exist or not","RM Certification button is not displayed"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 14: Check for
existence of 'RM Certification' button","RM Certification' button should exist"
Else
Reporter.ReportEvent micFail,"Step 14: Check for
existence of 'RM Certification' button","RM Certification' button should not ex
ist"
Environment.Value("TestCase_Log")="True"
End If
'Step #15
If Browser("CorporateActions").Page("Underlying Event").Frame("l
ookupFrame").WebTable("UnderlyingEventRMCertificate").Exist(2) Then
Reporter.ReportEvent micPass,"Verify the RM Cert
ification table is displayed or not","RM Certification table is displayed"
Else
Reporter.ReportEvent micPass,"Verify the RM Cert
ification table is displayed or not","RM Certification table is not displayed"
Environment.Value("Execution_Log")="False"
End If
Wait(10)
strRMCertification=Trim(Browser("CorporateActions").Page("Underl
ying Event").Frame("lookupFrame").WebTable("UnderlyingEventRMCertificate").GetRO
Property("innertext"))
blnCertification=Instr(strRMCertification,"Certification Date")
blnEvent=Instr(strRMCertification,"Event Name")
blnLocal=Instr(strRMCertification,"Local Record Date")
blnUnderlying=Instr(strRMCertification,"Underlying ISIN")
blnCorporate=Instr(strRMCertification,"Corporate Action Type")
blnCountry=Instr(strRMCertification,"Country")
If blnCertification <> 0 And blnEvent <> 0 And blnLocal <> 0 A
nd blnLocal <> 0 And blnUnderlying <> 0 And blnCorporate <> 0 And blnCountry <>
0 Then
Reporter.ReportEvent micPass,"Verify the Details
are displayed in the RM Certification table or not","Details are displayed corr
ectly in the RM Certification table"
Else
Reporter.ReportEvent micFail,"Verify the Details
are displayed in the RM Certification table or not","Details are not displayed
correctly in the RM Certification table"
Environment.Value("Execution_Log")="False"
End If
If Environment.Value("TestCase_Log")="True" Then
Reporter.ReportEvent micPass,"Step 15: Verify if
the button 'RM Certification' is present in the 'Corporate Action Event' secti
on and click on it'","'A popup named 'Underlying Event RM Certification ' opened
with all details"
Else
Reporter.ReportEvent micFail,"Step 15: Verify if
the button 'RM Certification' is present in the 'Corporate Action Event' secti
on and click on it","A popup named 'Underlying Event RM Certification ' not open
ed with all details"
Environment.Value("TestCase_Log")="True"
End If
Call select_Menu("CorporateActions","Underlying Event","Home;DR
Home")
End Function

You might also like