Good question. Current Tellurium Core always checks if the isElementPresent before acts on the element. If the element is not present, it either does nothing or returns some default value. This may not be desirable. Since we have Tellurium exception in place now, we will convert this to throw exception if the element is not present.
Thanks, Jian On Mar 5, 8:20 am, dominicm <[email protected]> wrote: > I've found that if you do getText, getValue etc. on an element, they > will return null if the element is not found. Not sure about click > etc. > > On Mar 5, 1:02 pm, Harihara Vinayakaram <[email protected]> wrote: > > > Hi > > I do not want to write isElementPresent() for each element. > > Is there a way I can make my utils return false etc in case the elements > > are not found > > > Regards > > Hari --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
