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: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

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.