Extracting Single Text From A Table Cell Containing Multiple Texts Robot Framework
I have a table in which some cells have multiple text and each text has its own xpath. An example, the two text elements in the code below are located in the same table cell, but h
Solution 1:
As the error implies, the get text
keyword requires a locator that results in an element, not the text of an element. In essence, you are asking selenium to get the text of the text of an element.
The solution is to remove the text()
from the locator:
xpath=//*[@id="profile_research"]/tbody/tr[${Table_Row}]/td[10]
Post a Comment for "Extracting Single Text From A Table Cell Containing Multiple Texts Robot Framework"