You are on page 1of 1

No_City_Count = Browser("Kotak Credit Cards Apply").Page("Kotak Credit Cards ly").WebList("City1").

GetROProperty ("items count") 'Msgbox No_City_Count Status_City = False For i = 1 To No_City_Count City_Name = Browser("Kotak Credit Cards .WebList("City1").GetItem(i) 'Msgbox City_Name If City_Name = "Noida" Then Status_City = True End If Next Msgbox Status_City

App

Apply").Page("Kotak Credit Cards

Apply")

'----------------------------------------------------------------------------------------------------------------------------------------------Set obj = CreateObject ("QuickTest.Application") obj.WindowState = "Minimized" Actual_Button_Label = Browser("Gmail: Email from Google").Page("Gmail: Email fro m Google").WebButton("Sign in").GetROProperty ("value") 'Msgbox Actual_Button_Label Expected_Button_Label = "Sign In" '.bmp & .png Browser("Gmail: Email from Google").Page("Gmail: Email from Google").CaptureBitm ap "C:\Documents and Settings\Administrator\Desktop\Image\Gmail_LogInPage.bmp",T rue If Actual_Button_Label = Expected_Button_Label Then Reporter.ReportEvent micPass, "Verify the label of the Sign in button on Gmail H ome Page.", "Label of the Sign in button on Gmail Home Page is Sign in.", "C:\Do cuments and Settings\Administrator\Desktop\Image\Gmail_LogInPage.bmp" Else Reporter.ReportEvent micFail, "Verify the label of the Sign in button on Gmail H ome Page.", "Label of the Sign in button on Gmail Home Page is not Sign in.", "C :\Documents and Settings\Administrator\Desktop\Image\Gmail_LogInPage.bmp" End If

You might also like