cancel
Showing results for 
Search instead for 
Did you mean: 

TC 7.52, Firefox. Empty properties at Inspect window.

Highlighted
Contributor

TC 7.52, Firefox. Empty properties at Inspect window.

Hi everyone!



I've found a problem when inspecting firefox's script objects - i'm unable to see object's properties, fields and methods. I've allready asked support team about it, but maybe someone from this forum knows the answer/workaround.



1. Open Firefox (3.5.9), navigate to http://www.sencha.com/deploy/dev/examples/desktop/desktop.html

2. Write the script below and place breakpoint at the line with Log.Message

[JScript]


var mgr = Sys.Process("Firefox").Page("http://www.sencha.com/deploy/dev/examples/desktop/desktop.html").document.Script.Ext.WindowMgr;

/*breakpoint here*/Log.Message(mgr.zseed);

3. Execute the script and when it stops open Evaluation window

4. At the evaluation window try to inspect the mgr variable

At the Inspect window I see empty tabs "Properties", "Fields" and "Methods". This shouldn't be so, because if you continue script execution you'll get some value at the log's message. The question is how to get properties, methods, etc visible at the evaluation window?



Thanks in advance.
4 REPLIES 4
Highlighted

RE: TC 7.52, Firefox. Empty properties at Inspect window.


Hi Alexander,





Currently, TestComplete does not enumerate members of script objects located on web pages and therefore cannot show the list of properties and methods of these objects. I have registered your request as a suggestion in our database. Thank you.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

RE: TC 7.52, Firefox. Empty properties at Inspect window.

Thanks for the reply, David. But could you please explain why does this work in Internet Explorer 6-8?
Highlighted

RE: TC 7.52, Firefox. Empty properties at Inspect window.


Hi Alexander,





The difference is that the 'Script' object is a native object provided by Internet Explorer. In case of Firefox, this is a custom object added by TestComplete to simulate behavior similar to that of Internet Explorer. Our current implementation of this object does not provide the functionality you need.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

RE: TC 7.52, Firefox. Empty properties at Inspect window.

ok, thanks
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors