Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getTextvalue() method returns "0" when value attribute is not present #2832

Open
Rajkumar2636 opened this issue May 30, 2022 · 0 comments
Open

Comments

@Rajkumar2636
Copy link

After serenity update, we noticed that getTextValue() methods returns "0" (zero) for the places where value attribute is not there for the web element. It is affecting all the places where we don't have value attribute. can you please help on this.

However the condition only checks for null in below commit, that's the reason for this.

82ed063
image
image
@findby(xpath = "//li[contains(text(),'zero balance.')]")

@Rajkumar2636 Rajkumar2636 changed the title getTextvalue returns "0" getTextvalue() method returns "0" when value attribute is not present May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant