1 | public void configure(TestElement element) {↵ | | |
|
2 | super.configure(element);↵ | | |
|
3 | LineChart bc = (LineChart)element↵ | | 1 | if ( extractor instanceof XPathExtractor){↵
|
| | | 2 | XPathExtractor xpath = (XPathExtractor)extractor;↵
|
| | | 3 | xpath.setDefaultValue(defaultField.getText());↵
|
4 | ;↵ | | 4 | xpath.setRefName(refNameField.getText());↵
|
5 | xItems.setText(bc.getXAxis());↵ | | 5 | xpath.setXPathQuery(xpathQueryField.getText());↵
|
6 | yItems.setText(bc.getYAxis());↵ | | 6 | xpath.setTolerant(tolerant.isSelected());↵
|
7 | xAxisLabel.setText(bc.getXLabel());↵ | | 7 | ↵
|
8 | yAxisLabel.setText(bc.getYLabel↵ | | 8 | xpath.setNameSpace(nameSpace.isSelected());↵
|
9 | ());↵ | | 9 | xpath.setShowWarnings(showWarnings.isSelected());↵
|
10 | caption.setText(bc.getCaption());↵ | | 10 | xpath.setReportErrors(reportErrors.isSelected());↵
|
11 | urls.setText(bc.getURLs());↵ | | 11 | xpath.setQuiet(quiet.isSelected());↵
|
12 | | | 12 |
|