Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Very Urgent!!!!!!!!!!! How to identify right mouse click on javaTable????    (Read 1021 times)
ami_kum
User
*
Offline Offline

Posts: 3


« on: May 15, 2009, 10:40:11 AM »

Hi,
Trying to automate Java(SWT Based)Window Application.
on one screen we have findNow button,which when clicked populate javaTable with several objects.If we select one object from javaTable and do RightMouse Click
when we play the recorded Script ,QTP able to selectObject from javaTable but not able to do the Right Click


What Can be the possible solution?Huh???

Please reply ASAP
Logged
yassa
Administrator
Advanced User
*****
Offline Offline

Posts: 879



WWW
« Reply #1 on: May 16, 2009, 11:44:57 PM »

Have you tried with DeviceReplay on the relevant coordinates?
Look here for details under MouseClick method.
Logged

Yaron Assa

AdvancedQTP Site Administrator
ami_kum
User
*
Offline Offline

Posts: 3


« Reply #2 on: May 18, 2009, 02:11:34 AM »

Hi,
Choosing Cordinates with mouse Wont Solve my Problem

i am Attaching ScreenShot of the window


Code Which  creating Problem is :


Ln1: JavaWindow("Business Partner Ledger").JavaTable("Additional Criteria").SelectCell "7","Balance "
Ln2: JavaWindow("Business Partner Ledger").JavaTable("Additional Criteria").ClickCell "7","Balance ","RIGHT"
Ln3: JavaWindow("Business Partner Ledger").WinMenu("ContextMenu").Select "Business Properties..."

Problem in Ln2 is that right mouse click on selected cell does not populate menu.
So how can i populate the menu by changing Ln2 ?

Screenshot of the table is as:


Logged
Martin Wildbacher
User
*
Offline Offline

Posts: 5


« Reply #3 on: September 14, 2009, 11:55:11 PM »

Hi ami_kum,

have you found a solution?
I have the same problem!!

Best regards,
Martin
Logged
Pages: [1]   Go Up
Print
Jump to: