Get_Active
Description
Gets the currently active browser instance’s name or index. Use in combination with Set_Active when working with multiple browser instances, to control which one is active.
Parameters
| Parameter | Description |
|---|---|
|
name=<value> |
|
|
index=<value> |
|
|
ret=&variable |
Optional parameter. Specify a variable to store the return value. |
Example
The following example shows a PTF test step that uses the Browser.Get_Active type/action.
| Type | Action | Recognition | Parameters | Value |
|---|---|---|---|---|
|
Browser |
Get_Active |
|
ret=&hook1 |
|