March 13, 2018
Webdriver | Launch Internet Explorer Using Testmate | VBScript
The below code launch the internet explorer ,navigates the URL and perform some search operations.
The path to IE driver server is passed in the InitializeInternetExplorerOptions method.
Vbscript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 'Initialize the options (Optional but recommended) Call wd.InitializeInternetExplorerOptions() 'Set IE options for Initial URL (Optional) Call wd.InitialBrowserUrl_InternetExplorerOptions("https://www.google.com/") 'Initialize IE driver Call wd.InitializeInternetExplorerDriver("C:\Users\jaska\Desktop\selenium") 'Send Keys in the search field Call wd.SendKeys("name::q","Hello World") 'Navigate to the other URL's wd.NavigateToUrl("https://www.facebook.com/") |