How to validate text length for webtable fields inside particular column using Selenium Java?

I got a table with 5 columns: "Name", "Age" Gender" Occupation" and "Salary":

xpath of "Name" column header:

//button[@class='sort-header-btn' and text()='Name']

And its field xpath is:

//div[@row-id='"+DynamicName+"']//following-sibling::div[@cold-id='Name']

I need to verify that "Dynamic Name" should not be exceed 10 String characters.



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept