How to validate a text in 2 locations (alternate location) in truclient protocol.


I am using Truclient protocol, I need to validate a specific text which is displaying in 2 different locations depending on the data. My test should pass if that text dispalys in any of those 2 locations. How can I write java script code to validate this situation.

 

Thanks

Kumar