Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MouseDrag on Java Panel
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hello, I am using object.MouseDrag and object.mouseclick to click/select on lines within a java panel. Once selected these lines will change colors to indicate they are selected. However, using QTP with mouseclick or mousedrag selects line but lines do not update(color change) to indicate selection. Should I update mouse listeners here? Any ideas will be appreciated. Thanks

Panel.Click 232,32,"LEFT"
Panel.MouseDrag 232,32,288,57,"LEFT"
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,

Try the below snippet and let me know your output.

Snippet:
Code:
'Set the Replay type as mouse
Setting.WebPackage("ReplayType")=2

'Perform your operations

'Resent the replay type as (Event)
Setting.WebPackage("ReplayType")=1
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Access Control panel items using QTP ksrikanth2k9 0 3,729 04-23-2012, 04:30 PM
Last Post: ksrikanth2k9
  Record Control Panel in Vista ramona_tester 0 1,743 04-08-2011, 07:40 PM
Last Post: ramona_tester
  Java Web application not recorded by QTP9.5 even when Java/web addin is installed taruninpune@googlemail.com 0 2,913 12-16-2010, 12:42 PM
Last Post: taruninpune@googlemail.com
  Handling Java applets and java objects which are under SWF window QTPXplorer 0 3,053 12-15-2010, 05:54 PM
Last Post: QTPXplorer
  QTP Unable to Recognise the Control Panel Add and Remove Objects yammy 0 3,222 04-22-2009, 04:32 AM
Last Post: yammy

Forum Jump:


Users browsing this thread: 1 Guest(s)