-
Notifications
You must be signed in to change notification settings - Fork 2
Show on Report
Gavin Bunney edited this page Mar 3, 2011
·
1 revision
Shows the specified element text on the overview report.
[MADCOW:htmlElement].showOnReport = [MADCOW:name of reported]
country.showOnReport = "SelectedCountry"
Show on Report also supports a format string to use when displaying the value on the report.
When displayed, it will replace all occurances of the 'value' name with the text from the element on the page.
showOnReport = [xpath: "//*[@id='addressId']",
value: 'CreatedAddressNumber',
valueFormatString: '<a href="http://test-site/address/show/CreatedAddressNumber">View CreatedAddressNumber</a>']
- Home
- Setting Up
- Configuration
- Writing Madcow Tests
- Running Madcow Tests
- Data Parameters
- Templates
- Macros
- Disabling A Test
- Spreadsheet Scenario Testing
Madcow Operations
- Madcow Operations
- Madcow Operations - Table
- Madcow Operations - XPath Extras
- List of Madcow Operations
Extending and Customising Madcow
Reference
For Developers