Reputation: 199
I am automating one of our client website, in there is one textbox, i just need to verify the whether the textbox is editable or not. For that, i am clicking on the textbox, entering the random string and again retrieving the text entered to check if same text is written or not.
I am successfully able to find, click and write in the textbox but when i retrieve the text it always return blank (or ""). Can you guys please tell me what the issue may be?
Upvotes: 1
Views: 409
Reputation: 1400
Probably you can try this :
findElement(By.id("someid")).getAttribute("value");
Upvotes: 2