Microsoft

Introducing JavaScript Execution on InternetExplorer and CrossBrowser in Coded UI Test

Jan 18, 2013Sai Krishna Vajjala [MSFT]
Introducing JavaScript Execution on InternetExplorer and CrossBrowser in Coded UI Test
SummaryAI, from the source post

Introduced JavaScript execution capabilities within Coded UI Tests for Internet Explorer and cross-browser scenarios (Firefox 15+, Chrome 21+) via the `ExecuteScript` method on the `BrowserWindow` class. This enables users to perform complex actions, use custom controls, and potentially simplify test code by leveraging JavaScript directly. The API supports passing various argument types and returning values, including HTML controls. Limitations include no built-in timeout for script execution and specific handling for 'Int' types and frame access.

More from the Coded UI Test Deprecation and Alternatives trail