Problems with LeanFT identifying Objects on playback
Question ID: 107763
2
0

Our LeanFT scripts were working fine in Windows 7, but now that we’ve moved to Windows 10, we’re seeing playback issues. LeanFT is not identifying objects in Internet Explorer at runtime.

The weird thing is, the Object Identification Center is spying them with no problem and displaying the exact same properties we have in our object descriptions.

Marked as spam
Posted by (Questions: 386, Answers: 64)
Asked on July 25, 2017 3:32 pm
251 views
Answers (1)
2
Private answer

This can be caused when navigating between URLs that are in different security zones. When this happens, IE replaces the tab process, which causes LeanFT to lose ''attachment'' to the tab.

There are several ways to fix this, as per HPE [KM02540656][1].

1. Make sure that all the web sites that are in the test are in the same security zone. This includes the home address and about:blank. To change a site security zone, open internet Options -> Security tab The zone for the current site is highlighted. Click sites and add sites as needed.
2. Disable Protected Mode for all security zones or enable Protected Mode for all sucurity zones.
3. Disable UAC on the machine. This will disable protected mode.
4. Use BrowserFactory.Attach to get a new browser test object that works with the new tab process.

I have found the easiest way to overcome this without having to modify any scripts is to check the Protected Mode box in Internet Options for all zones. This maintains security and doesn't require code changes.

[1]: https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM02540656

Marked as spam
Posted by (Questions: 16, Answers: 807)
Answered on July 25, 2017 3:34 pm
0
We did what you suggested and it worked great. Thanks!
( at July 25, 2017 3:35 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top