Saves scripted charts as image files in the names of the location and file name specified.
Notes:
This function only creates the file so that other methods can access the graph and then display it in a report, and or browser.
When specifying destination paths where the file is to be saved, it is recommended the path be created using the test-object property: resultsReportPath. This property identifies the the current test folder path and folder name where the other test report images and data are being saved, and it provides a convenient method for referencing the destination of where to place a file, and then later in the script where to access the file when it is time to display it in a report or browser.
Syntax: |
---|
chart.Make( FileSavingDetails ) |
Parameter: |
Description: |
---|---|
FileSavingDetails |
This parameter must contain the path, folder, file name and the image type name being created.
String variable or Text contained with quotation marks required: <Drive>:\<Full path and folder name>\<filename>.<image-format>
Supported Image Formats: PNG, JPG, GIF, BMP |
Example: |
---|
' Create & Save this new chart as a file.
Results: A drive, path, including folder-name, will be appended to your file name, and will appear similar to this next line as long you have added a backslash character '\' between the folder name and the file name: "C:\Trading Blox\Results\Test 2013-01-08_08_47_55\Scatter.png" File path information folder name reflects the 'Suite Name" and the date and time in YYYY-MM-DD_HH_MM_S format of the test executed and the time execution began.
Click on any of the these links to review chart creation code examples to see how all the chart methods use this Make function: |
Returns: |
---|
Each links in the above Example will display a chart type. |
Links: |
---|
See Also: |
Edit Time: 9/7/2020 2:46:15 PM |
Topic ID#: 412 |