Forum Discussion

jmancor's avatar
jmancor
Occasional Contributor
14 years ago

Pop up window ignored while executing test

Hey everyone!



I've got a problem!.. it seems TC8 is ignoring the Pop-Up window when executing the test.

Explanation:

I recorded a test where there should be certain interaction with a Pop Up window in Windows XP. So when the window comes up TC is supposed to interact with that window as well. After recording the test as a Script TC8 generates the following lines :



  var xre2;

  var wndVirtualMonitor;

  var ct;

  var dictationToolbar;

  xre2 = Aliases["XRE2"];

  xre2["dlgMeasurements"]["AfxWnd803"]["Click"](14, 14);

  wndVirtualMonitor = xre2["wndVirtualMonitor10"];

  ct = wndVirtualMonitor["CT"];

  ct["Drag"](91, 97, 57, 0);

  ct["Drag"](282, 97, 197, 0);

  ct["Drag"](406, 160, -270, 174);

  ct["Drag"](178, 162, 258, 241);

  ct = wndVirtualMonitor["CT1"];

  ct["Drag"](129, 61, 218, 270);

  ct["Drag"](534, 72, -404, 172);

  ct = wndVirtualMonitor["CT2"];

  ct["Drag"](460, 154, -12, 256);

  ct["Drag"](82, 198, 400, 19);

  ct["Drag"](547, 101, -456, 201);

  dictationToolbar = xre2["FrmDictation"]["pnlTopDictation"]["dictationToolbar1"];

  dictationToolbar["Click"](186, 4);

  dictationToolbar["Click"](187, 21);

  xre2["FrmDraftPS"]["btnOk"]["ClickButton"]();



Everything seems to be fine at this point but  when running the it get stuck at the CT line. THe "Play/Pause" form says ..."Waiting for Ct to load" and remains like that until it logs the "The object does not exists" error and skip that step.

As i can see TC8 has no interactivity with Windows XP Pop Up windows whatsoever unless i'm doing something wrong.



Any hint?



Best Regards,



Jmc