Você está na página 1de 21

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

==========================
' Name of the Script : Corporate Actions Profile Upl
oad Notification
' Scope of the Script : This test script covers 6 tes
t cases related to the CA Profile Upload Notification
' Author : Shyam H D
' Description : Corporate Actions Profile Upl
oad Notification
' Date and / or Version : 04-12-2008,version 1.0
'===============================================================================
============================
Sub CAProfileUploadNotification()
'****Declaration of Environmental Variable
Environment.Value("strSheetName")= "UploadNotification"
'''''''''Test case count
Const TC_COUNT = 6
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 "UploadNotification"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.xls
","UploadNotification","UploadNotification"
DataTable.AddSheet "ReportHeader"
DataTable.ImportSheet strDataPath & "CorporateActionsProfile.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","User","CALogin")
Environment.Value("DATATABLE_ROW")=1
DataTable.GetSheet("UploadNotification").SetCurrentRow(Environme
nt.Value("DATATABLE_ROW"))
'***************************************** TC Driver Strat *****
**************************************************
For intTCCount = 1 to TC_COUNT
Environment.Value("Execution_Log") = "True"
Environment.Value("TestCase_Log") = "True"
If DataTable("TestRunFlag","UploadNotification")="Y" The
n ''If run flag is Y in test data table
Reporter.ReportEvent micDone,"######## BEGIN TES
T CASE - '" & DataTable("TestCaseID","UploadNotification") & "' ########### ","E
xecution of Test Case '" & DataTable("TestCaseDesc","UploadNotification") & "' S
tarted"
strFuncName = "CAProfileUploadNotification_TC" & intTCCount & "(
)" ''Formation of function name
''Call Function
Execute "Call " & strFuncName
If Environment.Value("Execution_Log") = "True"
Then
Call Execution_log("",Datatable.
Value("TestCaseID", "UploadNotification"), Datatable.Value("TestCaseDesc", "Uplo
adNotification"), "PASS")
Else
Call Execution_log("",Datatable.
Value("TestCaseID", "UploadNotification"), Datatable.Value("TestCaseDesc", "Uplo
adNotification"), "FAIL")
End If
Reporter.ReportEvent micDone,"######### END OF T
EST CASE - '" & DataTable("TestCaseID","UploadNotification") & "###########","Th
e Test Case Execution Completed"
End If

strPrevious=Trim(DataTable.Value("TestCaseID","UploadNot
ification"))
''Increment the test data table row
Environment.Value("DATATABLE_ROW") = Environment.Value("
DATATABLE_ROW") + 1
DataTable.GetSheet("UploadNotification").SetCurrentRow(E
nvironment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","UploadNotific
ation"))
While strPrevious = strNext
Environment.Value("DATATABLE_ROW") = Environment
.Value("DATATABLE_ROW") + 1
DataTable.GetSheet("UploadNotification").SetCurr
entRow(Environment.Value("DATATABLE_ROW"))
strNext=Trim(DataTable.Value("TestCaseID","Uploa
dNotification"))
Wend
Next
Call logoutfromApp("CorporateActions","Depositary Receipt Divisi
on's")
'***************************************** TC Driver End *******
************************************************

End Sub

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Public Function CAProfileUploadNotification_TC1()
Call chkADRHomePage("CorporateActions","Depositary Receipt Divis
ion's",DataTable.Value("HomePageLinks","HomePageVerification"),Environment.Value
("NormalUser"))
If Environment.Value("TestCase_Log") = "True"Then
Reporter.ReportEvent micPass,"Step 1: Check for DR Hom
e Page","The Required Links and the User Details are displayed Successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Check for DR Home
Page","The Required Links and the User Details are NOT displayed Successfully"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' Clicking on the Corporate Action Element
Call click_WebElement("CorporateActions","Depositary Receipt Div
ision's","CorporateActions")
' Step 2
Call chkMFCAHomePage("CorporateActions","CorporateActions",DataTable.Val
ue("MenuName","HomePageVerification"),Environment.Value("NormalUser"))
If Environment.Value("TestCase_Log") = "True"Then
Reporter.ReportEvent micPass,"Step 2: Click on Corporat
e Action Element and Check for CA Home Page","The Required Menu Items are Displa
yed Successfully"
Else
Reporter.ReportEvent micFail,"Step 2: Click on Corporate
Action Element and Check for CA Home Page","The Required Menu Items are Display
ed Successfully"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' Step 3
Call Select_Menu("CorporateActions","CorporateActions",DataTable.Value("
MenuPath","UploadNotification"))
Call Select_Combo_Value("CorporateActions","Profile - Upload Not
ification","TargetDocument",DataTable.Value("TargetDocument","UploadNotification
"))
blnFlag = "False"
If Browser("CorporateActions").Page("Profile - Upload Notificati
on").WebFile("UploadFile").Exist(2) Then
blnFlag = "True"
End If
Call pageCheck_WebEditOR("CorporateActions","Profile - Upload Notificati
on","IssuerName;UnderlyingSecurity;ISIN;SEDOL;Source;ProcessingStatus;SenderName
;CorporateActionType;LocalRecordDate;MeetingDate;PaymentDate;EffectiveDate")
Call pageCheck_WebListOR("CorporateActions","Profile - Upload No
tification","TargetDocument;Comparison;SenderType")
Call pageCheck_ImageOR("CorporateActions","Profile - Upload Noti
fication","Save;Cancel;UnderlyingSecurity;ISIN;SEDOL;CorporateActionType;LocalRe
cordDate;MeetingDate;PaymentDate;EffectiveDate")
Call pageCheck_WebEditTextArea("CorporateActions","Profile - Upl
oad Notification","userCmntTxN_0","")
If Environment.Value("TestCase_Log") = "True" AND blnFlag = "Tru
e" Then
Reporter.ReportEvent micPass,"Step 3: Verifying if the R
equired Fields are Present in the Page ' Profile - Upload Notification '","The R
equired Fields are Present in the page 'Profile - Uplaod Notification'"
Else
Reporter.ReportEvent micFail,"Step 3: Verifying if the R
equired Fields are Present in the Page ' Profile - Upload Notification '","The R
equired Fields are NOT Present in the page 'Profile - Uplaod Notification'"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
Call select_Menu("CorporateActions","Profile - Upload Notificati
on","Home;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++
Public Function CAProfileUploadNotification_TC2()
Call click_WebElement("CorporateActions","Depositary Receipt Division's"
,"CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable.Value("Menu
Path","UploadNotification"))
blnFlag = Browser("CorporateActions").Page("Profile - Upload Notificatio
n").Exist(5)
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is NOT displayed successfully"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","TargetDocument",DataTable.Value("TargetDocument","UploadNotification"))
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
strRequiredDetails = "Uploaded file should be PDF, Doc, Text or HTML file.;F
ield is Required."
Call ValidationErrorDetails_AllDetails("CorporateActions","Profile - Upl
oad Notification","Validation Error",DataTable.Value("RequiredFields","UploadNot
ification"),strRequiredDetails,"Validation Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 2 : Verfiying if the Mandator
y fields are displayed in the Validation Error or Not with the details","The Man
datory Fields are displayed in the Validation Error"
Else
Reporter.ReportEvent micFail,"Step 2 : Verfiying if the Mandator
y fields are displayed in the Validation Error or Not with the details","The Man
datory Fields are displayed in the Validation Error"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
strRequired = "ISIN;Corporate Action Type;Sender Name"
Call clkValidationErrorElement("CorporateActions","Profile - Upload Noti
fication","Validation Error",strRequired,"ISIN;CorporateActionType;SenderName")
blnColorFlag = "False"
Browser("CorporateActions").Page("Profile - Upload Notification").WebEle
ment("html tag:=TD","innertext:= Uploaded File").Click
strOuterhtml = Browser("CorporateActions").Page("Profile - Upload Notifi
cation").WebFile("UploadFile").GetROProperty("outerhtml")
If Instr(1,strOuterhtml,"BORDER-TOP-COLOR: red") <> 0 Then
blnColorFlag = "True"
End If
If Environment.Value("TestCase_Log") = "True" AND blnColorFlag = "True"
Then
Reporter.ReportEvent micPass,"Step 3: Verfiying if the Fields ar
e highlighted in Red when clicked on the Fields in Validation Error","The Corres
ponding Fields are Highlighted in Red"
Else
Reporter.ReportEvent micFail,"Step 3: Verfiying if the Fields ar
e highlighted in Red when clicked on the Fields in Validation Error","The Corres
ponding Fields are NOT Highlighted in Red"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
Call click_Image("CorporateActions","Profile - Upload Notification","Clo
se")
If Browser("CorporateActions").Page("Profile - Upload Notification").Ima
ge("Error").Exist(2) Then
Reporter.ReportEvent micPass,"Step 4: Verifying if the Error But
ton exists after closing the Validation Error Table","The Error Button exists af
ter closing the Validation Error without entering the Mandatory details"
Else
Reporter.ReportEvent micFail,"Step 4: Verifying if the Error But
ton exists after closing the Validation Error Table","The Error Button does NOT
exists after closing the Validation Error without entering the Mandatory details
"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call click_Image("CorporateActions","Profile - Upload Notification","Err
or")
If Browser("CorporateActions").Page("Profile - Upload Notification").Web
Table("Validation Error").Exist(2) Then
Reporter.ReportEvent micPass,"Step 5: Verifying if the Validatio
n Error Table is Displayed or NOT","The Validation Error Table is Displayed"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying if the Validatio
n Error Table is Displayed or NOT","The Validation Error Table is Displayed"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call select_Menu("CorporateActions","Profile - Upload Notification","Hom
e;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++
Public Function CAProfileUploadNotification_TC3()
Call click_WebElement("CorporateActions","Depositary Receipt Division's"
,"CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable.Value("Menu
Path","UploadNotification"))
blnFlag = Browser("CorporateActions").Page("Profile - Upload Notificatio
n").Exist(5)
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is NOT displayed successfully"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call CreateNewFolder("UploadFiles")
strFilePath = CreateFile("UploadFiles",DataTable.Value("TestCaseID","Upl
oadNotification"),"txt")
Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","TargetDocument",DataTable.Value("TargetDocument","UploadNotification"))
Browser("CorporateActions").Page("Profile - Upload Notification").WebFil
e("UploadFile").Click
If Browser("CorporateActions").Dialog("Choose file").Exist(5) Then
Reporter.ReportEvent micPass,"Step 2: Verifying if the Dialog Ch
oose File exists or NOT","The Dialog 'Choose File' is Dispalyed successfully"
Else
Reporter.ReportEvent micFail,"Step 2: Verifying if the Dialog Ch
oose File exists or NOT","The Dialog 'Choose File' is NOT Dispalyed successfully
"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Browser("CorporateActions").Dialog("Choose file").WinEdit("File name:").
Set strFilePath
Browser("CorporateActions").Dialog("Choose file").WinButton("Open").Click
strAppFileName = Browser("CorporateActions").Page("Profile - Upload Noti
fication").WebFile("UploadFile").GetROProperty("value")
If strAppFileName = strFilePath Then
Reporter.ReportEvent micPass,"Step 3: Verifying if the Selected
file is displayed in the Field or Not","The Selected File " & strAppFileName &
" is displayed in the Field"
Else
Reporter.ReportEvent micFail,"Step 3: Verifying if the Selected
file is displayed in the Field or Not","The Selected File " & strAppFileName &
" is NOT displayed in the Field"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call select_Menu("CorporateActions","Profile - Upload Notification","Hom
e;DR Home")
End Function

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

Public Function CAProfileUploadNotification_TC4()


Call click_WebElement("CorporateActions","Depositary Receipt Division's"
,"CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable.Value("Menu
Path","UploadNotification"))
blnFlag = Browser("CorporateActions").Page("Profile - Upload Notificatio
n").Exist(5)
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is NOT displayed successfully"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call CreateNewFolder("UploadFiles")
strFilePath = CreateFile("UploadFiles",DataTable.Value("TestCaseID","Upl
oadNotification"),"txt")
Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","TargetDocument",DataTable.Value("TargetDocument","UploadNotification"))
' Entering the path of the File and clicking on Save
Browser("CorporateActions").Page("Profile - Upload Notification").WebFil
e("UploadFile").Click
Browser("CorporateActions").Dialog("Choose file").WinEdit("File name:").
Set strFilePath
Browser("CorporateActions").Dialog("Choose file").WinButton("Open").Click
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
'strRequiredField = "Field is Required."
Call ValidationErrorDetails_AllDetails("CorporateActions","Profile - Upl
oad Notification","Validation Error",DataTable.Value("RequiredFields","UploadNot
ification"),DataTable.Value("ValidationMessage","UploadNotification"),"Validatio
n Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 2: Verifying if the Mandatory
Fields are displayed in the Validation Error Table","The Mandatory Fields are d
isplayed in the Validation Error Table"
Else
Reporter.ReportEvent micFail,"Step 2: Verifying if the Mandatory
Fields are displayed in the Validation Error Table","The Mandatory Fields are N
OT displayed in the Validation Error Table"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' Step 3: Entering the Underlying Security
Call click_Image("CorporateActions","Profile - Upload Notification","Und
erlyingSecurity")
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","WebEdit","divNm",DataTable.Value("UnderlyingSe
curity","UploadNotification"))
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","Image","Go","")
Call chkResultinFrame("CorporateActions","Profile - Upload Notification"
,"lookupFrame","FrameTable","Und. Security Name",DataTable.Value("UnderlyingSecu
rity","UploadNotification"))
Call SelectValueinFrame("CorporateActions","Profile - Upload Notificatio
n","lookupFrame","FrameTable")
' Verifiyng the Filled of ISN , SEDOL and Sender Name
strISINValue = get_WebEdit_Value("CorporateActions","Profile - Upload No
tification","ISIN")
strSEDOLValue = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SEDOL")
strSenderName = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SenderName")
If Environment.Value("TestCase_Log") = "True" AND strISINValue <> "" AND
strSEDOLValue <> "" AND strSenderName <> "" Then
Reporter.ReportEvent micPass,"Step 3: Verifiyng if the Values in
the Fields are filled or NOT","The Values in the Fields ' ISIN, SEDOL and Sende
r Name' are automatically filled after entering the Underlying Security"
Else
Reporter.ReportEvent micFail,"Step 3: Verifiyng if the Values in
the Fields are filled or NOT","The Values in the Fields ' ISIN , SEDOL and Send
er Name' are NOT filled automatically after entering the Underlying Security"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' Step 4: Verifying all the Items in Comparison Field
strComparisonValues = Browser("CorporateActions").Page("Profile - Upload Not
ification").WebList("Comparison").GetROProperty("all items")
strRequiredValues = "No;Yes"
If Trim(UCase(strComparisonValues)) = Trim(UCase(strRequiredValues)) The
n
Reporter.ReportEvent micPass,"Step 4: Verifying the Values prese
nt in the Comparsion Field","The Items Present in the Comparison Field are " & s
trComparisonValues
Else
Reporter.ReportEvent micFail,"Step 4: Verifying the Values prese
nt in the Comparsion Field","The Items " & strComparisonValues& " are NOT Prese
nt in the Comparison Field are "
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 5: Verifiyng the Default Value of Comparsion Field
strSelectedValue = get_WebList_Value("CorporateActions","Profile - Uploa
d Notification","Comparison")
If strSelectedValue = "Yes" Then
Reporter.ReportEvent micPass,"Step 5: Verifying the Default Valu
e of the Comparsion Field","The Default Value of Comparsion Field is " & strSele
ctedValue
Else
Reporter.ReportEvent micFail,"Step 5: Verifying the Default Valu
e of the Comparsion Field","The Default Value of Comparsion Field is NOT " & str
SelectedValue
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 6:
Call click_Image("CorporateActions","Profile - Upload Notification","Cor
porateActionType")
Call pageCheck_Frame("CorporateActions","Profile - Upload Notification",
"lookupFrame","CorporateActionType","Clear;Go","CorporateActionType")
strDataValue = ""
intDataRowCount = DataTable.GetSheet("ReportHeader").GetRowCount
For intCounter = 1 to intDataRowCount
DataTable.GetSheet("ReportHeader").SetCurrentRow(intCounter)
strDataValues = Trim(DataTable.Value("UploadNotification","Repor
tHeader"))
strDataValue = strDataValue & strDataValues & ";"
Next
strDataValue = Replace(strDataValue," ","")
intRowCount = Browser("CorporateActions").Page("Profile - Upload Notific
ation").Frame("lookupFrame").WebTable("ISIN").RowCount
strAppValue = ""
blnTestFlag = "True"
For intRowCounter = 2 to intRowCount
strAppValue = Browser("CorporateActions").Page("Profile - Upload
Notification").Frame("lookupFrame").WebTable("ISIN").GetCellData(intRowCounter,
1)
strAppValue = Replace(strAppValue," ","")
If Instr(1,strDataValue,strAppValue) = 0 Then
blnTestFlag = "False"
Exit For
End If
Next
If blnTestFlag = "True" Then
Reporter.ReportEvent micPass,"Step 6: Verifying if the required
Items are Present in the Table","The Required Items are Present in the Table are
" & strAppValue
Else
Reporter.ReportEvent micFail,"Step 6: Verifying if the required
Items are Present in the Table","The Required Items are NOT Present in the Table
"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 7:
Browser("CorporateActions").Page("Profile - Upload Notification").Frame(
"lookupFrame").WebEdit("CorporateActionType").Set DataTable.Value("CorporateActi
onType","UploadNotification")
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Profile - Upload Notifica
tion","lookupFrame","FrameTable","Corporate Action Type")
blnFlag = "True"
intRowCount = Browser("CorporateActions").Page("Profile - Upload Notific
ation").Frame("lookupFrame").WebTable("FrameTable").RowCount
For intRowCounter = 2 to intRowCount
strAppValue = Browser("CorporateActions").Page("Profile - Upload
Notification").Frame("lookupFrame").WebTable("FrameTable").GetCellData(intRowCo
unter,1)
intPos = InStr(1,UCase(Trim(strAppValue)),UCase(Trim(DataTable.V
alue("CorporateActionType","UploadNotification"))))
If intPos = 0 Then
blnFlag = "False"
Exit For
End If
Next
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 7: Verifying if the Results a
re displayed as per the Search Criteria","The Results are Displayed as per the S
earch Criteria"
Else
Reporter.ReportEvent micFail,"Step 7: Verifying if the Results a
re displayed as per the Search Criteria","The Results are NOT Displayed as per t
he Search Criteria"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
' Step 8
intRowCount = Browser("CorporateActions").Page("Profile - Upload Notific
ation").Frame("lookupFrame").WebTable("FrameTable").RowCount
For intRowCounter = 2 to intRowCount
strSelectAppValue = Browser("CorporateActions").Page("Profile -
Upload Notification").Frame("lookupFrame").WebTable("FrameTable").GetCellData(in
tRowCounter,1)
If strSelectAppValue = "Cash Dividend" Then
Browser("CorporateActions").Page("Profile - Upload Notif
ication").Frame("lookupFrame").WebElement("html tag:= TD","innertext:= " & strSe
lectAppValue).Click
Exit For
End If
Next
strCorporateActionType = get_WebEdit_Value("CorporateActions","Profile -
Upload Notification","CorporateActionType")
If strCorporateActionType = strSelectAppValue Then
Reporter.ReportEvent micPass,"Step 8: Verifying if the Selected
Value is displayed in the Corporate Action Type Field or NOT","The Selected Valu
e " & strSelectAppValue & "is displayed in the Corporate Action Field"
Else
Reporter.ReportEvent micFail,"Step 8: Verifying if the Selected
Value is displayed in the Corporate Action Type Field or NOT","The Selected Valu
e " & strSelectAppValue & "is NOT displayed in the Corporate Action Field"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 9
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
Call ValidationErrorDetails("CorporateActions","Profile - Upload Notific
ation","Validation Error","Local Record Date","Validation Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 9: Verifiyng if the Mandatory
Field are displayed in the Validation Error or NOT","The Mandatory Field is dis
played in the validation Error Table"
Else
Reporter.ReportEvent micFail,"Step 9: Verifiyng if the Mandatory
Field are displayed in the Validation Error or NOT","The Mandatory Field is NOT
displayed in the validation Error Table"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
'Step 10
Call clkValidationErrorElement("CorporateActions","Profile - Upload Noti
fication","Validation Error","Local Record Date","LocalRecordDate")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 10: Verifying if the Field is
highligted in Red Color or NOT","The Required Field is Highlighted in Red"
Else
Reporter.ReportEvent micFail,"Step 10: Verifying if the Field is
highligted in Red Color or NOT","The Required Field is NOT Highlighted in Red"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
Call click_image("CorporateActions","Profile - Upload Notification","Loc
alRecordDate")
strDate=split(DataTable.Value("LocalRecordDate","UploadNotification"),";
",-1,1)
strMonth=strDate(1)
strYear=strDate(2)
strDateValue =strDate(0)
Call ClickIcon_SetDate("CorporateActions","Profile - Upload Notification
",strMonth,strYear,strDateValue)
intLen = Len(strDateValue)
If intLen<2 Then
strDateValue = "0" & strDateValue
End If
strReqDate = strMonth & " " & strDateValue & ", " & strYear
strLocalRecordDate = get_WebEdit_Value("CorporateActions","Profile - Upl
oad Notification","LocalRecordDate")
If strLocalRecordDate = strReqDate Then
Reporter.ReportEvent micPass,"Step 11: Verifying if the Selected
Date is displayed in the Field or NOT","The Selected Date is displayed in the F
ield"
Else
Reporter.ReportEvent micFail,"Step 11: Verifying if the Selected
Date is displayed in the Field or NOT","The Selected Date is NOT displayed in t
he Field"
Environment.Value("Execution_Log") = "False"
End If
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
blnFlag = "False"
blnFlag = Browser("CorporateActions").Page("Underlying Upload Notificati
on").Exist(5)
Wait(5)
If blnFlag = "True" Then
Wait(5)
strUnderlyingName = Browser("CorporateActions").Page("Underlying
Upload Notification").WebTable("DetailTable").GetCellData(1,1)
strCreatedUpdatedDetails = Browser("CorporateActions").Page("Und
erlying Upload Notification").WebTable("DetailTable").GetCellData(2,1)
intPos1 = InStr(1,strCreatedUpdatedDetails,"Created")
intPos2 = InStr(1,strCreatedUpdatedDetails,"Updated")
If strUnderlyingName = DataTable.Value("UnderlyingSecurity","UploadNotif
ication") AND intPos1 <> 0 AND intPos2 <> 0 Then
Reporter.ReportEvent micPass,"Step 12: Verfiying if the
Underlying Notification Screen is displayed with the Required details","The Page
' Underlying Upload Notification' is displayed with the Required details"
Else
Reporter.ReportEvent micFail,"Step 12: Verfiying if the
Underlying Notification Screen is displayed with the Required details","The Page
' Underlying Upload Notification' is displayed with the Required details"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
Call select_Menu("CorporateActions","Underlying Upload Notificat
ion","Home;DR Home")
Else
Reporter.ReportEvent micFail,"Step 12: Verifying if the Page ' U
nderlying Notification' is displayed or NOT","The Page ' Underlying Notification
is NOT displayed"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
Call select_Menu("CorporateActions","Profile - Upload Notificati
on","Home;DR Home")
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++

Public Function CAProfileUploadNotification_TC5()


Call click_WebElement("CorporateActions","Depositary Receipt Division's"
,"CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable.Value("Menu
Path","UploadNotification"))
blnFlag = Browser("CorporateActions").Page("Profile - Upload Notificatio
n").Exist(5)
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is NOT displayed successfully"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
Call CreateNewFolder("UploadFiles")
strFilePath = CreateFile("UploadFiles",DataTable.Value("TestCaseID","Upl
oadNotification"),"txt")
Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","TargetDocument",DataTable.Value("TargetDocument","UploadNotification"))
' Entering the path of the File and clicking on Save
Browser("CorporateActions").Page("Profile - Upload Notification").WebFil
e("UploadFile").Click
Browser("CorporateActions").Dialog("Choose file").WinEdit("File name:").
Set strFilePath
Browser("CorporateActions").Dialog("Choose file").WinButton("Open").Click
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
Call ValidationErrorDetails_AllDetails("CorporateActions","Profile - Upl
oad Notification","Validation Error",DataTable.Value("RequiredFields","UploadNot
ification"),DataTable.Value("ValidationMessage","UploadNotification"),"Validatio
n Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 2: Verifying if the Mandatory
Fields are displayed in the Validation Error Table","The Mandatory Fields are d
isplayed in the Validation Error Table"
Else
Reporter.ReportEvent micFail,"Step 2: Verifying if the Mandatory
Fields are displayed in the Validation Error Table","The Mandatory Fields are N
OT displayed in the Validation Error Table"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' Step 3: Entering the Underlying Security
Call click_Image("CorporateActions","Profile - Upload Notification","Und
erlyingSecurity")
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","WebEdit","divNm",DataTable.Value("UnderlyingSe
curity","UploadNotification"))
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","Image","Go","")
Call chkResultinFrame("CorporateActions","Profile - Upload Notification"
,"lookupFrame","FrameTable","Und. Security Name",DataTable.Value("UnderlyingSecu
rity","UploadNotification"))
Call SelectValueinFrame("CorporateActions","Profile - Upload Notificatio
n","lookupFrame","FrameTable")
' Verifiyng the Filled of ISN , SEDOL and Sender Name
strISINValue = get_WebEdit_Value("CorporateActions","Profile - Upload No
tification","ISIN")
strSEDOLValue = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SEDOL")
strSenderName = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SenderName")
If Environment.Value("TestCase_Log") = "True" AND strISINValue <> "" AND
strSEDOLValue <> "" AND strSenderName <> "" Then
Reporter.ReportEvent micPass,"Step 3,4: Verifiyng if the Values
in the Fields are filled or NOT","The Values in the Fields ' ISIN, SEDOL and Sen
der Name' are automatically filled after entering the Underlying Security"
Else
Reporter.ReportEvent micFail,"Step 3, 4: Verifiyng if the Values
in the Fields are filled or NOT","The Values in the Fields ' ISIN , SEDOL and S
ender Name' are NOT filled automatically after entering the Underlying Security"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
' 'Step 5
' Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","Comparison",DataTable.Value("Comparison","UploadNotification"))
' strComboValue = get_WebList_Value("CorporateActions","Profile - Upload N
otification","Comparison")
' If Instr(1,strComboValue,DataTable.Value("Comparison","UploadNotificatio
n")) <> 0 Then
' Reporter.ReportEvent micPass,"Step 5: Verifying the Value in the
Comparsion Field","The Value in the Comparison Field is ' " & strComboValue & "
' "
' Else
' Reporter.ReportEvent micFail,"Step 5: Verifying the Value in the
Comparsion Field","The Value in the Comparison Field is ' " & strComboValue & "
' , instead it should be ' " & DataTable.Value("Comparison","UploadNotificatio
n") & " ' "
' Call captureScreenShot()
' Environment.Value("Execution_Log") = "False"
' End If
' Step 5:
Call Select_Combo_Value("CorporateActions","Profile - Upload Notificatio
n","SenderType",DataTable.Value("SenderType","UploadNotification"))
strSenderName = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SenderName")
If strSenderName = "" Then
Reporter.ReportEvent micPass,"Step 5: Verifying if the Sender Na
me Field is Cleared or NOT","The Sender Name Field is Cleared"
Else
Reporter.ReportEvent micFail,"Step 5: Verifying if the Sender Na
me Field is Cleared or NOT","The Sender Name Field is NOT Cleared"
Environment.Value("Execution_Log")= "False"
Call captureScreenShot()
End If
' Step 6
Call click_Image("CorporateActions","Profile - Upload Notification","Sen
derName")
Browser("CorporateActions").Page("Profile - Upload Notification").Frame(
"lookupFrame").WebEdit("CustodianName").Set DataTable.Value("CustodianName","Upl
oadNotification")
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Upload
Notification","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Profile - Upload Notifica
tion","lookupFrame","FrameTable","Custodian")
intRowCount = Browser("CorporateActions").Page("Profile - Upload Notific
ation").Frame("lookupFrame").WebTable("FrameTable").RowCount
For intRowCounter = 2 to intRowCount
strSelectAppValue = Browser("CorporateActions").Page("Profile -
Upload Notification").Frame("lookupFrame").WebTable("FrameTable").GetCellData(in
tRowCounter,1)
If InStr(1,strSelectAppValue,DataTable.Value("CustodianName","Up
loadNotification")) <> 0 Then
Browser("CorporateActions").Page("Profile - Upload Notif
ication").Frame("lookupFrame").WebElement("html tag:= TD","innertext:= " & strSe
lectAppValue).Click
Exit For
End If
Next
strSenderName = get_WebEdit_Value("CorporateActions","Profile - Upload N
otification","SenderName")
If Instr(strSenderName,DataTable.Value("CustodianName","UploadNotificati
on")) <> 0 Then
Reporter.ReportEvent micPass,"Step 6: Verfiying if the Selected
Custodian Name is displayed in the Sender Name Field or NOT","The Selected Custo
dian Name " & strSelectAppValue & " is Displayed in the Sender Name Field"
Else
Reporter.ReportEvent micFail,"Step 6: Verfiying if the Selected
Custodian Name is displayed in the Sender Name Field or NOT","The Selected Custo
dian Name " & strSelectAppValue & " is NOT Displayed in the Sender Name Field"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If

' Step 7
strCATypeValue = "Annual General Meeting (AGM)"
Call click_Image("CorporateActions","Profile - Upload Notification","Cor
porateActionType")
Browser("CorporateActions").Page("Profile - Upload Notification").Frame(
"lookupFrame").WebEdit("CorporateActionType").Set strCATypeValue
Call operation_on_FrameObjects_WithName("CorporateActions","Profile - Up
load Notification","lookupFrame","Image","Go","")
Call ReportLoadWaitinFrame("CorporateActions","Profile - Upload Notifica
tion","lookupFrame","FrameTable","Corporate Action Type")
strValue = DataTable("CorporateActionType","UploadNotification")
Browser("CorporateActions").Page("Profile - Upload Notification").Frame("loo
kupFrame").WebElement("html tag:= TD","innertext:= " & strValue).Click
strCorporateActionType = get_WebEdit_Value("CorporateActions","Profile -
Upload Notification","CorporateActionType")
If Trim(strCorporateActionType) = Trim(strCATypeValue) Then
Reporter.ReportEvent micPass,"Step 7: Verifying if the Selected
Value is displayed in the Corporate Action Type Field or NOT","The Selected Valu
e " & strSelectAppValue & "is displayed in the Corporate Action Field"
Else
Reporter.ReportEvent micFail,"Step 7: Verifying if the Selected
Value is displayed in the Corporate Action Type Field or NOT","The Selected Valu
e " & strSelectAppValue & "is NOT displayed in the Corporate Action Field"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
' Step 8
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
Call ValidationErrorDetails("CorporateActions","Profile - Upload Notific
ation","Validation Error","Meeting Date","Validation Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 8: Verifiyng if the Mandatory
Field are displayed in the Validation Error or NOT","The Mandatory Field is dis
played in the validation Error Table"
Else
Reporter.ReportEvent micFail,"Step 8: Verifiyng if the Mandatory
Field are displayed in the Validation Error or NOT","The Mandatory Field is NOT
displayed in the validation Error Table"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
'Step 9
Call click_image("CorporateActions","Profile - Upload Notification","Mee
tingDate")
strDate=split(DataTable.Value("MeetingDate","UploadNotification"),";",-1
,1)
strMonth=strDate(1)
strYear=strDate(2)
strDateValue =strDate(0)
Call ClickIcon_SetDate("CorporateActions","Profile - Upload Notification
",strMonth,strYear,strDateValue)
intLen = Len(strDateValue)
If intLen<2 Then
strDateValue = "0" & strDateValue
End If
strReqDate = strMonth & " " & strDateValue & ", " & strYear
strLocalRecordDate = get_WebEdit_Value("CorporateActions","Profile - Upl
oad Notification","MeetingDate")
If strLocalRecordDate = strReqDate Then
Reporter.ReportEvent micPass,"Step 9: Verifying if the Selected
Date is displayed in the Meeting Date Field or NOT","The Selected Date is displa
yed in the Meeting Date Field"
Else
Reporter.ReportEvent micFail,"Step 9: Verifying if the Selected
Date is displayed in the Meeting Date Field or NOT","The Selected Date is NOT di
splayed in the Meeting Date Field"
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 10
Browser("CorporateActions").Page("Profile - Upload Notification").WebEdi
t("Comments").Set DataTable.Value("Comments","UploadNotification")
strCommentField = get_WebEdit_Value("CorporateActions","Profile - Upload
Notification","Comments")
If strCommentField = DataTable("Comments","UploadNotification") Then
Reporter.ReportEvent micPass,"Step 10: Verifiyng if the Comments
can be entered and verifying the entered Comment","The Comments Can be entered
in the Field and the Entered Comment is : " & strCommentField
Else
Reporter.ReportEvent micFail,"Step 10: Verifiyng if the Comments
can be entered and verifying the entered Comment","The Comments Can NOT be ente
red in the Field OR the Entered Comment is NOT : " & strCommentField
Environment.Value("Execution_Log") = "False"
Call captureScreenShot()
End If
' Step 11
Call click_Image("CorporateActions","Profile - Upload Notification","Sav
e")
blnFlag = "False"
blnFlag = Browser("CorporateActions").Page("Underlying Upload Notificati
on").Exist(5)
Wait(5)
If blnFlag = "True" Then
Wait(5)
strUnderlyingName = Browser("CorporateActions").Page("Underlying
Upload Notification").WebTable("DetailTable").GetCellData(1,1)
strCreatedUpdatedDetails = Browser("CorporateActions").Page("Und
erlying Upload Notification").WebTable("DetailTable").GetCellData(2,1)
intPos1 = InStr(1,strCreatedUpdatedDetails,"Created")
intPos2 = InStr(1,strCreatedUpdatedDetails,"Updated")
If strUnderlyingName = DataTable.Value("UnderlyingSecurity","UploadNotif
ication") AND intPos1 <> 0 AND intPos2 <> 0 Then
Reporter.ReportEvent micPass,"Step 11: Verfiying if the
Underlying Notification Screen is displayed with the Required details","The Page
' Underlying Notification' is displayed with the Required details"
Else
Reporter.ReportEvent micFail,"Step 11: Verfiying if the
Underlying Notification Screen is displayed with the Required details","The Page
' Underlying Notification' is NOT displayed with the Required details"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
Call select_Menu("CorporateActions","Underlying Upload Notificat
ion","Home;DR Home")
If Browser("CorporateActions").Page("Depositary Receipt Division
's").Exist(5) Then
Reporter.ReportEvent micPass,"Step 12: Verifying if the
ADR Home Page is displayed successfully","ADR Home page is displayed successfull
y"
Else
Reporter.ReportEvent micFail,"Step 12: Verifying if the
ADR Home Page is displayed successfully","ADR Home page is Not displayed success
fully"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
Else
Reporter.ReportEvent micFail,"Step 11: Verifying if the Page ' U
nderlying Notification' is displayed or NOT","The Page ' Underlying Notification
is NOT displayed"
Environment.Value("Execution_Log") = "False"
Call select_Menu("CorporateActions","Profile - Upload Notificati
on","Home;DR Home")
End If
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++
Public Function CAProfileUploadNotification_TC6()
DataTable.GetSheet("UploadNotification").SetCurrentRow(6)
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "True"
Call click_WebElement("CorporateActions","Depositary Receipt Division's"
,"CorporateActions")
Call select_Menu("CorporateActions","CorporateActions",DataTable.Value("Menu
Path","UploadNotification"))
blnFlag = Browser("CorporateActions").Page("Profile - Upload Notificatio
n").Exist(5)
If blnFlag = "True" Then
Reporter.ReportEvent micPass,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is displayed successfully"
Else
Reporter.ReportEvent micFail,"Step 1: Verfiying if the Page ' Pr
ofile Upload Notification ' is displayed or NOT","The Page ' Profile Upload Noti
fication ' is NOT displayed successfully"
Call captureScreenShot()
Environment.Value("Execution_Log") = "False"
End If
Call CreateNewFolder("UploadFiles")
strFilePath = CreateFile("UploadFiles",DataTable.Value("TestCaseID","Upl
oadNotification"),"txt")
intCount = Environment.Value("DATATABLE_ROW")
intCounter = DataTable.GetSheet("UploadNotification").GetRowCount
For intRowCount = intCount to intCounter
DataTable.GetSheet("UploadNotification").SetCurrentRow(intRowCou
nt)
If DataTable.Value("UnderlyingSecurity","UploadNotification") <>
"" Then
Call EnterRequiredDetails_UploadNotification("CorporateA
ctions","Profile - Upload Notification",strFilePath)
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Verifiyng if the V
alues in the Fields are filled or NOT","The Values in the Fields ' ISIN, SEDOL a
nd Sender Name' are automatically filled after entering the Underlying Security
and Corporate Action Type Field is Null"
Else
Reporter.ReportEvent micWarning,"Verifiyng if th
e Values in the Fields are filled or NOT","The Values in the Fields ' ISIN , SED
OL and Sender Name' are NOT filled automatically after entering the Underlying S
ecurity and Corporate Action Type Field is Null"
Call captureScreenShot()
Environment.Value("TestCase_Log") = "True"
'Environment.Value("Execution_Log") = "False"
End If
End If
If DataTable.Value("RequiredFields","UploadNotification") <> ""
Then
strSelectValue = DataTable.Value("CorporateActionType","
UploadNotification")
strMandatoryField = DataTable.Value("RequiredFields","Up
loadNotification")
Call SelectCorporateActionType("CorporateActions","Profi
le - Upload Notification","CorporateActionType",strSelectValue)
Call click_Image("CorporateActions","Profile - Upload No
tification","Save")
Call ValidationErrorDetails("CorporateActions","Profile
- Upload Notification","Validation Error",strMandatoryField,"Validation Error")
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Verifying if the M
andatory Field '" & strMandatoryField & " 'is Displayed in the Validation Error
Table","The Mandatory Field'" & strMandatoryField & " 'is dispalyed in the Valid
ation Error table"
Else
Reporter.ReportEvent micFail,"Verifying if the M
andatory Field '" & strMandatoryField & " 'is Displayed in the Validation Error
Table","The Mandatory Field '" & strMandatoryField & " 'is NOT dispalyed in the
Validation Error table"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
MsgBox strSelectValue
End If
End If
If DataTable.Value("RequiredFields","UploadNotification") = "" T
hen
strSelectValue = DataTable.Value("CorporateActionType","
UploadNotification")
Call SelectCorporateActionType("CorporateActions","Profi
le - Upload Notification","CorporateActionType",strSelectValue)
Call click_Image("CorporateActions","Profile - Upload No
tification","Save")
If Browser("CorporateActions").Page("Underlying Upload N
otification").Exist(5) Then
Reporter.ReportEvent micPass,"Verify if the File
is Uploaded successfully or NOT","The File is Uploaded Successfully"
Call select_Menu("CorporateActions","Underlying
Upload Notification",DataTable.Value("MenuPath","UploadNotification"))
Else
Reporter.ReportEvent micFail,"Verify if the File
is Uploaded successfully or NOT","The File is NOT Uploaded Successfully"
Call captureScreenShot()
Call select_Menu("CorporateActions","Profile - U
pload Notification",DataTable.Value("MenuPath","UploadNotification"))
Environment.Value("Execution_Log") = "False"
Environment.Value("TestCase_Log") = "True"
End If
End If
Next
If Environment.Value("TestCase_Log") = "True" Then
Reporter.ReportEvent micPass,"Step 2 to Step 81: Verfiying if th
e Mandatory Field is displayed for various Corporate Action Type","The Mandatory
Field is displayed for various Corporate Action Type"
Else
Reporter.ReportEvent micFail,"Step 2 to Step 81: Verfiying if th
e Mandatory Field is displayed for various Corporate Action Type","The Mandatory
Field is Not displayed for various Corporate Action Type"
Environment.Value("TestCase_Log") = "True"
Environment.Value("Execution_Log") = "False"
End If
Call select_Menu("CorporateActions","Profile - Upload Notification","Hom
e;DR Home")
End Function
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++

Você também pode gostar