Information:

Environment

  • DynatRecorder

 

Symptoms

When using the control window in a script, it is necessary to access the target window gomez_top.

Solution

For the IE and Firefox agents, we generally use code such as this:

var loc = new Locator();
var win = loc.findFrame('gomez_top[0]');

However, for the Chrome agent, you should use code such as this to access the gomez_top window:
var loc = new Locator( { "targetWindow": "gomez_top[0]" });
var el = loc.findFrame('gomez_top[0]');

 

 

  • No labels