LeanFT Object identification issue on IE Browser
Question ID: 108444
0
0

I have write script in Visual C# using LeanFT 14.03 on N Unit 3 Project in Visual Studio 2017

I’m executing the scripts from the Test Explorer in VS against IE11.

I’ve tried with the locator ID and a CSS selector.

The interesting thing is that if I click the Highlight button, it will highlight the element. I have tried "Generate code to clipboard" and used it to no avail.

browser.Describe(new CSSDescription("#cttxtLogin")).SetValue("test");

Please get some idea on what might be the issue and how to solve it.

Marked as spam
Posted by (Questions: 26, Answers: 0)
Asked on June 13, 2018 1:52 pm
36 views
Answers (1)
0
Private answer

Please check what zone the site is in IE , There is a know issue If a step in the test navigates from a permitted zone to a non-permitted zone, the navigation step succeeds, but any subsequent step will fail.

Workaround #

**Reattach to the browser by calling BrowserFactory.Attach and then continuing with the browser that is returned.**

More details , Please see the below UFT help link :

https://admhelp.microfocus.com/leanft/en/14.03/HelpCenter/Content/TS&Notes/KnownIssues.htm

Marked as spam
Posted by (Questions: 0, Answers: 27)
Answered on June 13, 2018 2:27 pm
EyeOnTesting

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

X
Scroll to Top