Page 1 of 1

How to check "non-existance" of a SilverLight Element

Posted: Mon Jun 29, 2009 8:27 am
by thangavel
hi,

In our web application. SilverLight componants are displaying. I need to check a specific SilverLight componant whether it is not existing/existing.

1) I need to check that the specific SL componant should not exist for some functionality.
2) I need to check that the specific SL componant should exist for some other functionality.

Re: How to check "non-existance" of a SilverLight Element

Posted: Tue Jun 30, 2009 4:13 pm
by Support Team
Hi,

try the 'Find' method to find this component. You will be returned the list af all elements which exist.If the 'Count' property of the returned list is 0 then your element does not exist.

Regards,
Mhosen
Ranorex Support Team

Re: How to check "non-existance" of a SilverLight Element

Posted: Wed Aug 12, 2009 7:24 am
by thangavel
Thanks,

I used Find method to check non-existance of SilverLight object. It's worked out.