Hi,
Please find the below code. It worked for me, hope same 4 u 2
'Comment: Add the txtBox city in OR and go for fire eventon click which will display the auto suggest list
Set WshShell = CreateObject("WScript.Shell")
wait (1)
'Comment:Enter the initialsfor the city like for Mumbaiwrite mum, for kanpur write Kan
Let me know in case of any help required.
Regards,
Sankalp
Please find the below code. It worked for me, hope same 4 u 2
'Comment: Add the txtBox city in OR and go for fire eventon click which will display the auto suggest list
Code:
Browser("abc").Page("xyz").WebEdit("qwe").FireEvent "onclick"
wait (1)
'Comment:Enter the initialsfor the city like for Mumbaiwrite mum, for kanpur write Kan
Code:
WshShell.SendKeys "Nag"
Code:
wait(1)
Set WshShell = Nothing
wait 4
'Comment: Pass the complete nameof city under Text
Browser("abc").Page("xyz").Link("html tag:=A","text:=Nagpur","index:=0").Click
Let me know in case of any help required.
Regards,
Sankalp