cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete global executuion context object

SOLVED
Highlighted
Occasional Contributor

TestComplete global executuion context object

In browser i can see the global execution context object by typing:

 

console.log(this) in console -> (this gives me Window object with functions etc.)

 

Is theres a way to look for this global object in TestComplete?

Currently i'm working with desctop application.

 

When i type in TestComplete:

var example = this; -> and check it with breakpoint, this gives me a COM object. I can't expand it to see prop or methods.

 

Anyone knows?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: TestComplete global executuion context object

Hi,

 

In browser [...]

No, this is not possible for desktop.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
2 REPLIES 2
Community Hero

Re: TestComplete global executuion context object

Not sure I'm really following. In what context are you using "this" and what exactly are you trying to accomplish. JavaScript in test complete is not the same as JavaScript in the browser, it's not running in a window context. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Community Hero

Re: TestComplete global executuion context object

Hi,

 

In browser [...]

No, this is not possible for desktop.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
SeptemberNews
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win