You are on page 1of 30

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

==========================
' Name of the Script : Corporate Actions Profille Un
derlying Event --> Bulk Move
' Scope of the Script : This test script covers 10 te
st cases related to the CA Profile Underlying Event --> Bulk Move
' Author : Shyam H D
' Description : Corporate Actions Profille Un
derlying Event --> Bulk Move
' Date and / or Version : 26-11-2008,version 1.0
'===============================================================================
============================
Sub CAProfileBulkMoveUnderlyingEvent()
'****Declaration of Environmental Variable
Environment.Value("Execution_Log")=True
'''''''''Test case count
Const TC_COUNT = 10
strVar = Environment("TestDir")
strIndVar = Split(strVar,"\",-1,1)
strBound = UBound(strIndVar)
strAllPath =""
For intCounter = 0 to strBound - 1
strAllPath = strAllPath & strIndVar(intCounter)
&"\"
Next
strPath = Trim(strPath)
strDataPath = strAllPath & "DataTables\"
strLibPath = strAllPath & "Function_Library\"
' Including the Library files where all the Scripts are saved
'ExecuteFile strLibPath & "CAReportsBulkMoveUnderlyingEventTC.vb
s"
'****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 "BulkMoveUnderlyingEvent"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","BulkMoveUnderlyingEvent","BulkMoveUnderlyingEvent"
DataTable.AddSheet "ReportHeader"
DataTable.ImportSheet strDataPath & "CorporateActionsReports.xls
","ReportHeader","ReportHeader"
DataTable.AddSheet "HomePageVerification"
DataTable.ImportSheet strDataPath & "CorporateActionsReports.xls
","HomePageVerification","HomePageVerification"
' Logs the Scenario name Execution in a .csv file
Call Execution_log(DataTable.Value("Scenario_Name", "Master"), "
", "", "")
'****Invoking IE and navigating to the ADR Login page
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
Call login("CorporateActions","Login Page","Approval","CALogin")
Environment.Value("DATATABLE_ROW")=1
DataTable.GetSheet("BulkMoveUnderlyingEvent").SetCurrentRow(Envi
ronment.Value("DATATABLE_ROW"))
'***************************************** TC Driver Strat *****
**************************************************
For intTCCount = 1 to TC_COUNT
Environment.Value("Execution_Log") = "True"
If DataTable("TestRunFlag","BulkMoveUnderlyingEvent")="Y
" Then ''If run flag is Y in test data table
Reporter.ReportEvent micDone,"######## BEGIN TES
T CASE - '" & DataTable("TestCaseID","BulkMoveUnderlyingEvent") & "' ###########
","Execution of Test Case '" & DataTable("TestCaseDesc","BulkMoveUnderlyingEven
t") & "' Started"
strFuncName = "CAProfileUEBulkMove_TC" & intTCCount & "()"
''Formation of function name
''Call Function
Execute "Call " & strFuncName
If Environment.Value("Execution_Log") = "True"
Then
Call Execution_log("",Datatable.
Value("TestCaseID", "BulkMoveUnderlyingEvent"), Datatable.Value("TestCaseDesc",
"BulkMoveUnderlyingEvent"), "PASS")
Else
Call Execution_log("",Datatable.
Value("TestCaseID", "BulkMoveUnderlyingEvent"), Datatable.Value("TestCaseDesc",
"BulkMoveUnderlyingEvent"), "FAIL")
End If
Reporter.ReportEvent micDone,"######### END OF T
EST CASE - '" & DataTable("TestCaseID","BulkMoveUnderlyingEvent") & "###########
","The Test Case Execution Completed"
End If

strPrevious=Trim(DataTable.Value("TestCaseID","BulkMoveU
nderlyingEvent"))
''Increment the test data table row
Environment.Value("DATATABLE_ROW") = Environment.Value("
DATATABLE_ROW") + 1
DataTable.GetSheet("BulkMoveUnderlyingEvent").SetCurrent
Row(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","BulkMoveUnder
lyingEvent"))
While strPrevious = strNext
Environment.Value("DATATABLE_ROW") = Environment
.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("BulkMoveUnderlyingEvent").Se
tCurrentRow(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","BulkM
oveUnderlyingEvent"))
Wend
Next
Call logoutfromApp("CorporateActions","Depositary Receipt Divisi
on's")
'***************************************** TC Driver End *******
************************************************

End Sub

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC1()
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
InitialRowCount = Browser("CorporateActions").Page("Profile - Un
derlying Event Search").WebTable("UnderlyingEventSearch").RowCount
' # Step 2
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Search")
FinalRowCount = Browser("CorporateActions").Page("Profile - Unde
rlying Event Search").WebTable("UnderlyingEventSearch").RowCount
If FinalRowCount > InitialRowCount Then
Reporter.ReportEvent micPass,"Step 2: Verfiying if the S
earch Results are Populated or Not","The Search Results are Populated"
Else
Reporter.ReportEvent micFail,"Step 2: Verfiying if the S
earch Results are Populated or Not","The Search Results are NOT Populated"
Environment.Value("Execution_Log") = False
End If
SelectedEventName = CAProfile_SelectEventName("CorporateActions"
,"Profile - Underlying Event Search","UnderlyingEventSearch","Unapproved",DataTa
ble.Value("UnapprovedEventName","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Underlying Event").E
xist(2)
AppEventName = get_WebEdit_Value("CorporateActions","Underlying
Event","EventName")
If UCase(Trim(AppEventName)) = UCase(Trim(SelectedEventName)) Th
en
Reporter.ReportEvent micPass,"Step 3: Verifying if the U
nderlying Event Page is Dispalayed with the Event Details","The Page ' Underlyin
g Event ' is displayed with the Details of the Event " & AppEventName
Else
Reporter.ReportEvent micFail,"Step 3: Verifying if the U
nderlying Event Page is Dispalayed with the Event Details","The Page ' Underlyin
g Event ' is NOT displayed with the Details of the Event " & AppEventName
Environment.Value("TestCase_Log") = False
End If
Call click_WebButton("CorporateActions","Underlying Event","Bulk
Move")
Call pageCheck_WebTableOR("CorporateActions","Bulk Move Event No
tifications","BulkMoveEventNotifications;CorporateActionEvent;CorporateActionEve
ntSearch;UnderlyingNotification")
Call pageCheck_Image("CorporateActions","Bulk Move Event Notific
ations","Save;Cancel","")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 4: Verifying if the B
ulk Move Notification Screen is Opened Successfully or Not","The Page ' Bulk Mov
e Notification Screen is opened successfully with the Required Field"
Else
Reporter.ReportEvent micFail,"Step 4: Verifying if the B
ulk Move Notification Screen is Opened Successfully or Not","The Page ' Bulk Mov
e Notification Screen is NOT opened successfully with the Required Field"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","Cancel")
If Browser("CorporateActions").Page("Underlying Event").Exist(5)
Then
Reporter.ReportEvent micPass,"Step 5: Verifying if the P
age ' Underlying Event ' is Dispalyed or NOT","The Page ' Underlying Event' is D
isplayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying if the P
age ' Underlying Event ' is Dispalyed or NOT","The Page ' Underlying Event' is D
isplayed Successfully"
Environment.Value("Execution_Log") = False
End If
Call select_Menu("CorporateActions","Underlying Event","Home;DR
Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Public Function CAProfileUEBulkMove_TC2()
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Clear")
Call Select_Combo_Value("CorporateActions","Profile - Underlying
Event Search","ProcessingStatus","Approved")
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Search")
intCounter = Browser("CorporateActions").Page("Profile - Underly
ing Event Search").WebTable("UnderlyingEventSearch").RowCount
If intCounter > 2 Then
Call chkProcessingStatusResult("CorporateActions
","Profile - Underlying Event Search","UnderlyingEventSearch","Approved")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2: Ve
rifying if the Processing Status Column Values after the Search Criteria","The V
alue in the Processing Status is ' Approved '"
Else
Reporter.ReportEvent micPass,"Step 2: Ve
rifying if the Processing Status Column Values after the Search Criteria","The V
alue in the Processing Status is NOT Eqaul to ' Approved '"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = Fal
se
End If
EventName = CAProfile_SelectEventName("Corporate
Actions","Profile - Underlying Event Search","UnderlyingEventSearch","Approved",
DataTable.Value("ApprovedEventName","BulkMoveUnderlyingEvent"))
Wait 5
strEventName = Browser("CorporateActions").Page(
"Underlying Event").WebTable("EventName").GetCellData(1,1)
strCreatedUpdatedDetails = Browser("CorporateAct
ions").Page("Underlying Event").WebTable("EventName").GetCellData(2,1)
intPos1 = InStr(1,strCreatedUpdatedDetails,"Upda
ted")
intPos2 = InStr(1,strCreatedUpdatedDetails,"Crea
ted")
If UCase(Trim(strEventName)) = UCase(Trim(Event
Name)) AND intPos1 <> 0 AND intPos2 <> 0 Then
Environment.Value("TestCase_Log") = True
Else
Environment.Value("TestCase_Log") = Fals
e
Environment.Value("Execution_Log") = Fal
se
End If
strAppValue = get_WebList_Value("CorporateAction
s","Underlying Event","ProcessingStatus")
If strAppValue = "Approved" Then
Reporter.ReportEvent micPass,"Verfying t
he Processing Staus","The Processing Status is Equal to ' Approved'"
Else
Reporter.ReportEvent micPass,"Verfying t
he Processing Staus","The Processing Status is Equal to ' Approved'"
Environment.Value("TestCase_Log") = Fals
e
Environment.Value("Execution_Log") = Fal
se
End If
Call pageCheck_WebTableOR("CorporateActions","Un
derlying Event","NotificationsAssigned")
Call pageCheck_WebElementinTable("CorporateActio
ns","Underlying Event","Corporate Action Event Details","")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 3: Ve
rfiying if the details of the Selected Event " & strEventName & " is disaplyed o
r NOT","The Details of the Selected Event " & strEventName & " is dispalyed in t
he Page ' Underlying Event ' "
Else
Reporter.ReportEvent micFail,"Step 3: Ve
rfiying if the details of the Selected Event " & strEventName & " is disaplyed o
r NOT ","The Details of the Selected Event " & strEventName & " is NOT dispalyed
in the Page ' Underlying Event ' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = Fal
se
End If
If Browser("CorporateActions").Page("Underlying
Event").WebButton("BulkMove").Exist(2) Then
Reporter.ReportEvent micFail,"Step 4: Ve
rfiying if the 'Bulk Move' button is displayed or NOT","The button ' Bulk Move '
is Displayed"
Environment.Value("Execution_Log") = Fal
se
Else
Reporter.ReportEvent micPass,"Step 4: Ve
rfiying if the 'Bulk Move' button is displayed or NOT","The button ' Bulk Move '
is NOT Displayed"
End If
Call select_Menu("CorporateActions","Underlying
Event",DataTable.Value("MenuPath","BulkMoveUnderlyingEvent"))
If Browser("CorporateActions").Page("Profile - U
nderlying Event Search").Exist(2) Then
Reporter.ReportEvent micPass,"Step 5: Ve
rifiyng if the Page ' Profile - Underlying Event Search ' is Dispalyed or NOT","
The Page ' Profile Underlying Event Search ' is dispalyed successfully"
Else
Reporter.ReportEvent micPass,"Step 5: Ve
rifiyng if the Page ' Profile - Underlying Event Search ' is Dispalyed or NOT","
The Page ' Profile Underlying Event Search ' is dispalyed successfully"
Environment.Value("Execution_Log") = Fal
se
End If
Else
Reporter.ReportEvent micFail,"Step 2: Verifying
the Results Dispalyed","There are No Results dispalyed for the Search Criteria a
nd hence Not Verfiying the Functionality"
End If
Call chkBulkMoveButton("Cancelled",DataTable.Value("CancelledEve
ntName","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 6 to 8: Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Cancelled ' or NOT","
The Button ' Bulk Move ' Exist for the Processing Status ' Cancelled ' "
Else
Reporter.ReportEvent micFail,"Step 6 to 8: Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Cancelled ' or NOT","
The Button ' Bulk Move ' does not Exist for the Processing Status ' Cancelled '
"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
If Browser("CorporateActions").Page("Bulk Move Event Notificatio
ns").Exist(5) Then
Call select_Menu("CorporateActions","Bulk Move Event Not
ifications",DataTable.Value("MenuPath","BulkMoveUnderlyingEvent"))
End If
If Browser("CorporateActions").Page("Profile - Underlying Event
Search").Exist(2) Then
Reporter.ReportEvent micPass," Step 9: Verifiyng
if the Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Pa
ge ' Profile Underlying Event Search ' is dispalyed successfully"
Else
Reporter.ReportEvent micPass,"Step 9: Verifiyng
if the Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Pag
e ' Profile Underlying Event Search ' is dispalyed successfully"
Environment.Value("Execution_Log") = False
End If
' For No Action Need ed
Call chkBulkMoveButton("No Action Needed",DataTable.Value("NoAct
ionEventName","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 10 to 12: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' No Action Needed '
or NOT","The Button ' Bulk Move ' Exist for the Processing Status ' No Action Ne
eded ' "
Else
Reporter.ReportEvent micFail,"Step 10 to 12: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' No Action Needed '
or NOT","The Button ' Bulk Move ' does not Exist for the Processing Status ' No
Action Needed ' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call select_Menu("CorporateActions","Bulk Move Event Notificatio
ns",DataTable.Value("MenuPath","BulkMoveUnderlyingEvent"))
If Browser("CorporateActions").Page("Profile - Underlying Event
Search").Exist(2) Then
Reporter.ReportEvent micPass,"Step 13: Verifiyng if the
Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Page ' Pr
ofile Underlying Event Search ' is dispalyed successfully"
Else
Reporter.ReportEvent micPass,"Step 13: Verifiyng if the
Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Page ' Pro
file Underlying Event Search ' is dispalyed successfully"
Environment.Value("Execution_Log") = False
End If
' For Pending Status
Call chkBulkMoveButton("Pending",DataTable.Value("PendingEventNa
me","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 14 to 16: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' Pending ' or NOT","
The Button ' Bulk Move ' Exist for the Processing Status ' Pending ' "
Else
Reporter.ReportEvent micFail,"Step 14 to 16: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' Pending ' or NOT","
The Button ' Bulk Move ' does not Exist for the Processing Status ' Pending ' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call select_Menu("CorporateActions","Bulk Move Event Notificatio
ns",DataTable.Value("MenuPath","BulkMoveUnderlyingEvent"))
If Browser("CorporateActions").Page("Profile - Underlying Event
Search").Exist(2) Then
Reporter.ReportEvent micPass,"Step 17: Verifiyng if the
Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Page ' Pr
ofile Underlying Event Search ' is dispalyed successfully"
Else
Reporter.ReportEvent micPass,"Step 17: Verifiyng if the
Page ' Profile - Underlying Event Search ' is Dispalyed or NOT"," The Page ' Pro
file Underlying Event Search ' is dispalyed successfully"
Environment.Value("Execution_Log") = False
End If
Call chkBulkMoveButton("Rejected",DataTable.Value("RejectedEvent
Name","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 18 to 20: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' Rejected ' or NOT",
"The Button ' Bulk Move ' Exist for the Processing Status ' Rejected ' "
Else
Reporter.ReportEvent micFail,"Step 18 to 20: Verifying i
f the ' Bulk Move ' Button exist for the Processing Status ' Rejected ' or NOT",
"The Button ' Bulk Move ' does not Exist for the Processing Status ' Rejected '
"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
If Browser("CorporateActions").Page("Bulk Move Event Notificatio
ns").Exist(5) Then
Call select_Menu("CorporateActions","Bulk Move Event Not
ifications",DataTable.Value("MenuPath","BulkMoveUnderlyingEvent"))
End If
Call select_Menu("CorporateActions","Profile - Underlying Event
Search","Home;DR Home")
If Browser("CorporateActions").Page("Depositary Receipt Division
's").Exist(2) Then
Reporter.ReportEvent micPass,"Step 21: Verifying if the
DR Home Page is disaplyed or Not","The DR Home Page is dispalyed successfully"
Else
Reporter.ReportEvent micFail,"Step 21: Verifying if the
DR Home Page is disaplyed or Not","The DR Home Page is NOT dispalyed successfull
y"
Environment.Value("Execution_Log") = False
End If

End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Public Function CAProfileUEBulkMove_TC3()


Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call chkBulkMoveButton("Pending",DataTable.Value("PendingEventNa
me","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2 to4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Pending ' or NOT","Th
e Button ' Bulk Move ' Exist for the Processing Status ' Pending ' "
Else
Reporter.ReportEvent micFail,"Step 2 to 4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Pending ' or NOT","T
he Button ' Bulk Move ' does not Exist for the Processing Status ' Pending ' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
intRC = Browser("CorporateActions").Page("Bulk Move Event Notifi
cations").WebTable("UnderlyingNotification").RowCount
If intRC > 2 Then
blnFlag = "True"
intRowCount = Browser("CorporateActions").Page("
Bulk Move Event Notifications").WebTable("UnderlyingNotification").RowCount
strValue = Browser("CorporateActions").Page("Bul
k Move Event Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"W
ebCheckBox",0).GetROProperty("checked")
If strValue = 1 Then
Browser("CorporateActions").Page("Bulk M
ove Event Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebC
heckBox",0).Click
End If
Browser("CorporateActions").Page("Bulk Move Even
t Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebCheckBox"
,0).Click
For intRC = 3 to intRowCount
strValue = Browser("CorporateAct
ions").Page("Bulk Move Event Notifications").WebTable("UnderlyingNotification").
ChildItem(intRC,1,"WebCheckBox",0).GetROProperty("checked")
If strValue <> 1 Then
blnFlag = "False"
End If
Next
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 5: Ve
rfiying if all the Notifications are Checked or NOT","All the Notification are C
hecked"
Else
Reporter.ReportEvent micFail,"Step 5: Ve
rfiying if all the Notifications are Checked or NOT","All the Notification are N
OT Checked"
Environment.Value("Execution_Log") = Fal
se
Environment.Value("TestCase_Log") = Fals
e
End If
Else
Reporter.ReportEvent micFail,"Checking for the N
umber of Notification","The Number of Notification is less than 2, Select a diff
erent Event Name"
Environment.Value("Execution_Log") = False
Call select_Menu("CorporateActions","Bulk Move E
vent Notifications","Home;DR Home")
Exit Function
End If
Call select_Menu("CorporateActions","Bulk Move Event Notificatio
ns","Home;DR Home")
If Browser("CorporateActions").Page("Depositary Receipt Division
's").Exist(2) Then
Reporter.ReportEvent micPass,"Step 6 : Verifiyng if the
Page ' Depositary Receipt Division's ' is Dispalyed or NOT"," The Page ' Deposit
ary Receipt Division's ' is dispalyed successfully"
Else
Reporter.ReportEvent micPass,"Step 6 : Verifiyng if the
Page ' Depositary Receipt Division's ' is Dispalyed or NOT"," The Page ' Deposit
ary Receipt Division's ' is dispalyed successfully"
Environment.Value("Execution_Log") = False
End If
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC4()
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call chkBulkMoveButton("Unapproved",DataTable.Value("UnapprovedE
ventName","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2 to4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT",
"The Button ' Bulk Move ' Exist for the Processing Status ' Unapproved ' "
Else
Reporter.ReportEvent micFail,"Step 2 to 4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT"
,"The Button ' Bulk Move ' does not Exist for the Processing Status ' Unapproved
' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","EventName")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","EventDate;EventName;CorporateActionType;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 5: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","cactnEvntNm",DataTable.Value
("EventName","BulkMoveUnderlyingEvent"))
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").WebEdit("EventName").Submit
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
Call chkResultinFrame("CorporateActions","Bulk Move Event Notifi
cations","lookupFrame","EventName","Event Name",DataTable.Value("EventName","Bul
kMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 6: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 6: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").Image("Clear").Click
Wait 2
If Browser("CorporateActions").Page("Bulk Move Event Notificatio
ns").Frame("lookupFrame").Exist(2) Then
Reporter.ReportEvent micPass,"Step 7: Verifying if the P
op up is closed or NOT","The Pop Up is Closed successfully"
Else
Reporter.ReportEvent micFail,"Step 7: Verifying if the P
op up is closed or NOT","The Pop Up is NOT Closed successfully"
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificati
ons","EventName")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 8: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 8: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","cactnEvntNm",DataTable.Value
("EventName","BulkMoveUnderlyingEvent"))
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").WebEdit("EventName").Submit
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
Call chkResultinFrame("CorporateActions","Bulk Move Event Notifi
cations","lookupFrame","EventName","Event Name",DataTable.Value("EventName","Bul
kMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 9: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 9: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 10: Verifying if the
Values displayed in the Fields marches with the values selected in the Popup","T
he Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 10: Verifying if the
Values displayed in the Fields marches with the values selected in the Popup","T
he Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC5()
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","EventDate")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").Image("Calender").Click
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("popCalFrame").WebElement("Today").Click
strDateValue = Browser("CorporateActions").Page("Bulk Move Event
Notifications").Frame("lookupFrame").WebEdit("EventDate").GetROProperty("value"
)
strDisplayedDate = DateValue(strDateValue)
If strDisplayedDate = Date Then
Reporter.ReportEvent micPass,"Step 2: Verfiying if Today
's Date is displayed","Todays date is displayed in the Event Date Field when cli
cked on 'Today' in the Calender"
Else
Reporter.ReportEvent micFail,"Step 2: Verfiying if Today
's Date is displayed","Todays date is NOT displayed in the Event Date Field when
clicked on 'Today' in the Calender"
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").Image("Calender").Click
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("popCalFrame").Image("Clear").Click
strDateValue = Browser("CorporateActions").Page("Bulk Move Event
Notifications").Frame("lookupFrame").WebEdit("EventDate").GetROProperty("value"
)
If strDateValue ="" Then
Reporter.ReportEvent micPass,"Step 3: Verifying if the D
ate is Cleared in the Date Field or NOT","The Date Field is Cleared in the Date
Field"
Else
Reporter.ReportEvent micFail,"Step 3: Verifying if the D
ate is Cleared in the Date Field or NOT","The Date Field is NOT Cleared in the D
ate Field"
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
strDataTableValue = DataTable.Value("EventDate","BulkMoveUnderly
ingEvent")
strValue = Split(strDataTableValue,";",-1,1)
strDateValue = strValue(0)
strMonthValue = strValue(1)
strYearValue = strValue(2)
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").Image("Calender").Click
Call ClickIcon_SetDate("CorporateActions","Bulk Move Event Notif
ications", strMonthValue,strYearValue, strDateValue)
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
FinalRowCount = Browser("CorporateActions").Page("Bulk Move Even
t Notifications").Frame("lookupFrame").WebTable("EventName").RowCount
If FinalRowCount > 1 Then
Reporter.ReportEvent micPass,"Step 4 : Verifying if the
Results are displayed or Not","The Results are Displayed based on the Search Cri
teria Event Date"
Else
Reporter.ReportEvent micFail,"Step 4 : Verifying if the
Results are displayed or Not","The Results are NOT Displayed based on the Search
Criteria Event Date"
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 5: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++
Public Function CAProfileUEBulkMove_TC6()
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","CorporateActionType")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").Image("Clear").Click
Wait 2
If Browser("CorporateActions").Page("Bulk Move Event Notificatio
ns").Frame("lookupFrame").Exist(2) Then
Reporter.ReportEvent micPass,"Step 2: Verifying if the P
op up is closed or NOT","The Pop Up is Closed successfully"
Else
Reporter.ReportEvent micFail,"Step 2: Verifying if the P
op up is closed or NOT","The Pop Up is NOT Closed successfully"
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","CorporateActionType")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 3: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 3: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","cactnTypeNm",DataTable.Value
("CorporateActionType","BulkMoveUnderlyingEvent"))
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
Call chkResultinFrame("CorporateActions","Bulk Move Event Notifi
cations","lookupFrame","EventName","Corporate Action Type",DataTable.Value("Corp
orateActionType","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 4: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 4: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 10: Verifying if the
Values displayed in the Fields marches with the values selected in the Popup","T
he Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 10: Verifying if the
Values displayed in the Fields marches with the values selected in the Popup","T
he Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC7()
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","ISIN")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","isinNo",DataTable.Value("ISI
N","BulkMoveUnderlyingEvent"))
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 2: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 3: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 3: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
Call select_Menu("CorporateActions","Bulk Move Event Notificatio
ns","Home;DR Home")
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++

Public Function CAProfileUEBulkMove_TC8()


Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call chkBulkMoveButton("Unapproved",DataTable.Value("UnapprovedE
ventName","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2 to4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT",
"The Button ' Bulk Move ' Exist for the Processing Status ' Unapproved ' "
Else
Reporter.ReportEvent micFail,"Step 2 to 4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT"
,"The Button ' Bulk Move ' does not Exist for the Processing Status ' Unapproved
' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
intRC = Browser("CorporateActions").Page("Bulk Move Event Notifications"
).WebTable("UnderlyingNotification").RowCount
If intRC > 4 Then
blnFlag = "True"
intRowCount = Browser("CorporateActions").Page("
Bulk Move Event Notifications").WebTable("UnderlyingNotification").RowCount
strValue = Browser("CorporateActions").Page("Bul
k Move Event Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"W
ebCheckBox",0).GetROProperty("checked")
If strValue = 1 Then
Browser("CorporateActions").Page("Bulk M
ove Event Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebC
heckBox",0).Click
End If
Browser("CorporateActions").Page("Bulk Move Even
t Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebCheckBox"
,0).Click
For intRC = 3 to intRowCount
strValue = Browser("CorporateAct
ions").Page("Bulk Move Event Notifications").WebTable("UnderlyingNotification").
ChildItem(intRC,1,"WebCheckBox",0).GetROProperty("checked")
If strValue <> 1 Then
blnFlag = "False"
End If
Next
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 5: Ve
rfiying if all the Notifications are Checked or NOT","All the Notification are C
hecked"
Else
Reporter.ReportEvent micFail,"Step 5: Ve
rfiying if all the Notifications are Checked or NOT","All the Notification are N
OT Checked"
Environment.Value("Execution_Log") = Fal
se
End If
Else
Reporter.ReportEvent micFail,"Checking for the N
umber of Notification","The Number of Notification is less than 2, Select a diff
erent Event Name"
Environment.Value("Execution_Log") = False
Call select_Menu("CorporateActions","Bulk Move E
vent Notifications","Home;DR Home")
Exit Function
End If

Call click_Image("CorporateActions","Bulk Move Event Notificatio


ns","EventName")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 6: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 6: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","cactnEvntNm",DataTable.Value
("EventName","BulkMoveUnderlyingEvent"))
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").WebEdit("EventName").Submit
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event N
otifications","lookupFrame","EventName","Event Name")
Call chkResultinFrame("CorporateActions","Bulk Move Event Notifi
cations","lookupFrame","EventName","Event Name",DataTable.Value("EventName","Bul
kMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 7: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 7: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 8: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 8: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
n","Save")
blnFlag = Browser("CorporateActions").Page("Underlying Event Bul
k Move").Exist(5)
strValue = Browser("CorporateActions").Page("Underlying Event Bu
lk Move").WebTable("NotificationsAssigned").GetCellData(1,1)
If strValue = "Notifications Assigned to this Corporate Action E
vent : 0 Records Found" AND blnFlag = True Then
Reporter.ReportEvent micPass,"Step 9: Verifying if the U
nderlying Event page is displayed and verify for the Records found","Tha Page '
Underlying Event ' is displayed and the Number of Records found is equal to Zero
"
Else
Reporter.ReportEvent micFail,"Step 9: Verifying if the U
nderlying Event page is displayed and verify for the Records found","Tha Page '
Underlying Event ' is NOT displayed OR the Number of Records found is equal to Z
ero"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
strEventName = Browser("CorporateActions").Page("Underlying Even
t Bulk Move").WebEdit("EventName").GetROProperty("value")
Call click_Image("CorporateActions","Underlying Event Bulk Move"
,"Delete")
strMessage = Browser("CorporateActions").Dialog("Microsoft Inter
net Explorer").Static("MessageText").GetROProperty("value")
If UCase(Trim(strMessage)) = UCase(Trim(strMessageText = "Are yo
u sure you want to delete the Profile?")) Then
Reporter.ReportEvent micPass,"Step 10: Verify the text i
n the Delete CA dialog","The Message displayed in the Delete Dialog is " & strMe
ssage
Else
Reporter.ReportEvent micFail,"Step 10: Verify the text i
n the Delete CA dialog","The Message displayed in the Delete Dialog is NOT " & s
trMessage
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
Browser("CorporateActions").Dialog("Microsoft Internet Explorer"
).WinButton("OK").Click
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If blnFlag ="True" Then
Reporter.ReportEvent micPass,"Step 11: Verfiying if the
Page ' Profile Underlying Event Search ' is Dispalyed or Not"," The Page ' Profi
le Underlying Event Search ' is Displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 11: Verfiying if the
Page ' Profile Underlying Event Search ' is Dispalyed or Not"," The Page ' Profi
le Underlying Event Search ' is NOT Displayed successfully"
Environment.Value("Execution_Log") = False
End If
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Clear")
Call set_WebEdit_Value("CorporateActions","Profile - Underlying
Event Search","EventName",strEventName)
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Search")
blnExistFlag = "True"
intRowCount = Browser("CorporateActions").Page("Profile - Underl
ying Event Search").WebTable("UnderlyingEventSearch").RowCount
For intRC = 1 to intRowCount
strCellData = Browser("CorporateActions").Page("Profile
- Underlying Event Search").WebTable("UnderlyingEventSearch").GetCellData(2,intR
C)
If UCase(Trim(strCellData)) = UCase(Trim(strEventName))
Then
blnExistFlag = "False"
End If
Next
If blnExistFlag = "True" Then
Reporter.ReportEvent micPass,"Step 12: Veriying if the D
eleted Event Name exist in the list or NOT","The Deleted Event Name does not exi
st in the List"
Else
Reporter.ReportEvent micFail,"Step 12: Veriying if the D
eleted Event Name exist in the list or NOT","The Deleted Event Name still exist
exist in the List"
Environment.Value("Execution_Log") = False
End If
Call select_Menu("CorporateActions","Profile - Underlying Event
Search","Home;DR Home")
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC9()
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call chkBulkMoveButton("Unapproved",DataTable.Value("UnapprovedE
ventName","BulkMoveUnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 2 to4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT",
"The Button ' Bulk Move ' Exist for the Processing Status ' Unapproved ' "
Else
Reporter.ReportEvent micFail,"Step 2 to 4 : Verifying if
the ' Bulk Move ' Button exist for the Processing Status ' Unapproved ' or NOT"
,"The Button ' Bulk Move ' does not Exist for the Processing Status ' Unapproved
' "
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
' Clicking on the Check box
intRC = Browser("CorporateActions").Page("Bulk Move Event Notifi
cations").WebTable("UnderlyingNotification").RowCount
If intRC > 4 Then
blnFlag = "True"
strValue = Browser("CorporateActions").Page("Bulk Move Event Not
ifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebCheckBox",0).G
etROProperty("checked")
If strValue = 1 Then
Browser("CorporateActions").Page("Bulk M
ove Event Notifications").WebTable("UnderlyingNotification").ChildItem(2,1,"WebC
heckBox",0).Click
End If
For intRC = 3 to 5
strValue = Browser("CorporateAct
ions").Page("Bulk Move Event Notifications").WebTable("UnderlyingNotification").
ChildItem(intRC,1,"WebCheckBox",0).Click
Next
For intRC = 3 to 5
strValue = Browser("CorporateAct
ions").Page("Bulk Move Event Notifications").WebTable("UnderlyingNotification").
ChildItem(intRC,1,"WebCheckBox",0).GetROProperty("checked")
If strValue <> 1 Then
blnFlag = "False"
End If
Next
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 5: Ve
rfiying if the Notifications are Checked or NOT","All the Notification are Check
ed"
Else
Reporter.ReportEvent micFail,"Step 5: Ve
rfiying if the Notifications are Checked or NOT","All the Notification are NOT C
hecked"
Environment.Value("Execution_Log") = Fal
se
End If
intNotificationCount = intRC - 5
Else
Reporter.ReportEvent micFail,"Checking for the N
umber of Notification","The Number of Notification is less than 2, Select a diff
erent Event Name"
Environment.Value("Execution_Log") = False
Call select_Menu("CorporateActions","Bulk Move E
vent Notifications","Home;DR Home")
Exit Function
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","EventName")
Wait 2
Call pageCheck_Frame("CorporateActions","Bulk Move Event Notific
ations","lookupFrame","EventName;EventDate;ISIN;CorporateActionType","Calender;G
o;Clear","Event Date;Event Name;Corporate Action Type;ISIN")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 6: Verifying the Fiel
ds present in Frame","The Required Fields are Present in the Frame"
Else
Reporter.ReportEvent micFail,"Step 6: Verifying the Fiel
ds present in Frame","The Required Fields are NOT Present in the Frame"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
Call operation_on_FrameObjects_WithName("CorporateActions","Bulk
Move Event Notifications","lookupFrame","WebEdit","cactnEvntNm",DataTable.Value
("EventName","BulkMoveUnderlyingEvent"))
Browser("CorporateActions").Page("Bulk Move Event Notifications"
).Frame("lookupFrame").WebEdit("EventName").Submit
Call ReportLoadWaitinFrame("CorporateActions","Bulk Move Event Notificati
ons","lookupFrame","EventName","Event Name")
Call chkResultinFrame("CorporateActions","Bulk Move Event Notificatio
ns","lookupFrame","EventName","Event Name",DataTable.Value("EventName","BulkMove
UnderlyingEvent"))
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 7: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are displayed ba
sed on the Search Criteria"
Else
Reporter.ReportEvent micFail,"Step 7: Verfiying if the R
esults are Dispalyed based on the Search Criteria","The Results are NOT displaye
d based on the Search Criteria"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strSelectedValue = SelectValueinFrame("CorporateActions","Bulk M
ove Event Notifications","lookupFrame","Event Name")
strEventName = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventName")
strEventDate = get_WebEdit_Value("CorporateActions","Bulk Move E
vent Notifications","EventDate")
strType = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","CorporateActionType")
strISIN = get_WebEdit_Value("CorporateActions","Bulk Move Event
Notifications","ISIN")
strAppValues = strEventName & ";" & strEventDate & ";" & strType
& ";" & strISIN
If UCase(Trim(strAppValues)) = UCase(Trim(strSelectedValue)) The
n
Reporter.ReportEvent micPass,"Step 8: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Else
Reporter.ReportEvent micFail,"Step 8: Verifying if the V
alues displayed in the Fields marches with the values selected in the Popup","Th
e Values displayed in the Fields matches the value selected in the Popup"
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
Call click_Image("CorporateActions","Bulk Move Event Notificatio
ns","Save")
strCellData = Browser("CorporateActions").Page("Underlying Event
Bulk Move").WebTable("NotificationsAssigned").GetCellData(1,1)
If strCellData = "Notifications Assigned to this Corporate Actio
n Event : " & intNotificationCount & "Records Found" Then
Reporter.ReportEvent micPass,"Step 9: Verifying the numb
er of Records Found","The Number of Records found are " & strCellData
Else
Reporter.ReportEvent micFail,"Step 9: Verifying the the
number of Records Found","The Number of Records found are NOT equal to " & strC
ellData
Environment.Value("Execution_Log") = False
Environment.Value("TestCase_Log") = False
End If
Call select_Menu("CorporateActions","Underlying Event Bulk Move"
,"Home;DR Home")
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++
Public Function CAProfileUEBulkMove_TC10()
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable
.Value("MenuPath","BulkMoveUnderlyingEvent"))
blnFlag = Browser("CorporateActions").Page("Profile - Underlying
Event Search").Exist(5)
If Environment.Value("TestCase_Log") = True And blnFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 1: Verifying if the Page '
Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Profile
Underlying Event Search ' is displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verifying if the P
age ' Profile Underlying Event Search ' Page is Displayed or NOT","The Page ' Pr
ofile Underlying Event Search ' is NOT displayed Successfully"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log")= False
End If
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Clear")
Call Select_Combo_Value("CorporateActions","Profile - Underlying
Event Search","ProcessingStatus","Unapproved")
Call click_Image("CorporateActions","Profile - Underlying Event
Search","Search")
intCounter = Browser("CorporateActions").Page("Profile - Underly
ing Event Search").WebTable("UnderlyingEventSearch").RowCount
If intCounter < 2 Then
Reporter.ReportEvent micFail,"Step 2: Veriying t
he Results ddispalyed","No Records are found for the entered Search Criteria"
Call select_Menu("CorporateActions","Profile - U
nderlying Event Search","Home;DR Home")
Exit Function
Else
Call chkProcessingStatusResult("CorporateActions","Profi
le - Underlying Event Search","UnderlyingEventSearch","Unapproved")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Verifying if the P
rocessing Status Column Values after the Search Criteria","The Value in the Proc
essing Status is " & strProcessingStatus
Else
Reporter.ReportEvent micFail," Verifying if the
Processing Status Column Values after the Search Criteria","The Value in the Pro
cessing Status is NOT Equal to " & strProcessingStatus
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
EventName = CAProfile_SelectEventName("CorporateActions"
,"Profile - Underlying Event Search","UnderlyingEventSearch","Unapproved",DataTa
ble.Value("UnapprovedEventName","BulkMoveUnderlyingEvent"))
Wait 5
strEventName = Browser("CorporateActions").Page("Underlying Event").
WebTable("EventName").GetCellData(1,1)
strCreatedUpdatedDetails = Browser("CorporateActions").P
age("Underlying Event").WebTable("EventName").GetCellData(2,1)
intPos1 = InStr(1,strCreatedUpdatedDetails,"Updated")
intPos2 = InStr(1,strCreatedUpdatedDetails,"Created")
If UCase(Trim(strEventName)) = UCase(Trim(EventName)) A
ND intPos1 <> 0 AND intPos2 <> 0 Then
Environment.Value("TestCase_Log") = True
Else
Environment.Value("TestCase_Log") = False
Environment.Value("Execution_Log") = False
End If
strAppValue = get_WebList_Value("CorporateActions","Unde
rlying Event","ProcessingStatus")
If UCase(Trim(strAppValue)) = UCase(Trim("Unapproved"))
Then
Reporter.ReportEvent micPass,"Verfying the Proce
ssing Staus","The Processing Status is Equal to " & strProcessingStatus
Else
Reporter.ReportEvent micFail,"Verfying the Proce
ssing Staus","The Processing Status is Equal to " & strProcessingStatus
Environment.Value("Execution_Log") = False
End If
Call pageCheck_WebTableOR("CorporateActions","Underlying
Event","NotificationsAssigned")
Call pageCheck_WebElementinTable("CorporateActions","Und
erlying Event","Corporate Action Event Details","")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass," Step 3: Verfiying
if the details of the Selected Event " & strEventName & " is disaplyed or NOT",
"The Details of the Selected Event " & strEventName & " is dispalyed in the Page
' Underlying Event ' "
Else
Reporter.ReportEvent micFail,"Step 3: Verfiying
if the details of the Selected Event " & strEventName & " is disaplyed or NOT "
,"The Details of the Selected Event " & strEventName & " is NOT dispalyed in the
Page ' Underlying Event ' "
'Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
End If
' Getting the Event Name details from the Application
strCreationDate = Browser("CorporateActions").Page("Underlying E
vent").WebTable("CorporateActionEvent").ChildItem(4,1,"WebEdit",0).GetROProperty
("value")
strCAType = Browser("CorporateActions").Page("Underlying Event")
.WebTable("CorporateActionEvent").ChildItem(4,3,"WebEdit",0).GetROProperty("valu
e")
strAllISIN = Browser("CorporateActions").Page("Underlying Event"
).WebTable("CorporateActionEvent").ChildItem(4,4,"WebEdit",0).GetROProperty("val
ue")
strISINs = Split(strAllISIN,"/",-1,1)
strISIN = Trim(strISINs(0))
strEventDate = Browser("CorporateActions").Page("Underlying Even
t").WebTable("CorporateActionEvent").ChildItem(4,6,"WebEdit",0).GetROProperty("v
alue")
strProcessStatus = get_WebList_Value("CorporateActions","Underly
ing Event","ProcessingStatus")
strEventName = get_WebEdit_Value("CorporateActions","Underlying
Event","EventName")
strEventDetails1 = strCreationDate & ";" & strCAType & ";" & str
ISIN & ";" & strEventDate & ";" & strProcessStatus & ";" & strEventName
If strEventDetails1 <> "" Then
Reporter.ReportEvent micPass,"Step 4: Verfiying if the Data in t
he Page ' Underlying Event' is Captured or Not","The Data in the page ' Underlyi
ng Event ' is Captured"
Else
Reporter.ReportEvent micFail,"Step 4: Verfiying if the Data in t
he Page ' Underlying Event' is Captured or Not","The Data in the page ' Underlyi
ng Event ' is NOT Captured"
Environment.Value("Execution_Log") = False
End If
Call click_WebButton("CorporateActions","Underlying Event","Bulk
Move")
Wait 5
Call pageCheck_WebTableOR("CorporateActions","Bulk Move Event No
tifications","BulkMoveEventNotifications;CorporateActionEvent;CorporateActionEve
ntSearch;UnderlyingNotification")
Call pageCheck_Image("CorporateActions","Bulk Move Event Notific
ations","Save;Cancel","")
If Environment.Value("TestCase_Log") = True Then
Reporter.ReportEvent micPass,"Step 5: Verifying if the
Bulk Move Notification Screen is Opened Successfully or Not","The Page ' Bulk Mo
ve Notification Screen is opened successfully with the Required Field"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying if the B
ulk Move Notification Screen is Opened Successfully or Not","The Page ' Bulk Mov
e Notification Screen is NOT opened successfully with the Required Field"
Environment.Value("TestCase_Log") = True
Environment.Value("Execution_Log") = False
End If
strCreationDate = Trim(Browser("CorporateActions").Page("Bulk Mo
ve Event Notifications").WebTable("CorporateActionEvent").GetCellData(3,1))
strCAType = Trim(Browser("CorporateActions").Page("Bulk Move Eve
nt Notifications").WebTable("CorporateActionEvent").GetCellData(3,2))
strISIN = Trim(Browser("CorporateActions").Page("Bulk Move Event
Notifications").WebTable("CorporateActionEvent").GetCellData(3,3))
strEventDate = Trim(Browser("CorporateActions").Page("Bulk Move Event No
tifications").WebTable("CorporateActionEvent").GetCellData(3,4))
strProcessStatus = Trim(Browser("CorporateActions").Page("Bulk Move Even
t Notifications").WebTable("CorporateActionEvent").GetCellData(3,5))
strEventName = Trim(Browser("CorporateActions").Page("Bulk Move
Event Notifications").WebTable("CorporateActionEvent").GetCellData(3,6))
strEventDetails2 = strCreationDate & ";" & strCAType & ";" & str
ISIN & ";" & strEventDate & ";" & strProcessStatus & ";" & strEventName
MsgBox strEventDetails2
If UCase(Trim(strEventDetails1)) = UCase(Trim(strEventDetails2))
Then
Reporter.ReportEvent micPass,"Step 6: Comparing the Even
t Details","The Event Details displayed in the Page 'Underlying Event' and ' Bul
k Move Event Notifications' is Same"
Else
Reporter.ReportEvent micPass,"Step 6: Comparing the Even
t Details","The Event Details displayed in the Page 'Underlying Event' and ' Bul
k Move Event Notifications' is Same"
Environment.Value("Execution_Log") =False
End If
Call select_Menu("CorporateActions","Bulk Move Event Notificatio
ns","Home;DR Home")
End Function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++

You might also like