Highlighted
Contributor.
Contributor.
1908 views

Object Identification Center not launching in Eclipse from LeanFT -> Selenium

Hi,

Launching the Object Identification Center (OIC) in Eclipse (MARS) from LeanFT -> Selenium.

While launching the OIC, window opens and closes immediately.

 

0 Likes
7 Replies
Highlighted
Regular Contributor.
Regular Contributor.

Hi!

What is the LeanFT version you're using? And what is the OS on which it's running? 

0 Likes
Highlighted
Contributor.
Contributor.

Hi,

LeanFT Version is 14.0.2816.0

OS Version : Windows 7 Enterprise - Service Pack 1

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Can you please see if the following steps are solving your issue?

  1. If the IDE is running, close it
  2. Navigate to: %localappdata%\Hewlett-Packard\LeanFT\Preferences
  3. Delete the files called OICLeanFTSettings.json and OICSeleniumSettings.json
  4. Launch the IDE again and open OIC.

Let me know if it's working now. The reason for this is that in some cases these two settings files can get corrupted, so deleting the files should trigger re-creation of the files. 

0 Likes
Highlighted
Contributor.
Contributor.

Thanks Adelin. Steps provided by you worked for me.I am able to open the OIC (Selenium).

But I am unable to launch the IE browser using browser launcher, but the same works well with chrome. Could you please help me in resolving this issue?

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Most probably the IE Addon is not enabled. Can you please check this?

You can open Settings -> Manage Addons and check the Status of the "HPE Functional Testing Agent" entry. (You can also find the flow attached)

If it's Disabled, click on it, click Enable and then restart the Engine and OIC.

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Hello,

The problem you descirbe could be related to the required IE configuration by the IE webdriver. It seems unrelated to LeanFT Spy OIC.

Most common configuration that should be set in the IE's settings is the protected mode which should be the same for all security zone.

Please take a look on the Required Configuration for the IE browser in order to work with IE webdrover (has taken from the Selenium website).

Required Configuration

  • The IEDriverServer exectuable must be downloaded and placed in your PATH.
  • On IE 7 or higher on Windows Vista or Windows 7, you must set the Protected Mode settings for each zone to be the same value. The value can be on or off, as long as it is the same for every zone. To set the Protected Mode settings, choose "Internet Options..." from the Tools menu, and click on the Security tab. For each zone, there will be a check box at the bottom of the tab labeled "Enable Protected Mode".
  • Additionally, "Enhanced Protected Mode" must be disabled for IE 10 and higher. This option is found in the Advanced tab of the Internet Options dialog.
  • The browser zoom level must be set to 100% so that the native mouse events can be set to the correct coordinates.
  • For IE 11 only, you will need to set a registry entry on the target computer so that the driver can maintain a connection to the instance of Internet Explorer it creates. For 32-bit Windows installations, the key you must examine in the registry editor is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. For 64-bit Windows installations, the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. Please note that the FEATURE_BFCACHE subkey may or may not be present, and should be created if it is not present. Important: Inside this key, create a DWORD value named iexplore.exe with the value of 0.

Please try the configurations above and let me know if any further assistance is needed.

Best regards,

Vika 

Regards,
Vika Milgrom
0 Likes
Highlighted
Contributor.
Contributor.

Thanks for the response VIKA.Sorry for the delay in reply.

I dont have the admin rights to change the 'Enhanced Protected Mode'. Is there any way I can do the changes without admin rights.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.