Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Avoiding exception when trying to find a non existing element

$
0
0

Hi Boyan Boev,

Exception will be thrown when we try to find the element. So your code wont work.

Element e1 = Manager.ActiveBrowser.Find.ById("duplicateview");

Will throw exception if element with id "duplicateview" is not present.

 

Thanks,

VVP

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>