Get Text

This method is used to get/read the text of the particular element.


Syntax :

JAVA:     String elementText = S.GetText("locator");
CSharp:   string elementText = S.GetText("locator");