Ask a Question

How to get TestComplete to work in IE mode in Edge

cuteq
Frequent Visitor

How to get TestComplete to work in IE mode in Edge

We have a website running in Edge's IE mode. After recording a script, we want to rerun it. But seems like the script doesn't work....

The website can be opened correctly, but the next step, such as entering the username and the password etc, cannot be performed.

The TC version we used is 15.51.26.7 x64.

Please see the detailed error message. 000001 is the username we entered.

cuteq_1-1685080305684.png

 

 

2 REPLIES 2
AlexKaras
Community Hero

Hi,

 

Can you provide the actual code that fails with this "Unable to find the object.Keys(...)" error?

Considering, that you are using 15.51.x version of TC that quite a few users have problems with, what I would like to check is that TC can find the <object> that it references in the error message.

I would try something like this (pseudocode) for my investigation:

var object = Sys.Browser.page.FindChild(...);

if (object.Exists)

  object.Keys(...);

else

  Log.Error(...);

 

and check the result of the execution.

It is possible that test will fail while looking for the <object>. In this case, depending on the error been posted to test log, it might be one of the problems of TC 15.51.x that are actively discussed in the Community now.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
rraghvani
Trusted Contributor

Also, what version of Edge are you using? Are your name mappings correctly defined?

cancel
Showing results for 
Search instead for 
Did you mean: