You are on page 1of 27

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

==========================
' Name of the Script : CAProfileIndexNotificatio
n
' Scope of the Script : This test script covers 1
0 test cases related to CA Profile Index Notification
' Author :Satish Dupati
' Description : CAProfileI
ndexNotification
' Date and / or Version : 01-12-2008,ver
sion 1.0
'===============================================================================
============================
Sub CAProfileIndexNotification()
'****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 & "CAReportsAgingItemsTC.vbs"
'****Adding CALogin sheet to the dataTable and Importing the In
put DataTable
DataTable.AddSheet "CALogin"
DataTable.ImportSheet strDataPath & "Login.xls","CALogin","CALog
in"
DataTable.AddSheet "IndexNotification"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","IndexNotification","IndexNotification"
DataTable.AddSheet "HomePageVerification"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","HomePageVerification","HomePageVerification"
DataTable.AddSheet "ReportHeader"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","ReportHeader","ReportHeader"
' Logs the Scenario name Execution in a .csv file
Call Execution_log(DataTable.Value("Scenario_Name", "Master"), "
", "", "")
DataTable.GetSheet("CALogin").SetCurrentRow(1)
Call invoke_URL("CorporateActions","Login Page",DataTable.Value(
"URL","CALogin"))
Call pageCheck_WebEdit("CorporateActions","Login Page","username;j_passw
ord","")
Call pageCheck_WebButton("CorporateActions","Login Page","Login"
,"")
Call login("CorporateActions","Login Page","User","CALogin")
Call chkCAHomePage("CorporateActions","Depositary Receipt Divisi
on's",DataTable.Value("HomePageLinks","HomePageVerification"),DataTable.Value("U
serName","HomePageVerification"))
Environment.Value("DATATABLE_ROW")=1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'***************************************** TC Driver Strat *****
**************************************************
For intTCCount =1 to TC_COUNT
Environment.Value("Execution_Log") = "True"
If DataTable("TestRunFlag","IndexNotification") = "Y" Th
en ''If run flag is Y in test data table
Reporter.ReportEvent micDone,"######## BEGIN TEST CASE - '" & Da
taTable("TestCaseID","IndexNotification") & "' ########### ","Execution of Test
Case '" & DataTable("TestCaseDesc","IndexNotification") & "' Started"
strFuncName = "CAProfileIndexNotification_TC" & intTCCount & "()
" ''Formation of function name
''Call Function
'msgbox strFuncName
Execute "Call " & strFuncName
If Environment.Value("Execution_Log") = "True"
Then
Call Execution_log("",Datatable.
Value("TestCaseID", "IndexNotification"), Datatable.Value("TestCaseDesc", "Index
Notification"), "PASS")
Else
Call Execution_log("",Datatable.
Value("TestCaseID", "IndexNotification"), Datatable.Value("TestCaseDesc", "Index
Notification"), "FAIL")
End If
Reporter.ReportEvent micDone,"######### END OF T
EST CASE - '" & DataTable("TestCaseID","IndexNotification") & "###########","The
Test Case Execution Completed"
End If
strPrevious=Trim(DataTable.Value("TestCaseID","IndexNoti
fication"))
''Increment the test data table row
Environment.Value("DATATABLE_ROW") = Environment.Value("
DATATABLE_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(En
vironment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","IndexNotifica
tion"))
While strPrevious = strNext
Environment.Value("DATATABLE_ROW") = Environment.Value
("DATATABLE_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(
Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","IndexNotifi
cation"))
Wend
Next
Call logoutfromApp("CorporateActions","Depositary Receipt Divisi
on's")
'***************************************** TC Driver End ***************
****************************************

End Sub
'**********************************************Test Case 1 to Test Case 10******
********************************************
'===============================================================================
==========
Public Function CAProfileIndexNotification_TC1()
'Step 2
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call chkCAPage("CorporateActions","CorporateActions",Datatable.V
alue("MenuName","HomePageVerification"))
'Step 3
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 4,5
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 6
Call select_Menu("CorporateActions","ProfileIndexNotificationSea
rch","Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC2()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2
Call ReadallValuesWebList("CorporateActions","ProfileIndexNotifi
cationSearch","Status","AllItems","IndexNotification")
'Step 3
Call chk_defaultValue("CorporateActions","ProfileIndexNotificati
onSearch","webList","Status","All")
'Step 4,5,6
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 7
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 8
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 9,10
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 11
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 12
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 13,14
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 15
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 16
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 17,18
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 19
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
'Step 20
Call select_Menu("CorporateActions","ProfileIndexNotificationSea
rch","Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC3()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2
Call chk_defaultValue("CorporateActions","ProfileIndexNotificati
onSearch","webEdit","fromDate",Datatable.Value("ProjectFromDate","IndexNotificat
ion"))
If Cdate(get_webEdit_Value("CorporateActions","ProfileIndexNotif
icationSearch","toDate"))=Date then
Reporter.ReportEvent micPass,"Verification of To
date field in Received Date","To date is populated with Current date"
Else
Reporter.ReportEvent micFail,"Verification of To date
field in Received Date","To date is Not populated with Current date, populated
with"&get_webEdit_Value("CorporateActions","ProfileIndexNotificationSearch","toD
ate")
'captureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 3
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").WebTable("Status").ChildItem(2,2,"Image",0).click
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").Frame("popCalFrame").WebElement("html tag:=FONT","innertext:=Today:.*").Click
If Cdate(get_webEdit_Value("CorporateActions","ProfileIndexNotif
icationSearch","fromDate"))=Date then
Reporter.ReportEvent micPass,"Verification of Fr
om date field in Received Date After click on Today button","From date is popula
ted with Current date"
Else
Reporter.ReportEvent micFail,"Verification of From da
te field in Received Date After click on Today button","From date is Not populat
ed with Current date, populated with"&get_webEdit_Value("CorporateActions","Prof
ileIndexNotificationSearch","fromDate")
'captureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 4
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").Frame("popCalFrame").Image("name:=Image","html tag:=IMG").Click
If get_webEdit_Value("CorporateActions","ProfileIndexNotificatio
nSearch","fromDate")="" then
Reporter.ReportEvent micPass,"Verification of Fr
om date field in Received Date After click on Clear button","From date is Cleare
d"
Else
Reporter.ReportEvent micFail,"Verification of From da
te field in Received Date After click on Today button","From date is Not Cleared
, populated with"&get_webEdit_Value("CorporateActions","ProfileIndexNotification
Search","fromDate")
'captureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 5
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").WebTable("Status").ChildItem(2,3,"Image",0).click
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").Frame("popCalFrame").WebElement("html tag:=FONT","innertext:=Today:.*").Click
If Cdate(get_webEdit_Value("CorporateActions","ProfileIndexNotif
icationSearch","toDate"))=Date then
Reporter.ReportEvent micPass,"Verification of To
date field in Received Date After click on Today button","To date is populated
with Current date"
Else
Reporter.ReportEvent micFail,"Verification of To date
field in Received Date After click on Today button","To date is Not populated w
ith Current date, populated with"&get_webEdit_Value("CorporateActions","ProfileI
ndexNotificationSearch","toDate")
'captureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 6
Browser("CorporateActions").Page("ProfileIndexNotificationSearch
").Frame("popCalFrame").Image("name:=Image","html tag:=IMG").Click
If get_webEdit_Value("CorporateActions","ProfileIndexNotificatio
nSearch","toDate")="" then
Reporter.ReportEvent micPass,"Verification of To
date field in Received Date After click on Clear button","To date is Cleared"
Else
Reporter.ReportEvent micFail,"Verification of To date
field in Received Date After click on Today button","To date is Not Cleared, po
pulated with"&get_webEdit_Value("CorporateActions","ProfileIndexNotificationSear
ch","toDate")
'captureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 7
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 8
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
'Step 9
Call select_Menu("CorporateActions","IndexNotification","Home;DR
Home")
End Function
Public Function CAProfileIndexNotification_TC4()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2
Call chk_defaultValue("CorporateActions","ProfileIndexNotificati
onSearch","webList","Source","All")
'Step 3
Call ReadallValuesWebList("CorporateActions","ProfileIndexNotifi
cationSearch","Source","AllItems","IndexNotification")
'Step 4,5,6,7
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 8
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 9
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 10,11
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 12
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
'Step 13
Call select_Menu("CorporateActions","ProfileIndexNotificationSea
rch","Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC5()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2
Call ReadallValuesWebList("CorporateActions","ProfileIndexNotifi
cationSearch","AssignedtoUserGroups","AllItems","IndexNotification")
'Step 3
Call chk_defaultValue("CorporateActions","ProfileIndexNotificati
onSearch","webList","AssignedtoUserGroups","All")
'Step 4,5,6
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 7
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 8
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 9,10
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 11
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 12
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 13,14
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 15
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 16
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 17,18
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 19
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Environment.Value("DATATABLE_ROW") = Environment.Value("DATATABL
E_ROW") + 1
DataTable.GetSheet("IndexNotification").SetCurrentRow(Environmen
t.Value("DATATABLE_ROW"))
'Step 20
Call select_Menu("CorporateActions","IndexNotification",Datatabl
e.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 21,22
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 23
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
'Step 24
Call select_Menu("CorporateActions","ProfileIndexNotificationSea
rch","Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC6()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2,3
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 4
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Call pageCheck_WebEditOR("CorporateActions","IndexNotification",
"ReceivedDateIndexNotification;Sender;Source;TrackingNumber;UpdateDate;UpdateUse
r;UserComments;UserGroup")
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"Status")
Call pageCheck_WebEditinFrame("CorporateActions","IndexNotificat
ion","search","msgFrame")
Call pageCheck_WebButtoninFrame("CorporateActions","IndexNotific
ation","Find =>;Print","msgFrame")
'Step 5
Call Select_Combo_Value("CorporateActions","IndexNotification","
Status",Datatable.Value("StatusIndex","IndexNotification"))
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"SelectTargetForDocument")
Call Select_Combo_Value("CorporateActions","IndexNotification","
SelectTargetForDocument",Datatable.Value("SelectTargetForDocument","IndexNotific
ation"))
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 6
Call chkValidationErrorDetailsPrompt("CorporateActions","IndexNo
tification","Validation Error","ISIN;Sender Name;Corporate Action Type","ISIN;Se
nderName;CorporateActionType","New Notification")
'Step 7
Call set_WebEdit_Value("CorporateActions","IndexNotification","I
ssuerName",DataTable.Value("IssuerName","IndexNotification"))
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(3,2,"Image",0).click
Browser("CorporateActions").Page("IndexNotification").Frame("loo
kupFrame").Image("Go!").Click
Browser("CorporateActions").Page("IndexNotification").Frame("loo
kupFrame").WebElement("html tag:=TD","outertext:="&Datatable.Value("IssuerName",
"IndexNotification")&".*").click
Call select_Combo_Value("CorporateActions","IndexNotification","
Comparison",DataTable.Value("Comparison","IndexNotification"))
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,1,"Image",0).click
Browser("CorporateActions").Page("IndexNotification").Frame("Cor
porateActionType").WebElement("html tag:=TD","innertext:="&Datatable.Value("Corp
orateActionType","IndexNotification")&".*").Click
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 8
Call select_Menu("CorporateActions","IndexNotification","Home;DR
Home")
End Function
Public Function CAProfileIndexNotification_TC7()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2,3
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 4
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Call pageCheck_WebEditOR("CorporateActions","IndexNotification",
"ReceivedDateIndexNotification;Sender;Source;TrackingNumber;UpdateDate;UpdateUse
r;UserComments;UserGroup")
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"Status")
Call pageCheck_WebEditinFrame("CorporateActions","IndexNotificat
ion","search","msgFrame")
Call pageCheck_WebButtoninFrame("CorporateActions","IndexNotific
ation","Find =>;Print","msgFrame")
'Step 5
Call Select_Combo_Value("CorporateActions","IndexNotification","
Status",Datatable.Value("StatusIndex","IndexNotification"))
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"SelectTargetForDocument")
'Step 6
Call Select_Combo_Value("CorporateActions","IndexNotification","
SelectTargetForDocument",Datatable.Value("SelectTargetForDocument","IndexNotific
ation"))
'Step 7
Call set_WebEdit_Value("CorporateActions","IndexNotification","I
ssuerName",DataTable.Value("IssuerName","IndexNotification"))
'Step 8
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(3,2,"Image",0).click
'Browser("CorporateActions").Page("IndexNotification").Frame("lo
okupFrame").Image("Go!").Click
For intColNo=1 to 5
strTableHeaders=strTableHeaders&Browser("Corpora
teActions").Page("IndexNotification").Frame("lookupFrame").WebTable("ISIN").GetC
ellData(1,intColNo)&";"
Next
If strTableHeaders="ISIN;SEDOL;Und. Security Name;Type;Class;"
Then
Reporter.ReportEvent micPass,"Verification of th
e fields present in the popup","Displaying- "&strTableHeaders&" Headers"
Else
Reporter.ReportEvent micFail,"Verification of t
he fields present in the popup","Displaying- "&strTableHeaders&" Headers"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Browser("CorporateActions").Page("IndexNotification").Frame("
lookupFrame").WebEdit("divNm").GetROProperty("value")= DataTable.Value("IssuerNa
me","IndexNotification") Then
Reporter.ReportEvent micPass,"Verification of Un
derlying Security name in popup","Name is prompted properly"
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 9
Browser("CorporateActions").Page("IndexNotification").Frame("loo
kupFrame").WebElement("html tag:=TD","outertext:="&Datatable.Value("IssuerName",
"IndexNotification")&".*").click
strISIN=get_WebEdit_Value("CorporateActions","IndexNotification"
,"ISIN")
strUnderlyingSecurity=get_WebEdit_Value("CorporateActions","Inde
xNotification","UnderlyingSecurity")
strSEDOL=get_WebEdit_Value("CorporateActions","IndexNotification
","SEDOL")
If get_WebEdit_Value("CorporateActions","IndexNotification","ISI
N")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Underlyin
gSecurity")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Se
nderName")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","SED
OL")<>"" Then
Reporter.ReportEvent micPass,"Verification for A
uto populating","Underlying Security is populating with "&get_WebEdit_Value("Cor
porateActions","IndexNotification","UnderlyingSecurity")&"ISIN is populating wit
h-"&get_WebEdit_Value("CorporateActions","IndexNotification","ISIN")&"SEDOL is p
opulating with -"&get_WebEdit_Value("CorporateActions","IndexNotification","SEDO
L")&",Sender Name is populating with -"&get_WebEdit_Value("CorporateActions","In
dexNotification","SenderName")
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 10
Call select_Combo_Value("CorporateActions","IndexNotification","
Comparison",DataTable.Value("Comparison","IndexNotification"))
Call select_Combo_Value("CorporateActions","IndexNotification","
SenderType",DataTable.Value("SenderType","IndexNotification"))
'Step 11
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SourceNew","MT599")
'Step 12
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,1,"Image",0).click
'Step 13
Browser("CorporateActions").Page("IndexNotification").Frame("Cor
porateActionType").WebElement("html tag:=TD","innertext:="&Datatable.Value("Corp
orateActionType","IndexNotification")&".*").Click
'Step 14
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,3,"Image",0).click
totaldate=split(DataTable.Value("MeetingDate","IndexNotification
"),";")
Call ClickIcon_SetDate("CorporateActions","IndexNotification",to
taldate(1),totaldate(2),totaldate(0))
'Step 15
Call set_WebEdit_Value("CorporateActions","IndexNotification","C
omments",DataTable.Value("Comments","IndexNotification"))
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 16
Call pageCheck_WebRadioGroupOR("CorporateActions","IndexNotifica
tion","selectCAEvent")
If Instr(1,Browser("CorporateActions").Page("IndexNotification")
.WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).getROproperty("v
alue"),Datatable.Value("CorporateActionType","IndexNotification")) Then
strCAType=Browser("CorporateActions").Page("Inde
xNotification").WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).g
etROproperty("value")
Reporter.ReportEvent micPass,"Verification of 'C
orporate Action Events this Underlying Notification is Assigned to' values.","Va
lues are same as selected previously"
Else
Reporter.ReportEvent micFail,"Verification of 'Corpor
ate Action Events this Underlying Notification is Assigned to' values.","Values
are not same as selected previously"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 17
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","CorporateActionTypechk",strCAType)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ISINchk2",strISIN)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SEDOLchk",strSEDOL)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bList","Comparisonchk",DataTable.Value("Comparison","IndexNotification"))
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ProcessingStatuschk","Pending")
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","Typechk","Existing Event")
'Step 18
Call click_WebButton("CorporateActions","IndexNotification","Add
")
If Browser("CorporateActions").Page("IndexNotification").WebTabl
e("Corporate Action Events").RowCount=4 Then
Reporter.ReportEvent micPass,"Verification of 'r
ow is added with 'Corporate Action Event Details' section","Blank Row is Added "
Else
Reporter.ReportEvent micFail,"Verification of 'row is
added with 'Corporate Action Event Details' section"," Row is Not Added "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 19
Browser("CorporateActions").Page("IndexNotification").WebTable("
Corporate Action Events").ChildItem(4,8,"Image",0).click
If Browser("CorporateActions").Dialog("Microsoft Internet Explo
rer").Exist Then
Reporter.ReportEvent micPass,"Verification wheth
er user is prompted with a message 'Are you sure you want to delete this record?
'..","Message is prompted"
Else
Reporter.ReportEvent micFail,"Verification whether us
er is prompted with a message 'Are you sure you want to delete this record?'..",
"Message is Not prompted"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 20
Browser("CorporateActions").Dialog("Microsoft Internet Explorer"
).WinButton("OK").Click
If Browser("CorporateActions").Page("IndexNotification").WebTabl
e("Corporate Action Events").RowCount=3 Then
Reporter.ReportEvent micPass,"Verification of 'r
ow is Deleted with 'Corporate Action Event Details' section","Row is Deleted "
Else
Reporter.ReportEvent micFail,"Verification of 'row is
Deleted with 'Corporate Action Event Details' section","Row is Not Deleted "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 21
Browser("CorporateActions").Page("IndexNotification").WebTable("
Corporate Action Events").ChildItem(3,2,"WebEdit",0).click
If Browser("CorporateActions").Dialog("Microsoft Internet Explo
rer").Exist Then
Reporter.ReportEvent micPass,"Verification wheth
er dialog is displaying with message 'Data has been modified. Please save your c
hanges or click Cancel to discard changes.","Dailog is prompted"
Else
Reporter.ReportEvent micFail,"Verification whether di
alog is displaying with message 'Data has been modified. Please save your change
s or click Cancel to discard changes.","Dailog is not prompted"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 22
Browser("CorporateActions").Dialog("Microsoft Internet Explorer"
).WinButton("text:=Cancel").Click
'strISINSEDOL=get_WebEdit_Value("CorporateActions","IndexNotific
ation","ISIN/SEDOL")
valISINSEDOL=split(get_WebEdit_Value("CorporateActions","Underly
ingEvent","ISIN/SEDOL"),"/")
If Trim(valISINSEDOL(0))=strISIN And Trim(valISINSEDOL(1))=strSE
DOL Then
Reporter.ReportEvent micPass,"In Underlying Even
t Screen Verification of ISIN and SEDOL values","Present with old selected value
s "
Else
Reporter.ReportEvent micFail,"In Underlying Event Scr
een Verification of ISIN and SEDOL values","Not Present with old selected values
"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
Call chk_defaultValue("CorporateActions","UnderlyingEvent","webE
dit","Company",strUnderlyingSecurity)
Call chk_defaultValue("CorporateActions","UnderlyingEvent","webE
dit","EventName",strUnderlyingSecurity)
'Step 23
If Browser("CorporateActions").Page("UnderlyingEvent").WebTable(
"Narrative").GetCellData(4,3)="MT599" And Browser("CorporateActions").Page("Unde
rlyingEvent").WebTable("Narrative").GetCellData(4,5)=strUnderlyingSecurity Then
Reporter.ReportEvent micPass,"In Underlying Event Scr
een Verification of Source, und.Sec Name, Comparison, CaType, ISIN and Meetind D
ate values","Present with old selected values "
Else
Reporter.ReportEvent micFail,"In Underlying Event Scr
een Verification of Source, und.Sec Name, Comparison, CaType, ISIN and Meetind D
ate values","Not Present with old selected values "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 24
Call select_Menu("CorporateActions","UnderlyingEvent","Home;DR H
ome")
End Function
Public Function CAProfileIndexNotification_TC8
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2,3
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 4
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Call pageCheck_WebEditOR("CorporateActions","IndexNotification",
"ReceivedDateIndexNotification;Sender;Source;TrackingNumber;UpdateDate;UpdateUse
r;UserComments;UserGroup")
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"Status")
Call pageCheck_WebEditinFrame("CorporateActions","IndexNotificat
ion","search","msgFrame")
Call pageCheck_WebButtoninFrame("CorporateActions","IndexNotific
ation","Find =>;Print","msgFrame")
'Step 5
Call Select_Combo_Value("CorporateActions","IndexNotification","
Status",Datatable.Value("StatusIndex","IndexNotification"))
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"SelectTargetForDocument")
'Step 6
Call Select_Combo_Value("CorporateActions","IndexNotification","
SelectTargetForDocument",Datatable.Value("SelectTargetForDocument","IndexNotific
ation"))
'Step 7
Call set_WebEdit_Value("CorporateActions","IndexNotification","I
ssuerName",DataTable.Value("IssuerName","IndexNotification"))
'Step 8
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(3,2,"Image",0).click
'Browser("CorporateActions").Page("IndexNotification").Frame("lo
okupFrame").Image("Go!").Click
For intColNo=1 to 5
strTableHeaders=strTableHeaders&Browser("Corpora
teActions").Page("IndexNotification").Frame("lookupFrame").WebTable("ISIN").GetC
ellData(1,intColNo)&";"
Next
If strTableHeaders="ISIN;SEDOL;Und. Security Name;Type;Class;"
Then
Reporter.ReportEvent micPass,"Verification of th
e fields present in the popup","Displaying- "&strTableHeaders&" Headers"
Else
Reporter.ReportEvent micFail,"Verification of t
he fields present in the popup","Displaying- "&strTableHeaders&" Headers"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Browser("CorporateActions").Page("IndexNotification").Frame("
lookupFrame").WebEdit("divNm").GetROProperty("value")= DataTable.Value("IssuerNa
me","IndexNotification") Then
Reporter.ReportEvent micPass,"Verification of Un
derlying Security name in popup","Name is prompted properly"
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 9
Browser("CorporateActions").Page("IndexNotification").Frame("loo
kupFrame").WebElement("html tag:=TD","outertext:="&Datatable.Value("IssuerName",
"IndexNotification")&".*").click
strISIN=get_WebEdit_Value("CorporateActions","IndexNotification"
,"ISIN")
strUnderlyingSecurity=get_WebEdit_Value("CorporateActions","Inde
xNotification","UnderlyingSecurity")
strSEDOL=get_WebEdit_Value("CorporateActions","IndexNotification
","SEDOL")
If get_WebEdit_Value("CorporateActions","IndexNotification","ISI
N")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Underlyin
gSecurity")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Se
nderName")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","SED
OL")<>"" Then
Reporter.ReportEvent micPass,"Verification for A
uto populating","Underlying Security is populating with "&get_WebEdit_Value("Cor
porateActions","IndexNotification","UnderlyingSecurity")&"ISIN is populating wit
h-"&get_WebEdit_Value("CorporateActions","IndexNotification","ISIN")&"SEDOL is p
opulating with -"&get_WebEdit_Value("CorporateActions","IndexNotification","SEDO
L")&",Sender Name is populating with -"&get_WebEdit_Value("CorporateActions","In
dexNotification","SenderName")
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 10
Call select_Combo_Value("CorporateActions","IndexNotification","
Comparison",DataTable.Value("Comparison","IndexNotification"))
Call select_Combo_Value("CorporateActions","IndexNotification","
SenderType",DataTable.Value("SenderType","IndexNotification"))
'Step 11
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SourceNew","MT599")
'Step 12
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,1,"Image",0).click
'Step 13
Browser("CorporateActions").Page("IndexNotification").Frame("Cor
porateActionType").WebElement("html tag:=TD","innertext:="&Datatable.Value("Corp
orateActionType","IndexNotification")&".*").Click
'Step 14
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,3,"Image",0).click
totaldate=split(DataTable.Value("MeetingDate","IndexNotification
"),";")
Call ClickIcon_SetDate("CorporateActions","IndexNotification",to
taldate(1),totaldate(2),totaldate(0))
'Step 15
Call set_WebEdit_Value("CorporateActions","IndexNotification","C
omments",DataTable.Value("Comments","IndexNotification"))
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 16
Call pageCheck_WebRadioGroupOR("CorporateActions","IndexNotifica
tion","selectCAEvent")
If Instr(1,Browser("CorporateActions").Page("IndexNotification")
.WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).getROproperty("v
alue"),Datatable.Value("CorporateActionType","IndexNotification")) Then
strCAType=Browser("CorporateActions").Page("Inde
xNotification").WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).g
etROproperty("value")
Reporter.ReportEvent micPass,"Verification of 'C
orporate Action Events this Underlying Notification is Assigned to' values.","Va
lues are same as selected previously"
Else
Reporter.ReportEvent micFail,"Verification of 'Corpor
ate Action Events this Underlying Notification is Assigned to' values.","Values
are not same as selected previously"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 17
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","CorporateActionTypechk",strCAType)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ISINchk2",strISIN)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SEDOLchk",strSEDOL)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bList","Comparisonchk",DataTable.Value("Comparison","IndexNotification"))
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ProcessingStatuschk","Pending")
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","Typechk","Existing Event")
'Step 18
Call click_WebButton("CorporateActions","IndexNotification","Add
")
If Browser("CorporateActions").Page("IndexNotification").WebTabl
e("Corporate Action Events").RowCount=4 Then
Reporter.ReportEvent micPass,"Verification of 'r
ow is added with 'Corporate Action Event Details' section","Blank Row is Added "
Else
Reporter.ReportEvent micFail,"Verification of 'row is
added with 'Corporate Action Event Details' section"," Row is Not Added "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 19
Call select_Combo_Value("CorporateActions","UnderlyingNotificati
on","Type",DataTable.Value("EventType","IndexNotification"))
'Step 20
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(2,4,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("CorporateActionEventType").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after CA Event Type","CorporateActionEventType popup
appeared with CA types"
Else
Reporter.ReportEvent micFail,"Verification of Popup a
fter click on ? Image after CA Event Type","CorporateActionEventType popup Not a
ppeared "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 21
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("CorporateActionEventType").webelement("html tag:=TD","innertext:=Cash Dividend
").Click
'Step 22
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(2,6,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("ISINFrame").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after ISIN ","ISIN popup is appeared with all the fie
lds and Buttons"
Call pageCheck_WebEditinFrame("CorporateActions"
,"UnderlyingNotification","isin;divNm;sedol","ISINFrame")
Else
Reporter.ReportEvent micFail,"Verification of Po
pup after click on ? Image after ISIN","ISIN popup is Not appeared "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 23
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").WebEdit("isin").Set("BRBRHAACNPR9")
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").Image("Go!").Click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("ISINFrame").WebTable("ISIN").RowCount=2 Then
Reporter.ReportEvent micPass,"Verification of Se
arch result in ISIN Frame","Result is Displayed"
Else
Reporter.ReportEvent micFail,"Verification of Search
result in ISIN Frame","Result is Not Displayed"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 24
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").webElement("innertext:=AmBev","html tag:=TD").click
If get_WebEdit_Value("CorporateActions","UnderlyingNotification"
,"ISIN")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotification","
SEDOL")<>"" Then
Reporter.ReportEvent micPass,"Verification of IS
IN and SEDOL values are populating or not","ISIN and SEDOL values are populating
"
Else
Reporter.ReportEvent micFail,"Verification of ISIN an
d SEDOL values are populating or not","ISIN and SEDOL values are not populating"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 25
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(3,4,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("EventNameFrame").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after Event Name ","Event Name popup is appeared wit
h all the fields and Buttons"
Call pageCheck_WebEditinFrame("CorporateActions"
,"UnderlyingNotification","cactnEvntDt;cactnEvntNm;cactnTypeNm;isinNo","EventNam
eFrame")
Else
Reporter.ReportEvent micFail,"Verification of Po
pup after click on ? Image after Event Name ","Event Name popup is Not appeared
"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 26
If Browser("CorporateActions").Page("UnderlyingNotification").Fr
ame("EventNameFrame").WebEdit("isinNo").GetROProperty("value")<>"" And Browser("
CorporateActions").Page("UnderlyingNotification").Frame("EventNameFrame").WebEdi
t("cactnTypeNm").GetROProperty("value")<>"" Then
Reporter.ReportEvent micPass,"Verification of IS
IN and Corporate Action Type values are prefilled in Frame or not","ISIN and Cor
porate Action Type values are prefilled in Frame and Result is displaying"
Browser("CorporateActions").Page("UnderlyingNoti
fication").Frame("EventNameFrame").webElement("innertext:=Cash Dividend","class:
=tabSelected").click
Else
Reporter.ReportEvent micFail,"Verification of ISIN an
d Corporate Action Type values are prefilled in Frame or not","ISIN and Corporat
e Action Type values are Not prefilled in Frame and Result is Not displaying"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If get_WebEdit_Value("CorporateActions","UnderlyingNotification"
,"EventName")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotificati
on","EventDate")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotific
ation","StatusChangedDate")<>"" And get_WebEdit_Value("CorporateActions","Underl
yingNotification","ProcessingStatus")<>"" Then
Reporter.ReportEvent micPass,"Verification of Ev
entName, ProcessingStatus, StatusChangedDate and EventDate values are populating
or not","ISIN,StatusChangedDate, ProcessingStatus and EventDate values are popu
lating"
Else
Reporter.ReportEvent micFail,"Verification of EventNa
me, ProcessingStatus, StatusChangedDate and EventDate values are populating or n
ot","ISIN, StatusChangedDate, ProcessingStatus and EventDate values are Not popu
lating"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 27
Call select_Combo_Value("CorporateActions","UnderlyingNotificati
on","Comparison","No")
'Step 28
Call click_Image("CorporateActions","UnderlyingNotification","Sa
ve CA Event Details")
If Browser("CorporateActions").Page("IndexNotificationAfterSave"
).WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).getroproperty("
value")="Cash Dividend" Then
Reporter.ReportEvent micPass,"Verification of Th
e 'Corporate Action Events this Underlying Notification is Assigned to' section
is displaying the newly added CA with the radio button.","The 'Corporate Action
Events this Underlying Notification is Assigned to' section is displaying the
newly added CA with the radio button"
Else
Reporter.ReportEvent micFail,"Verification of The 'Co
rporate Action Events this Underlying Notification is Assigned to' section is di
splaying the newly added CA with the radio button.","The 'Corporate Action Even
ts this Underlying Notification is Assigned to' section is NOT displaying the n
ewly added CA with the radio button"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 29
Call select_Menu("CorporateActions","IndexNotificationAfterSave"
,"Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC9()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2,3
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 4
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Call pageCheck_WebEditOR("CorporateActions","IndexNotification",
"ReceivedDateIndexNotification;Sender;Source;TrackingNumber;UpdateDate;UpdateUse
r;UserComments;UserGroup")
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"Status")
Call pageCheck_WebEditinFrame("CorporateActions","IndexNotificat
ion","search","msgFrame")
Call pageCheck_WebButtoninFrame("CorporateActions","IndexNotific
ation","Find =>;Print","msgFrame")
'Step 5
Call Select_Combo_Value("CorporateActions","IndexNotification","
Status",Datatable.Value("StatusIndex","IndexNotification"))
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"SelectTargetForDocument")
'Step 6
Call Select_Combo_Value("CorporateActions","IndexNotification","
SelectTargetForDocument",Datatable.Value("SelectTargetForDocument","IndexNotific
ation"))
'Step 7
Call set_WebEdit_Value("CorporateActions","IndexNotification","I
ssuerName",DataTable.Value("IssuerName","IndexNotification"))
'Step 8
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(3,2,"Image",0).click
'Browser("CorporateActions").Page("IndexNotification").Frame("lo
okupFrame").Image("Go!").Click
For intColNo=1 to 5
strTableHeaders=strTableHeaders&Browser("Corpora
teActions").Page("IndexNotification").Frame("lookupFrame").WebTable("ISIN").GetC
ellData(1,intColNo)&";"
Next
If strTableHeaders="ISIN;SEDOL;Und. Security Name;Type;Class;"
Then
Reporter.ReportEvent micPass,"Verification of th
e fields present in the popup","Displaying- "&strTableHeaders&" Headers"
Else
Reporter.ReportEvent micFail,"Verification of t
he fields present in the popup","Displaying- "&strTableHeaders&" Headers"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If Browser("CorporateActions").Page("IndexNotification").Frame("
lookupFrame").WebEdit("divNm").GetROProperty("value")= DataTable.Value("IssuerNa
me","IndexNotification") Then
Reporter.ReportEvent micPass,"Verification of Un
derlying Security name in popup","Name is prompted properly"
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 9
Browser("CorporateActions").Page("IndexNotification").Frame("loo
kupFrame").WebElement("html tag:=TD","outertext:="&Datatable.Value("IssuerName",
"IndexNotification")&".*").click
strISIN=get_WebEdit_Value("CorporateActions","IndexNotification"
,"ISIN")
strUnderlyingSecurity=get_WebEdit_Value("CorporateActions","Inde
xNotification","UnderlyingSecurity")
strSEDOL=get_WebEdit_Value("CorporateActions","IndexNotification
","SEDOL")
If get_WebEdit_Value("CorporateActions","IndexNotification","ISI
N")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Underlyin
gSecurity")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","Se
nderName")<>"" And get_WebEdit_Value("CorporateActions","IndexNotification","SED
OL")<>"" Then
Reporter.ReportEvent micPass,"Verification for A
uto populating","Underlying Security is populating with "&get_WebEdit_Value("Cor
porateActions","IndexNotification","UnderlyingSecurity")&"ISIN is populating wit
h-"&get_WebEdit_Value("CorporateActions","IndexNotification","ISIN")&"SEDOL is p
opulating with -"&get_WebEdit_Value("CorporateActions","IndexNotification","SEDO
L")&",Sender Name is populating with -"&get_WebEdit_Value("CorporateActions","In
dexNotification","SenderName")
Else
Reporter.ReportEvent micFail,"Verification of Underly
ing Security name in popup","Name is prompted with"&Browser("CorporateActions").
Page("IndexNotification").Frame("lookupFrame").WebEdit("divNm").GetROProperty("v
alue")
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 10
Call select_Combo_Value("CorporateActions","IndexNotification","
Comparison",DataTable.Value("Comparison","IndexNotification"))
Call select_Combo_Value("CorporateActions","IndexNotification","
SenderType",DataTable.Value("SenderType","IndexNotification"))
'Step 11
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SourceNew","MT599")
'Step 12
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,1,"Image",0).click
'Step 13
Browser("CorporateActions").Page("IndexNotification").Frame("Cor
porateActionType").WebElement("html tag:=TD","innertext:="&Datatable.Value("Corp
orateActionType","IndexNotification")&".*").Click
'Step 14
Browser("CorporateActions").Page("IndexNotification").WebTable("
Issuer Name (for search)").ChildItem(7,3,"Image",0).click
totaldate=split(DataTable.Value("MeetingDate","IndexNotification
"),";")
Call ClickIcon_SetDate("CorporateActions","IndexNotification",to
taldate(1),totaldate(2),totaldate(0))
'Step 15
Call set_WebEdit_Value("CorporateActions","IndexNotification","C
omments",DataTable.Value("Comments","IndexNotification"))
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 16
Call pageCheck_WebRadioGroupOR("CorporateActions","IndexNotifica
tion","selectCAEvent")
If Instr(1,Browser("CorporateActions").Page("IndexNotification")
.WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).getROproperty("v
alue"),Datatable.Value("CorporateActionType","IndexNotification")) Then
strCAType=Browser("CorporateActions").Page("Inde
xNotification").WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).g
etROproperty("value")
Reporter.ReportEvent micPass,"Verification of 'C
orporate Action Events this Underlying Notification is Assigned to' values.","Va
lues are same as selected previously"
Else
Reporter.ReportEvent micFail,"Verification of 'Corpor
ate Action Events this Underlying Notification is Assigned to' values.","Values
are not same as selected previously"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 17
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","CorporateActionTypechk",strCAType)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ISINchk2",strISIN)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","SEDOLchk",strSEDOL)
Call chk_defaultValue("CorporateActions","IndexNotification","we
bList","Comparisonchk",DataTable.Value("Comparison","IndexNotification"))
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","ProcessingStatuschk","Pending")
Call chk_defaultValue("CorporateActions","IndexNotification","we
bEdit","Typechk","Existing Event")
'Step 18
Call click_WebButton("CorporateActions","IndexNotification","Add
")
If Browser("CorporateActions").Page("IndexNotification").WebTabl
e("Corporate Action Events").RowCount=4 Then
Reporter.ReportEvent micPass,"Verification of 'r
ow is added with 'Corporate Action Event Details' section","Blank Row is Added "
Else
Reporter.ReportEvent micFail,"Verification of 'row is
added with 'Corporate Action Event Details' section"," Row is Not Added "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 19
Call select_Combo_Value("CorporateActions","UnderlyingNotificati
on","Type",DataTable.Value("EventType","IndexNotification"))
'Step 20
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(2,4,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("CorporateActionEventType").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after CA Event Type","CorporateActionEventType popup
appeared with CA types"
Else
Reporter.ReportEvent micFail,"Verification of Popup a
fter click on ? Image after CA Event Type","CorporateActionEventType popup Not a
ppeared "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 21
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("CorporateActionEventType").webelement("html tag:=TD","innertext:=Cash Dividend
").Click
'Step 22
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(2,6,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("ISINFrame").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after ISIN ","ISIN popup is appeared with all the fie
lds and Buttons"
Call pageCheck_WebEditinFrame("CorporateActions"
,"UnderlyingNotification","isin;divNm;sedol","ISINFrame")
Else
Reporter.ReportEvent micFail,"Verification of Po
pup after click on ? Image after ISIN","ISIN popup is Not appeared "
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 23
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").WebEdit("isin").Set("BRBRHAACNPR9")
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").Image("Go!").Click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("ISINFrame").WebTable("ISIN").RowCount=2 Then
Reporter.ReportEvent micPass,"Verification of Se
arch result in ISIN Frame","Result is Displayed"
Else
Reporter.ReportEvent micFail,"Verification of Search
result in ISIN Frame","Result is Not Displayed"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 24
Browser("CorporateActions").Page("UnderlyingNotification").Frame
("ISINFrame").webElement("innertext:=AmBev","html tag:=TD").click
If get_WebEdit_Value("CorporateActions","UnderlyingNotification"
,"ISIN")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotification","
SEDOL")<>"" Then
Reporter.ReportEvent micPass,"Verification of IS
IN and SEDOL values are populating or not","ISIN and SEDOL values are populating
"
Else
Reporter.ReportEvent micFail,"Verification of ISIN an
d SEDOL values are populating or not","ISIN and SEDOL values are not populating"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 25
Browser("CorporateActions").Page("UnderlyingNotification").WebTa
ble("Corporate Action Event").ChildItem(3,4,"Image",0).click
If Browser("CorporateActions").Page("UnderlyingNotification").F
rame("EventNameFrame").Exist Then
Reporter.ReportEvent micPass,"Verification of Po
pup after click on ? Image after Event Name ","Event Name popup is appeared wit
h all the fields and Buttons"
Call pageCheck_WebEditinFrame("CorporateActions"
,"UnderlyingNotification","cactnEvntDt;cactnEvntNm;cactnTypeNm;isinNo","EventNam
eFrame")
Else
Reporter.ReportEvent micFail,"Verification of Po
pup after click on ? Image after Event Name ","Event Name popup is Not appeared
"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 26
If Browser("CorporateActions").Page("UnderlyingNotification").Fr
ame("EventNameFrame").WebEdit("isinNo").GetROProperty("value")<>"" And Browser("
CorporateActions").Page("UnderlyingNotification").Frame("EventNameFrame").WebEdi
t("cactnTypeNm").GetROProperty("value")<>"" Then
Reporter.ReportEvent micPass,"Verification of IS
IN and Corporate Action Type values are prefilled in Frame or not","ISIN and Cor
porate Action Type values are prefilled in Frame and Result is displaying"
Browser("CorporateActions").Page("UnderlyingNoti
fication").Frame("EventNameFrame").webElement("innertext:=Cash Dividend","class:
=tabSelected").click
Else
Reporter.ReportEvent micFail,"Verification of ISIN an
d Corporate Action Type values are prefilled in Frame or not","ISIN and Corporat
e Action Type values are Not prefilled in Frame and Result is Not displaying"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
If get_WebEdit_Value("CorporateActions","UnderlyingNotification"
,"EventName")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotificati
on","EventDate")<>"" And get_WebEdit_Value("CorporateActions","UnderlyingNotific
ation","StatusChangedDate")<>"" And get_WebEdit_Value("CorporateActions","Underl
yingNotification","ProcessingStatus")<>"" Then
Reporter.ReportEvent micPass,"Verification of Ev
entName, ProcessingStatus, StatusChangedDate and EventDate values are populating
or not","ISIN,StatusChangedDate, ProcessingStatus and EventDate values are popu
lating"
Else
Reporter.ReportEvent micFail,"Verification of EventNa
me, ProcessingStatus, StatusChangedDate and EventDate values are populating or n
ot","ISIN, StatusChangedDate, ProcessingStatus and EventDate values are Not popu
lating"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 27
Call select_Combo_Value("CorporateActions","UnderlyingNotificati
on","Comparison","No")
'Step 28
Call click_Image("CorporateActions","UnderlyingNotification","Sa
ve CA Event Details")
If Browser("CorporateActions").Page("IndexNotificationAfterSave"
).WebTable("Corporate Action Events").ChildItem(3,2,"WebEdit",0).getroproperty("
value")="Cash Dividend" Then
Reporter.ReportEvent micPass,"Verification of Th
e 'Corporate Action Events this Underlying Notification is Assigned to' section
is displaying the newly added CA with the radio button.","The 'Corporate Action
Events this Underlying Notification is Assigned to' section is displaying the
newly added CA with the radio button"
Else
Reporter.ReportEvent micFail,"Verification of The 'C
orporate Action Events this Underlying Notification is Assigned to' section is d
isplaying the newly added CA with the radio button.","The 'Corporate Action Eve
nts this Underlying Notification is Assigned to' section is NOT displaying the
newly added CA with the radio button"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 29
Browser("CorporateActions").Page("IndexNotificationAfterSave").W
ebTable("Corporate Action Events").ChildItem(3,8,"Image",0).click
If Browser("CorporateActions").Dialog("Microsoft Internet Explo
rer").Exist Then
Reporter.ReportEvent micPass,"Verification wheth
er user is prompted with a message 'Are you sure you want to delete this record?
'..","Message is prompted"
Else
Reporter.ReportEvent micFail,"Verification whether us
er is prompted with a message 'Are you sure you want to delete this record?'..",
"Message is Not prompted"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 30
Browser("CorporateActions").Dialog("Microsoft Internet Explorer"
).WinButton("OK").Click
'Wait(3)
'msgbox Browser("CorporateActions").Page("IndexNotification").We
bTable("Corporate Action Events").RowCount
'If Browser("CorporateActions").Page("IndexNotification").WebTab
le("Corporate Action Events").RowCount = 3 Then
' Reporter.ReportEvent micPass,"Verification of 'r
ow is Deleted with 'Corporate Action Event Details' section","Row is Deleted "
'Else
' Reporter.ReportEvent micFail,"Verification of 'row is
Deleted with 'Corporate Action Event Details' section","Row is Not Deleted "
' 'CaptureScreenshot
' Environment.Value("Execution_Log")=False
' Environment.Value("TestCase_Log")=False
'End If
'Step 31
Call click_Image("CorporateActions","IndexNotificationAfterSave"
,"Save CA Event Details")
Call chk_defaultValue("CorporateActions","IndexNotificationAfter
Save","webEdit","CorporateActionTypechk",strCAType)
Call chk_defaultValue("CorporateActions","IndexNotificationAfter
Save","webEdit","ISINchk2",strISIN)
Call chk_defaultValue("CorporateActions","IndexNotificationAfter
Save","webEdit","SEDOLchk",strSEDOL)
Call chk_defaultValue("CorporateActions","IndexNotificationAfter
Save","webList","Comparisonchk",DataTable.Value("Comparison","IndexNotification"
))
'Step 32
Call select_Menu("CorporateActions","IndexNotificationAfterSave"
,"Home;DR Home")
End Function
Public Function CAProfileIndexNotification_TC10()
'Step 1
Call click_webElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",Datatable
.Value("MenuPath","IndexNotification"))
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 2,3
Call CAIndexNotificationSearch("CorporateActions","ProfileIndexN
otificationSearch")
Call CAIndexNotificationSearchResultVerification("CorporateActio
ns","ProfileIndexNotificationSearch")
'Step 4
Call clickOnReceivedDateLink_IndexNotificationResult("CorporateA
ctions","ProfileIndexNotificationSearch","IndexNotification")
Call pageCheck_WebEditOR("CorporateActions","IndexNotification",
"ReceivedDateIndexNotification;Sender;Source;TrackingNumber;UpdateDate;UpdateUse
r;UserComments;UserGroup")
Call pageCheck_WebListOR("CorporateActions","IndexNotification",
"Status")
Call pageCheck_WebEditinFrame("CorporateActions","IndexNotificat
ion","search","msgFrame")
Call pageCheck_WebButtoninFrame("CorporateActions","IndexNotific
ation","Find =>;Print","msgFrame")
'Step 5
Call Select_Combo_Value("CorporateActions","IndexNotification","
Status",Datatable.Value("StatusIndex","IndexNotification"))
Call click_Image("CorporateActions","IndexNotification","Save Me
ssage")
'Step 6
Call click_WebElement("CorporateActions","IndexNotification","In
dexNotificationSearch")
If Browser("CorporateActions").Dialog("Microsoft Internet Explor
er").Exist Then
Reporter.ReportEvent micPass,"Verification wheth
er user is prompted with a message 'Data has been modified. Please save your cha
nges or click Cancel to discard changes.","Message is prompted"
Else
Reporter.ReportEvent micFail,"Verification whether us
er is prompted with a message 'Data has been modified. Please save your changes
or click Cancel to discard changes.","Message is NOT prompted"
'CaptureScreenshot
Environment.Value("Execution_Log")=False
Environment.Value("TestCase_Log")=False
End If
'Step 7
Browser("CorporateActions").Dialog("Microsoft Internet Explorer"
).WinButton("text:=Cancel").Click
Call pageCheck_ProfileIndexNotificationSearch("CorporateActions"
,"ProfileIndexNotificationSearch")
'Step 8
Call select_Menu("CorporateActions","ProfileIndexNotificationSea
rch","Home;DR Home")
End Function

You might also like