Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trouble with objects in scrolling IE window
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
I'm having trouble making QTP 11. recognize objects consistently when IE has to scroll. This seems to be an issue when the application has a scroll bar and IE has a scroll bar.
The issue is that it doesn't recognize the object moves with both scroll bars. The inner scroll bar is ok, the IE or outer scroll bar causes issue. When I try to find object, it always finds it higher or lower that it actually is after I scroll with the outer scroll bar. This causes issues when running the script.
I am only using html id for the test object detail.
Any ideas on how to fix this? or a way to get around it?

Brian
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
I was able to get around this issue by scrolling to the top of the window every time. Not sure if HP is even aware of the issue...

Code:
Set Obj=Browser("top level page").Page("page").Object.body
        Obj.doScroll("pageUp")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble Getting UFT to Work with Simplified Chinese hhamilton 2 3,010 03-10-2016, 09:35 AM
Last Post: vinod123
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,533 06-05-2014, 08:18 PM
Last Post: sbkhbk
  qtp 11 not recording window within a window kp_usa 0 2,365 12-19-2012, 10:52 PM
Last Post: kp_usa
  Fetch all objects from sapgui window manishnangalia 6 7,885 08-28-2012, 07:16 PM
Last Post: Ankesh
  QTP Opens a popup window but won't recognize the buttons in the window Blaster0007 4 7,870 07-20-2012, 12:03 AM
Last Post: sree.85

Forum Jump:


Users browsing this thread: 1 Guest(s)