TestComplete global executuion context object
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> In browser [...]
No, this is not possible for desktop.
/Alex [Community Champion]
____
[Community Champions] 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. Posts made by [Community Champions]
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.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
