Refresh webdrivers on reload selenium -
I am using 32bit IE Webdriver and Selenium 2.0 and IE9 (VS2010 vb.net Test Project). I have to switch between tabs (tables) and clicking on tab is dynamically clicked on the tab. In this case also you can use F12, I can get control and frame but can not get it on the WebDriver. I think the web driver is not being refreshed on the reload?
Just found that the frame source is dynamically set instead of the full page load. I need to set everyone the source of the frame. To work it does not throw an unexpected error ??
String = "SomeDocument.aspx? TxtCallingMode = Witness and intEventID = & amp; CoP DefPCD Consultation = N & IntCaseID = 378" as Dim Netpath IJavaScriptExecutor as Dim Jse = CType (driver, IJavaScriptExecutor) jse.ExecuteScript ("document. GetElementById ('frame page'). Src =" + navPath + ";")
If you want to navigate between different frames then first you need to go back to the main frame and then children do not need to edit the source Gee
This will take you to the main frame and then on the hair frame
Driver.SwitchTo (). DefaultContent () driver frame ("framman") driver. Switch () frame ("frame page")
Comments
Post a Comment