2013-08-09 6 views

답변

1

우리는 Actions 클래스를 사용하여이 작업을 수행 할 수 있습니다. 아래 코드는 시작해야합니다.

Actions act = new Actions(driver); 
act.dragAndDrop(fromLocation, toLocation).perform(); 

fromLocation과 toLocation이 모두 webelements인지 확인하십시오. 환호

0
Actions act=new Actions(driver); 
    act.DragAndDrop(webElement_Source, webElement_Target)).Build().Perform(); 
관련 문제