Update to work with element with & without text 
Update to work with element with & without text 

Original script worked fine only when the elements has a value. This update makes it work even if element does not has a value.
harinivas-ganapathy/RITUtility