Not able to hit the back button when multiple Browsers are open
Basically, I am trying to go back to the previous page and have created the function below. It works only when one browser is open. If I have multiple, it doesn't work. Browser.back method does not work. Neither does Browser.Navigate method to the previous page. This function is the only one that gave me some solution, but still not working when I have ALM and the application page open together. Please assist me my friends!
Public Function fn_clickBackButtonIE()
Set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "internet explorer",1
Set WshShell = Nothing
Browser("micclass:=Browser").Page("micclass:=Page" ).WaitProperty "Enabled",True,5000