Hi All,
I have a problem with clicking a type "WebElement" object in a webpage on Google Chrome Version 47.0.2526.106 m with the HP Unified Functional Testing Agent installed.
It is the "Last" button on this navigation pane.
The object exists because it is entering my if statement that checks it, but intermittently shows an "Object not visible" error. Whenever it does run it just passes the line of code without clicking the object.
I have been stuck on this for a few days and have searched (including this forum), unsucessfully for a solution.
THINGS I HAVE TRIED (and failed with):
-Putting both UFT and the Browser page on the same monitor (my main monitor)
-Using a dynamic object:
-Using .FireEvent("OnClick")
Please help. This is a very strange issue I've been dealing with. I appreciate any suggestions or solutions if you have them. Thanks in advance.
I have a problem with clicking a type "WebElement" object in a webpage on Google Chrome Version 47.0.2526.106 m with the HP Unified Functional Testing Agent installed.
It is the "Last" button on this navigation pane.
The object exists because it is entering my if statement that checks it, but intermittently shows an "Object not visible" error. Whenever it does run it just passes the line of code without clicking the object.
Code:
If Browser("ATH Móvil - F.A.M.A").Page("ATH Móvil - F.A.M.A").WebElement("Last_2").Exist(3) Then
Browser("ATH Móvil - F.A.M.A").Page("ATH Móvil - F.A.M.A").WebElement("Last_2").Click
End If
I have been stuck on this for a few days and have searched (including this forum), unsucessfully for a solution.
THINGS I HAVE TRIED (and failed with):
-Putting both UFT and the Browser page on the same monitor (my main monitor)
-Using a dynamic object:
Code:
'Dynamic Object Creation
Dim LastDesc
Dim colNav
Set LastDesc = Description.Create
LastDesc("html id").Value = "theTable_last"
LastDesc("micClass").Value = "WebElement"
Set colNav = Browser("ATH Móvil - F.A.M.A").Page("ATH Móvil - F.A.M.A").ChildObjects(LastDesc)
colNav(0).Click
Please help. This is a very strange issue I've been dealing with. I appreciate any suggestions or solutions if you have them. Thanks in advance.