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

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation