Testing jQuery Drag & Drop and Droppable with Selenium

后端 未结 1 1952
甜味超标
甜味超标 2021-01-03 05:26

I have a page that makes use of jQuery Drag & Drop, and I would like to build a relatively robust test suite for this process using Selenium.

Looking into Seleni

1条回答
  •  暖寄归人
    2021-01-03 05:32

    This works for me...

    
    
    
        mouseDownAt
        //div[@id="block-set-col-1"]/ul/li
        80,20
    
    
        mouseMoveAt
        //div[@id="block-set-col-0"]/ul
        50,10
    
    
        mouseOver
        //div[@id="block-set-col-0"]/ul
        50,10
    
    
        pause
        2000
        
    
    
        mouseUpAt
        //div[@id="block-set-col-0"]/ul
        50,10
    
    

    0 讨论(0)
提交回复
热议问题