You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the message's values is store in appdata.en_GB file -
registration.existing.user.message = There is already an account with this email address. If you are sure that it is your email address, click here to get your password and access your account.
While I'm trying to access the message value in BDD step as given below -
Then verify user with same email already registered message '${registration.existingdata.message}'
Code implementation of the above step is -
@QAFTestStep(stepName = "verifyUserAlreadyRegisteredMessage", description = "verify user with same email already registered message {0}")
public void verifyUserAlreadyRegisteredMessage(String message) {
verifyVisible("message.success.failure.text");
verifyText("message.success.failure.text", message);
}
Expected behavior
Here I should be able to get the message value i.e. There is already an account with this email address. If you are sure that it is your email address, click here to get your password and access your account.
Actual behavior
But it is retrieving the values as - ${registration.existing.user.message} which is reference key in XML file
The text was updated successfully, but these errors were encountered:
QAF Version
2.1.13
2.1.14-RC1
I have below testdata in xml file -
And the message's values is store in
appdata.en_GB
file -registration.existing.user.message = There is already an account with this email address. If you are sure that it is your email address, click here to get your password and access your account.
While I'm trying to access the message value in BDD step as given below -
Code implementation of the above step is -
Expected behavior
Here I should be able to get the message value i.e. There is already an account with this email address. If you are sure that it is your email address, click here to get your password and access your account.
Actual behavior
But it is retrieving the values as - ${registration.existing.user.message} which is reference key in XML file
The text was updated successfully, but these errors were encountered: