how to check element is draggable

Ask general questions here.
rkarhe
Posts: 42
Joined: Thu Jul 28, 2011 5:31 am

how to check element is draggable

Post by rkarhe » Fri Apr 20, 2012 10:42 am

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,

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: how to check element is draggable

Post by Support Team » Fri Apr 20, 2012 11:31 am

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
.
Image

janiewong
Posts: 1
Joined: Mon Apr 23, 2012 3:20 am
Contact:

Re: how to check element is draggable

Post by janiewong » Mon Apr 23, 2012 3:31 am

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.
Money spent on the brain is never spent in vain.