Forum Discussion

Bharaths177's avatar
7 years ago

Re: clarification on values points in brace DblClick(38, 48)

I recorded and did 'convert to script' in python lang and observed  numbers in braces for click  and Dblclick ,

what does the values mean??

 

In comment it is 'Double clicks at point(38, 48 )' how do we measure those values in general?? if we suppose to change something it will help.  

 

 

Below are the examples

(Marked in red and bold)

 

Call Aliases.DAS_III2.dlgOpen.DUIViewWndClassName.Explorer_Pane.CtrlNotifySink.ShellView.Items_View.dat.DblClick(38, 48)

 

Call Aliases.DAS_III2.dlgOpen.DUIViewWndClassName.Explorer_Pane.CtrlNotifySink.ShellView.Items_View.UP__001002201509100912_FRA.Name.Click(77, 16)

1 Reply

  • cunderw's avatar
    cunderw
    Community Hero

    Those are coordinates (relative the object your interacting with) for where the click should occur.

     

    A best practice would be to actually remove those unless for some specific reason you need to click at a certain point. 

     

    If you leave them in and your object size changes to be smaller and your coordinates are outside the size of the object your test will then fail. If you leave them blank it will always click the center of the object regardless of the size.