Hi everyone Can anyone help me how to write script for clicking on slice in the pie chart
I have tired with this script : |click on pie chart | Approved Expense | pie slice | Local Travel[1] |
Thank you in advance
Discussion posts and replies are publicly visible
Can you please describe in more detail.
I have a pie chart with link which will show a grid so by using fitnesse I want to write a script which should click on the slice link
I don't know how fitnesse work but if you want to achieve this in Appian , Use Link Parameter(Dynamic Link) in a!pieChartConfig(). Refer to the below link
docs.appian.com/.../Pie_Chart_Config_Component.html
Yeah I know that approach but i need in fitnesse point of view
Please try this, it is clickable on the different sections of pie chart. You can perform any operation on the clicks.
a!localVariables( local!ValueSaved, a!pieChartField( label: "New Hires by Department", instructions: "The number of new employees hired by each department in 2019", series: { a!chartSeries( label: "Engineering", data: 12, links: a!dynamicLink(value: 1, saveInto: local!ValueSaved) ), a!chartSeries( label: "Professional Services", data: 9, links: a!dynamicLink(value: 2, saveInto: local!ValueSaved) ), a!chartSeries(label: "Sales", data: 8) }, colorScheme: "OCEAN", showDataLabels: true, showTooltips: true, showAsPercentage: false ) )
The person is using FitNesse which is a tool used for automation testing. And he was looking for a way to instruct the automation script to click on the slice.
Harshit Bumb (Appyzie) Yeah you are right I'm looking for the script to click on the slice