{"ScriptPreparationCode":"var pageNumber = \u0027Eight\u0027;\r\nvar pageRouteName;\r\nvar lookup = {\r\n One: \u0027create-very-one\u0027,\r\n Two: \u0027create-very-two\u0027,\r\n Three: \u0027create-very-three\u0027,\r\n Four: \u0027create-very-four\u0027,\r\n Five: \u0027create-very-five\u0027,\r\n Six: \u0027create-very-six\u0027,\r\n Seven: \u0027create-very-seven\u0027,\r\n Eight: \u0027create-very-eight\u0027,\r\n Nine: \u0027create-very-nine\u0027\r\n}","TestCases":[{"Name":"Switch","Code":"\tswitch (pageNumber) {\r\n case \u0027One\u0027:\r\n pageRouteName = \u0027create-very-one\u0027;\r\n break;\r\n case \u0027Two\u0027:\r\n pageRouteName = \u0027create-very-two\u0027;\r\n break;\r\n case \u0027Three\u0027:\r\n pageRouteName = \u0027create-very-three\u0027;\r\n break;\r\n case \u0027Four\u0027:\r\n pageRouteName = \u0027create-very-four\u0027;\r\n break;\r\n case \u0027Five\u0027:\r\n pageRouteName = \u0027create-very-five\u0027;\r\n break;\r\n case \u0027Six\u0027:\r\n pageRouteName = \u0027create-very-six\u0027;\r\n break;\r\n case \u0027Seven\u0027:\r\n pageRouteName = \u0027create-very-seven\u0027;\r\n break;\r\n case \u0027Eight\u0027:\r\n pageRouteName = \u0027create-very-eight\u0027;\r\n break;\r\n case \u0027Nine\u0027:\r\n pageRouteName = \u0027create-very-nine\u0027;\r\n break;\r\n default: {\r\n throw new Error(\u0060Page of given number is not allowed. Given page number: ${pageNumber}.\u0060);\r\n }\r\n }","IsDeferred":false},{"Name":"Object lookup","Code":"pageRouteName = lookup[pageNumber];","IsDeferred":false}]}