How to verify truncation in webelements using java selenium

I am working on a application which support multiple language and it works fine with english but once i chage the language from english to Chinese or German .I can see there label get truncate. some time text will be overlapping. Can i get some solution to verify there is no truncation in webElement like button or label

Example : In english “Enter” is 5 character long but in German it can be 10 character then this button is not enough to hold all the 10 character and ┬áresult will be truncation . Is there any way to check there is truncation present or not in web page .

 

 

 

Regards

Rahul singh

Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.