This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.test.assertExists( | |
| {type: 'xpath', path: '//select[@id="countryid"]'}, | |
| 'the element Country exists' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.test.assertExists( | |
| {type: 'xpath', path: '//input[@id="firstname"]' }, | |
| 'the first name element exists' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.test.assertExists( | |
| 'form[id="frmsignup"]', | |
| siteName + ' has a form with name "frmsignup"' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.test.assertTitle( | |
| 'Fear Ticket', | |
| siteName + ' has the correct title' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| casper.start(url, function() { | |
| this.test.assert(this.getCurrentUrl() === url, 'url is the one expected'); | |
| this.test.assertHttpStatus(200, siteName + ' is up'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| casper.test.comment('Starting Testing'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var casper = require('casper').create({ | |
| verbose: false, | |
| logLevel: 'debug' | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| var FileUtils = createObject("java","org.apache.commons.io.FileUtils"); | |
| var WordprocessingMLPackage = createObject("java","org.docx4j.openpackaging.packages.WordprocessingMLPackage"); | |
| var NumberingDefinitionsPart = createObject("java","org.docx4j.openpackaging.parts.WordprocessingML.NumberingDefinitionsPart"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfheader name="Content-Disposition" value="inline; filename=ExportMsWord.doc" charset="utf-8"> | |
| <cfcontent type="application/msword; charset=utf-8"> | |
| <h2 align="center"> | |
| <span>Download Word Document</span> | |
| </h2> | |
| <table cellspacing="0" cellpadding="0" border="1"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const _config = require('../config'); | |
| const sql = require('mssql'); | |
| var GoogleMapService = {}; | |
| GoogleMapService.init = async function() { | |
| try { | |
| GoogleMapService.googleMapsClient = require('@google/maps').createClient({ | |
| key: _config.GoogleMapKey, |