Page 1 of 1

how to check element is draggable

Posted: Fri Apr 20, 2012 10:42 am
by rkarhe
Hi Experts,

How to use 'draggable' property for Div type element. We support some Div element which user can drag. So my test case is to check whether element is 'draggable' or not.

Thanks,

Re: how to check element is draggable

Posted: Fri Apr 20, 2012 11:31 am
by Support Team
Hi,
rkarhe wrote:How to use 'draggable' property for Div type element. We support some Div element which user can drag. So my test case is to check whether element is 'draggable' or not.
You can use for example following RxPath
/dom[@domain='www.w3schools.com']/body//iframe//p[@draggable='true']
to check if a tag is draggable or not.

Regards,
Peter
Ranorex Team

Re: how to check element is draggable

Posted: Mon Apr 23, 2012 3:31 am
by janiewong
Support Team wrote:Hi,
rkarhe wrote:How to use 'draggable' property for Div type element. We support some Div element which user can drag. So my test case is to check whether element is 'draggable' or not.
You can use for example following RxPath
/dom[@domain='www.w3schools.com']/body//iframe//p[@draggable='true']
to check if a tag is draggable or not.

Regards,
Peter
Ranorex Team
__________________________________
thank you for tell us that,you are so nice. :P You made some good points there.