Last updated 3 years ago
stateCheck is a feature to know whether the execution control landed on the intended page. This method requires three parameters.
void stateCheck(String htmlElementName, String attType,String targetValue)
/* * "I'm Feeling Lucky" button is found on Google's home page, * which tells you that you are rightly landed on Google's * home page */ stateCheck("bt.iamfeelinglucky", "value", "I'm Feeling Lucky");
Name
Type
Description
htmlElementName
String
Dom element name
attType
Type of the attribute
targetValue
The actual value of the html element