Forum Discussion
12 years ago
I have the same problem with Hollie but changing the DPI settings didn't work for me. The problem is not really finding the Object. It is actually there but seems hidden. TestComplete does recognize the object but it could not find its properties. I tried using aqObject.GetProperties or aqObject.GetMethods to actually make the properties of the Object to show up but with no luck.
Basic sample:
var js = Sys.Browser("*").Page("*").contentDocument.Script;
js.eval("tcAjaxRequest={responseData:null, status:'Pending',complete:false }");
When you debug js in IE, you can see tcAjaxRequest together with other properties of the browser page. In Chrome, you can't.
I agree that SmartBear has to do some research on this issue.
Basic sample:
var js = Sys.Browser("*").Page("*").contentDocument.Script;
js.eval("tcAjaxRequest={responseData:null, status:'Pending',complete:false }");
When you debug js in IE, you can see tcAjaxRequest together with other properties of the browser page. In Chrome, you can't.
I agree that SmartBear has to do some research on this issue.