Bug 54789

Summary: XPath Assertion - GUI enhancements to increase readability and ease of use
Product: JMeter - Now in Github Reporter: Bruno Antunes <b.m.antunes>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P3 Keywords: PatchAvailable
Version: 2.9   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Diff file with enhancements

Description Bruno Antunes 2013-04-02 17:58:39 UTC
Created attachment 30137 [details]
Diff file with enhancements

Hello,

In my opinion, the XPath expression field in the XPath Assertion GUI could be defined as a TextArea.

I've attached a diff file with the following changes to src/components/org/apache/jmeter/assertions/gui/XPathPanel.java:
- XPathPanel class components changed from Box to BorderLayout
- "xpath" variable changed from JTextField to JLabeledTextArea


The diff file was created using TortoiseSVN 1.7.9 in Windows XP SP3


Best regards,
Bruno Antunes
Comment 1 Philippe Mouawad 2013-04-02 19:45:29 UTC
patch ends up creating a big Validate button, I don't find look better .
Comment 2 Bruno Antunes 2013-04-02 20:14:55 UTC
Yes, you're right, the button gets uglier. But with the current design it's very difficult to have a big (maybe multi line) XPath expression.

My main concern was the XPath expression and not the validate button. I just didn't have a better idea for the button. Maybe under the expression?
Comment 3 Philippe Mouawad 2013-08-02 21:54:35 UTC
Date: Fri Aug  2 21:53:41 2013
New Revision: 1509878

URL: http://svn.apache.org/r1509878
Log:
Bug 54789 - XPath Assertion - GUI enhancements to increase readability and ease of use
Bugzilla Id: 54789

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/XPathPanel.java
    jmeter/trunk/xdocs/changes.xml
Comment 4 The ASF infrastructure team 2022-09-24 20:37:53 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3090