Hi Ashish,
I want to compare the value in the excel file with the locatorKey(actual text)
for verifying it I can hard code the value but the function should be generic so that it can be worked for any data.
Instructor
Ashish Thakur Replied on 09/06/2020
yes you can make function like verifyText(String objectKey, String expectedTextKey)
objectKey- Locator of element for which text has to be verified(kept in properties file)
expectedTextKey - key in properties file holding the expected text