With Dialog("Login")
	.WinEdit("Agent Name:").Set "payal"
	.WinEdit("Agent Name:").Type  micTab
	.WinEdit("Password:").SetSecure "4fbb1006209463917c6fa7de4bf60171634deae7"
	.WinButton("OK").Click
End With
With Window("Flight Reservation")
	.Activate
	.WinObject("Date of Flight:").Type "082412"
	.WinObject("Date of Flight:").Type  micTab
	.WinComboBox("Fly From:").Select "Denver"
	.WinComboBox("Fly From:").Type  micTab
	.WinComboBox("Fly To:").Select "Paris"
	.WinButton("FLIGHT").Click
	With .Dialog("Flights Table")
		.WinList("From").Select "16228   DEN   09:51 AM   PAR   11:31 AM   NW     $168.20"
		.WinButton("OK").Click
	End With
	.WinEdit("Name:").Set "mickey mouse"
	.WinRadioButton("First").Set
	.WinButton("Insert Order").Click
	.Activate
End With

----------------------------------------------------------------------



I have already added the ojects in the repository and still I am facing this error pasting below!!



The test run cannot continue due to an unrecoverable error.

Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

Line (1): "With Dialog("Login")".