Descriptive Programming Expressions not being found

  • Questions
  • Descriptive Programming Expressions not being found
Question ID: 106851
1
0

We created a UFT GUI test with the following XPATH expressions:

set currentBrowser = Browser("Title:=Smart Web Portal")
set currentPage = currentBrowser.Page("title:=Smart Web Portal")
exist = currentPage.WebElement("xpath:=//div[@id=’loginContent’]").Exist(1)

When we run these expressions on a test system, they come back as found. On another test system, they come back as false and the test gets stuck.

When I view the page in Internet Explorer debugger, I am able to confirm that the values match what is in the search pattern shown above.

I’m wondering if there may be some issue with my Internet Explorer plug-in for UFT that is causing these issues.

Marked as spam
Posted by (Questions: 361, Answers: 39)
Asked on April 29, 2016 8:46 pm
5 views
Answers (1)
0
Private answer

I have seen this before and fixed it by checking the BHO Manager or reregistering the BHOManager. Please check and confirm that the BHOManager is enabled in IE. To do this, in IE please go to:

1. Tools>Manage Add-Ons.
2. Under Toolbars and Extensions, find the Hewlett-Packard Company section.
3. Under this section, look at the BHOManager Class and ensure it is Enabled. If it is disabled, please enable it and restart the browser.

Marked as spam
Posted by (Questions: 16, Answers: 772)
Answered on April 29, 2016 8:46 pm
The BHOManager was disabled. it is now enabled and everything is working great.
( at April 29, 2016 9:03 pm)