Hi, Prasanta.
On 22/03/2018 03:12, Prasanta Sadhukhan wrote:
Not sure of how to approach for a testcase for this html5 addition.
You can create JEditorPane inside JScrollPane, then set the type of content to "text/html" and set the text of the JScrollPane to an html which contains lots of <br> tags and one <a> tag at the end. Then you can request the position of scroll bar from JScrollPane. You can test both cases when "name=xxx" is set or when "id=xxx" is set.

--
Best regards, Sergey.

Reply via email to