Forum Discussion

petra's avatar
petra
Contributor
9 years ago

dblClick action keywordtest vs script

Hi!

 

I have to make doubleclicks in my Tests. Since Yesterday it doesn't work.

I tried to modify the ms in Playback when I saw this hint yesterday.

(Delay between events 2, (from 5)

Key pressing delay 1. (from 0 or 5)

Dragging delay 1. (from 5)

Mouse movement delay 1. (from 8))

It worked 1 time. 

 

Crazy thing is this:

If tried to change Keyword Test, into a scripttest.

 

In Scripttest it works, In keywordtest it doesn't work.

 

 

// setting VScroll and HScroll scrollbar control to position 0

//Double-clicks at point (223, 32) of the 'DBGrid1' object. Aliases.TouchLager.fmGaeste.PageControl1.TabSheet_Anzeige.DBGrid1.DblClick(223, 32);

 

HScroll (Pos[Set] 0
VScroll (Pos[Set] 0
DBGrid1 DblClick

any ideas?

  • hi,

     

    can't you put in your KeyWord the object "run code snipet" and add your script line into it ?

  • m_essaid's avatar
    m_essaid
    Valued Contributor

    hi,

     

    can't you put in your KeyWord the object "run code snipet" and add your script line into it ?

      • petra's avatar
        petra
        Contributor

        a few days later it worked without changing anything. I think my PC is a little bit crazy. :womanlol::womanlol::womanlol: