Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BrowserWindow::FromProcess Method (Process^)

 

Creates a reference to a Web browser window that is running in an existing process.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
static BrowserWindow^ FromProcess(
	Process^ processToWrap
)

Parameters

processToWrap
Type: System.Diagnostics::Process^

The process from which to create a BrowserWindow reference.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting::BrowserWindow^

A reference to a Web browser window that is running in an existing process.

Return to top
Show: