How to get TestComplete work in IE mode of Edge
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get TestComplete work in IE mode of 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.
- Labels:
-
Web Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
/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
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, what version of Edge are you using? Are your name mappings correctly defined?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We didn't write the script code, just used the keyword tests.Record some actions, then automatically generate keyword and namepping. But the strange thing is that the actions we recorded in the ie-mode of edge does not have the screenshots, nor does it generate the specific namemapping.
The screenshots below show the contents of our keywordtest.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are using the version 112.0.1.1722.68.
In fact, name mappings are not generated. You can see the reply below for details.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you use the Object Spy tool, does it highlight each of the UI objects on screen?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No...Only the entire page is highlighted.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest you download the latest version of TC and try that.
