Best JavaScript code snippet using testcafe
8.0.0_case_english.test.js
Source:8.0.0_case_english.test.js
1"@fixture 8.0.0 Case English";2"@page http://dev-grp.healthwatch.se/";3"@test"["01st run, Login in to GMAIL with hwgrptst1@gmail.com and Apels!nju1ce, check mails. 1 new mail. Login in to GMAIL with hwgrptst2@gmail.com and Apels!nju1ce, check mails. 1 new mail. Login in to GMAIL with hwgrptst@gmail.com and Apels!nju1ce, check mails. 1 new mail."] = {4 '1.Click link "In English"': function() {5 act.click(":containsExcludeChildren(In English)");6 },7 '2.Click input "ANV"': function() {8 act.click("#ANV");9 },10 "3.Press key END": function() {11 act.press("end");12 },13 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {14 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");15 },16 '3.Type in input "ANV"': function() {17 act.type("#ANV", "s118");18 },19 "4.Press key TAB": function() {20 act.press("tab");21 },22 '5.Type in password input "LOS"': function() {23 act.type("#LOS", "s118");24 },25 '6.Click submit button "Sign in"': function() {26 act.click(":containsExcludeChildren(Sign in)");27 },28 '7.Click link "118"': function() {29 var actionTarget = function() {30 return $(":containsExcludeChildren(118)").eq(1);31 };32 act.click(actionTarget);33 },34 '8.Click link "Messages"': function() {35 act.click("[title='administer messages, invitations and reminders']");36 },37 '9.Click input "_ctl0:ContentPlaceH..."': function() {38 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)");39 },40 "10.Press key END": function() {41 act.press("end");42 },43 "11.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {44 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");45 },46 '12.Type in input "_ctl0:ContentPlaceH..."': function() {47 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)", "Invitation 2015-01-29 15:02 suj");48 },49 "13.Press key BACKSPACE": function() {50 act.press("backspace");51 },52 '14.Type in input "_ctl0:ContentPlaceH..."': function() {53 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)", "bject");54 },55 '15.Click text area "_ctl0:ContentPlaceH..."': function() {56 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)");57 },58 "16.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {59 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");60 },61 '17.Type in text area "_ctl0:ContentPlaceH..."': function() {62 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)", "Invitation 2015-01-29 15:02 message!!\r\rtest with Jay");63 },64 '18.Click submit button "Save"': function() {65 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");66 },67 '19.Click link "Organization"': function() {68 act.click("[title='administer units and users']");69 },70 '20.Click link "Messages"': function() {71 act.click("[title='administer messages, invitations and reminders']");72 },73 '21.Click input "_ctl0:ContentPlaceH..."': function() {74 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)");75 },76 '22.Click input "_ctl0:ContentPlaceH..."': function() {77 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)");78 },79 "23.Press key END": function() {80 act.press("end");81 },82 "24.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {83 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");84 },85 '25.Type in input "_ctl0:ContentPlaceH..."': function() {86 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)", "Reminder 2015-01-29 15:06 subject");87 },88 '26.Click text area "_ctl0:ContentPlaceH..."': function() {89 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)");90 },91 "27.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {92 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");93 },94 '28.Type in text area "_ctl0:ContentPlaceH..."': function() {95 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)", "Reminder 2015-01-29 15:06 message!!\r\rtest with Jay");96 },97 '29.Click input "_ctl0:ContentPlaceH..."': function() {98 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)");99 },100 "30.Press key END": function() {101 act.press("end");102 },103 "31.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {104 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");105 },106 '32.Type in input "_ctl0:ContentPlaceH..."': function() {107 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)", "Message to All 2015-01-29 subject");108 },109 "33.Press key BACKSPACE": function() {110 act.press("backspace");111 },112 "34.Press key BACKSPACE": function() {113 act.press("backspace");114 },115 "35.Press key BACKSPACE": function() {116 act.press("backspace");117 },118 "36.Press key BACKSPACE": function() {119 act.press("backspace");120 },121 "37.Press key BACKSPACE": function() {122 act.press("backspace");123 },124 "38.Press key BACKSPACE": function() {125 act.press("backspace");126 },127 "39.Press key BACKSPACE": function() {128 act.press("backspace");129 },130 '40.Type in input "_ctl0:ContentPlaceH..."': function() {131 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)", "15:16 subject");132 },133 '41.Click text area "_ctl0:ContentPlaceH..."': function() {134 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)");135 },136 "42.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {137 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");138 },139 '43.Type in text area "_ctl0:ContentPlaceH..."': function() {140 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)", "All 2015-01-29 15:16 message!!\r\rtest with jay");141 },142 '44.Click input "_ctl0:ContentPlaceH..."': function() {143 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginSubject$/)");144 },145 "45.Press key END": function() {146 act.press("end");147 },148 "46.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {149 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");150 },151 '47.Type in input "_ctl0:ContentPlaceH..."': function() {152 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginSubject$/)", "Login reminder 2015-01-29 15:09 subject");153 },154 '48.Click text area "_ctl0:ContentPlaceH..."': function() {155 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginTxt$/)");156 },157 "49.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {158 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");159 },160 '50.Type in text area "_ctl0:ContentPlaceH..."': function() {161 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginTxt$/)", "Login 2015-01-29 15:09 messae");162 },163 "51.Press key BACKSPACE": function() {164 act.press("backspace");165 },166 '52.Type in text area "_ctl0:ContentPlaceH..."': function() {167 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginTxt$/)", "ge!\r\rtest with Jay");168 },169 '53.Click input "_ctl0:ContentPlaceH..."': function() {170 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)");171 },172 "54.Press key END": function() {173 act.press("end");174 },175 "55.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {176 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");177 },178 '56.Type in input "_ctl0:ContentPlaceH..."': function() {179 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)", "Reminder 2015-01-29 15:09 subject");180 },181 '57.Click text area "_ctl0:ContentPlaceH..."': function() {182 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)");183 },184 "58.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {185 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");186 },187 '59.Type in text area "_ctl0:ContentPlaceH..."': function() {188 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)", "Reminder extended sure");189 },190 "60.Press key BACKSPACE": function() {191 act.press("backspace");192 },193 '61.Type in text area "_ctl0:ContentPlaceH..."': function() {194 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)", "bey");195 },196 "62.Press key BACKSPACE": function() {197 act.press("backspace");198 },199 "63.Press key BACKSPACE": function() {200 act.press("backspace");201 },202 "64.Press key BACKSPACE": function() {203 act.press("backspace");204 },205 '65.Type in text area "_ctl0:ContentPlaceH..."': function() {206 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)", "vey 2015-01-29 15:09 message!\r\rtest with Jay");207 },208 '66.Click submit button "Save"': function() {209 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");210 },211 '67.Click link "Organization"': function() {212 act.click("[title='administer units and users']");213 },214 '68.Click link "Messages"': function() {215 act.click("[title='administer messages, invitations and reminders']");216 },217 '69.Click select "_ctl0:ContentPlaceH..."': function() {218 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");219 },220 '70.Click option "Registration"': function() {221 var actionTarget = function() {222 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registration)").eq(0);223 };224 act.click(actionTarget);225 },226 '71.Click submit button "Send"': function() {227 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");228 }229};230"@test"["02nd run"] = {231 '1.Click link "In English"': function() {232 act.click(":containsExcludeChildren(In English)");233 },234 '2.Click input "ANV"': function() {235 act.click("#ANV");236 },237 "3.Press key END": function() {238 act.press("end");239 },240 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {241 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");242 },243 '5.Type in input "ANV"': function() {244 act.type("#ANV", "s118");245 },246 "6.Press key TAB": function() {247 act.press("tab");248 },249 '7.Type in password input "LOS"': function() {250 act.type("#LOS", "s118");251 },252 '8.Click submit button "Sign in"': function() {253 act.click(":containsExcludeChildren(Sign in)");254 },255 '9.Click link "118"': function() {256 var actionTarget = function() {257 return $(":containsExcludeChildren(118)").eq(1);258 };259 act.click(actionTarget);260 },261 '10.Click link "Messages"': function() {262 act.click("[title='administer messages, invitations and reminders']");263 },264 '11.Click select "_ctl0:ContentPlaceH..."': function() {265 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");266 },267 '12.Click option "Registration..."': function() {268 var actionTarget = function() {269 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registration reminder)");270 };271 act.click(actionTarget);272 },273 '13.Click submit button "Send"': function() {274 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");275 },276 '14.Click select "_ctl0:ContentPlaceH..."': function() {277 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");278 },279 '15.Click option "Login reminder"': function() {280 var actionTarget = function() {281 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Login reminder)");282 };283 act.click(actionTarget);284 },285 '16.Click submit button "Send"': function() {286 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");287 },288 '17.Click select "_ctl0:ContentPlaceH..."': function() {289 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");290 },291 '18.Click option "All activated users"': function() {292 act.click(":containsExcludeChildren(All activated users)");293 },294 '19.Click submit button "Send"': function() {295 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");296 },297 '20.Click select "_ctl0:ContentPlaceH..."': function() {298 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");299 },300 '21.Click option "Reminder:Test1Test2"': function() {301 act.click(":containsExcludeChildren(ReminderTest1Test2)");302 },303 '22.Click submit button "Send"': function() {304 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");305 },306 '23.Click link "Log out"': function() {307 act.click(":containsExcludeChildren(Log out)");308 }309};310/*"@test"["04th run"] = {311 '1.Click link "In English"': function() {312 act.click(":containsExcludeChildren(In English)");313 },314 '2.Click input "ANV"': function() {315 act.click("#ANV");316 },317 "3.Press key END": function() {318 act.press("end");319 },320 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {321 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");322 },323 '5.Type in input "ANV"': function() {324 act.type("#ANV", "s118");325 },326 "6.Press key TAB": function() {327 act.press("tab");328 },329 '7.Type in password input "LOS"': function() {330 act.type("#LOS", "s118");331 },332 '8.Click submit button "Sign in"': function() {333 act.click(":containsExcludeChildren(Sign in)");334 },335 '9.Click link "118"': function() {336 var actionTarget = function() {337 return $(":containsExcludeChildren(118)").eq(1);338 };339 act.click(actionTarget);340 },341 '10.Click link "Messages"': function() {342 act.click("[title='administer messages, invitations and reminders']");343 },344 '11.Click select "_ctl0:ContentPlaceH..."': function() {345 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");346 },347 '12.Click option "Registration..."': function() {348 var actionTarget = function() {349 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registration reminder)");350 };351 act.click(actionTarget);352 },353 '13.Click submit button "Send"': function() {354 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");355 },356 '14.Click link "Log out"': function() {357 act.click(":containsExcludeChildren(Log out)");358 }359};360"@test"["05th run"] = {361 '1.Click link "In English"': function() {362 act.click(":containsExcludeChildren(In English)");363 },364 '2.Click input "ANV"': function() {365 act.click("#ANV");366 },367 "3.Press key END": function() {368 act.press("end");369 },370 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {371 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");372 },373 '5.Type in input "ANV"': function() {374 act.type("#ANV", "s118");375 },376 "6.Press key TAB": function() {377 act.press("tab");378 },379 '7.Type in password input "LOS"': function() {380 act.type("#LOS", "s118");381 },382 '8.Click submit button "Sign in"': function() {383 act.click(":containsExcludeChildren(Sign in)");384 },385 '9.Click link "118"': function() {386 var actionTarget = function() {387 return $(":containsExcludeChildren(118)").eq(1);388 };389 act.click(actionTarget);390 },391 "10.Click image": function() {392 var actionTarget = function() {393 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");394 };395 act.click(actionTarget);396 },397 "11.Click image": function() {398 var actionTarget = function() {399 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");400 };401 act.click(actionTarget);402 },403 '12.Click input "_ctl0:ContentPlaceH..."': function() {404 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");405 },406 "13.Press key END": function() {407 act.press("end");408 },409 '14.Type in input "_ctl0:ContentPlaceH..."': function() {410 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");411 },412 '15.Click submit button "Save"': function() {413 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");414 },415 "16.Click image": function() {416 var actionTarget = function() {417 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");418 };419 act.click(actionTarget);420 },421 '17.Click input "_ctl0:ContentPlaceH..."': function() {422 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");423 },424 "18.Press key END": function() {425 act.press("end");426 },427 "19.Press key BACKSPACE": function() {428 act.press("backspace");429 },430 '20.Click submit button "Save"': function() {431 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");432 },433 '21.Click link "Messages"': function() {434 act.click("[title='administer messages, invitations and reminders']");435 },436 '22.Click select "_ctl0:ContentPlaceH..."': function() {437 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");438 },439 '23.Click option "Registration"': function() {440 var actionTarget = function() {441 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registration)").eq(0);442 };443 act.click(actionTarget);444 },445 '24.Click submit button "Send"': function() {446 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");447 },448 '25.Click link "Log out"': function() {449 act.click(":containsExcludeChildren(Log out)");450 }451};452"@test"["06th run"] = {453 '1.Click link "In English"': function() {454 act.click(":containsExcludeChildren(In English)");455 },456 '2.Click input "ANV"': function() {457 act.click("#ANV");458 },459 "3.Press key END": function() {460 act.press("end");461 },462 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {463 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");464 },465 '5.Type in input "ANV"': function() {466 act.type("#ANV", "s118");467 },468 "6.Press key TAB": function() {469 act.press("tab");470 },471 '7.Type in password input "LOS"': function() {472 act.type("#LOS", "2");473 },474 "8.Press key BACKSPACE": function() {475 act.press("backspace");476 },477 '9.Type in password input "LOS"': function() {478 act.type("#LOS", "s118");479 },480 '10.Click submit button "Sign in"': function() {481 act.click(":containsExcludeChildren(Sign in)");482 },483 '11.Click link "118"': function() {484 var actionTarget = function() {485 return $(":containsExcludeChildren(118)").eq(1);486 };487 act.click(actionTarget);488 },489 '12.Click link "Messages"': function() {490 act.click("[title='administer messages, invitations and reminders']");491 },492 '13.Click select "_ctl0:ContentPlaceH..."': function() {493 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");494 },495 '14.Click option "Login reminder"': function() {496 var actionTarget = function() {497 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Login reminder)");498 };499 act.click(actionTarget);500 },501 '15.Click submit button "Send"': function() {502 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");503 },504 '16.Click link "Log out"': function() {505 act.click(":containsExcludeChildren(Log out)");506 }507};508"@test"["07th run"] = {509 '1.Click link "In English"': function() {510 act.click(":containsExcludeChildren(In English)");511 },512 '2.Click input "ANV"': function() {513 act.click("#ANV");514 },515 "3.Press key END": function() {516 act.press("end");517 },518 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {519 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");520 },521 '5.Type in input "ANV"': function() {522 act.type("#ANV", "s118");523 },524 "6.Press key TAB": function() {525 act.press("tab");526 },527 '7.Type in password input "LOS"': function() {528 act.type("#LOS", "s118");529 },530 '8.Click submit button "Sign in"': function() {531 act.click(":containsExcludeChildren(Sign in)");532 },533 '9.Click link "118"': function() {534 var actionTarget = function() {535 return $(":containsExcludeChildren(118)").eq(1);536 };537 act.click(actionTarget);538 },539 '10.Click link "Messages"': function() {540 act.click("[title='administer messages, invitations and reminders']");541 },542 '11.Click select "_ctl0:ContentPlaceH..."': function() {543 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");544 },545 '12.Click option "All activated users"': function() {546 act.click(":containsExcludeChildren(All activated users)");547 },548 '13.Click submit button "Send"': function() {549 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");550 },551 '14.Click select "_ctl0:ContentPlaceH..."': function() {552 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");553 },554 '15.Click option "Reminder:Test1Test2"': function() {555 act.click(":containsExcludeChildren(ReminderTest1Test2)");556 },557 '16.Click submit button "Send"': function() {558 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");559 }, 560 '17.Click link "Log out"': function() {561 act.click(":containsExcludeChildren(Log out)");562 }563};564"@test"["09th run"] = {565 '1.Click link "In English"': function() {566 act.click(":containsExcludeChildren(In English)");567 },568 '2.Click input "ANV"': function() {569 act.click("#ANV");570 },571 "3.Press key END": function() {572 act.press("end");573 },574 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {575 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");576 },577 '5.Type in input "ANV"': function() {578 act.type("#ANV", "s118");579 },580 "6.Press key TAB": function() {581 act.press("tab");582 },583 '7.Type in password input "LOS"': function() {584 act.type("#LOS", "s118");585 },586 '8.Click submit button "Sign in"': function() {587 act.click(":containsExcludeChildren(Sign in)");588 },589 '9.Click link "118"': function() {590 var actionTarget = function() {591 return $(":containsExcludeChildren(118)").eq(1);592 };593 act.click(actionTarget);594 },595 '10.Click link "Messages"': function() {596 act.click("[title='administer messages, invitations and reminders']");597 },598 '11.Click input "_ctl0:ContentPlaceH..."': function() {599 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");600 },601 "12.Press key END": function() {602 act.press("end");603 },604 "13.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {605 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");606 },607 '14.Type in input "_ctl0:ContentPlaceH..."': function() {608 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-01-30 15:32 subject");609 },610 '17.Click text area "_ctl0:ContentPlaceH..."': function() {611 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");612 },613 "18.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {614 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");615 },616 '19.Type in text area "_ctl0:ContentPlaceH..."': function() {617 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", 'Thank you Test1Test2 2015-01-30 15:32 message""\r\rtest with Jay');618 },619 '20.Click submit button "Save"': function() {620 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");621 },622 '21.Click link "Organization"': function() {623 act.click("[title='administer units and users']");624 },625 '22.Click link "Messages"': function() {626 act.click("[title='administer messages, invitations and reminders']");627 },628 '23.Click select "_ctl0:ContentPlaceH..."': function() {629 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");630 },631 '24.Click option "Thank you:..."': function() {632 var actionTarget = function() {633 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Thank you Test1Test2)");634 };635 act.click(actionTarget);636 },637 '25.Click submit button "Send"': function() {638 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");639 },640 '26.Click link "Log out"': function() {641 act.click(":containsExcludeChildren(Log out)");642 }643};644"@test"["11th run"] = {645 '1.Click link "In English"': function() {646 act.click(":containsExcludeChildren(In English)");647 },648 '2.Click input "ANV"': function() {649 act.click("#ANV");650 },651 "3.Press key END": function() {652 act.press("end");653 },654 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {655 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");656 },657 '5.Type in input "ANV"': function() {658 act.type("#ANV", "s118");659 },660 "6.Press key TAB": function() {661 act.press("tab");662 },663 '7.Type in password input "LOS"': function() {664 act.type("#LOS", "s118");665 },666 '8.Click submit button "Sign in"': function() {667 act.click(":containsExcludeChildren(Sign in)");668 },669 '9.Click link "118"': function() {670 var actionTarget = function() {671 return $(":containsExcludeChildren(118)").eq(1);672 };673 act.click(actionTarget);674 },675 '10.Click link "Messages"': function() {676 act.click("[title='administer messages, invitations and reminders']");677 },678 "11.Wait 3000 milliseconds": function() {679 act.wait(3e3);680 },681 '12.Click link "Organization"': function() {682 act.click("[title='administer units and users']");683 },684 "13.Click image": function() {685 var actionTarget = function() {686 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");687 };688 act.click(actionTarget);689 },690 "14.Click image": function() {691 var actionTarget = function() {692 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");693 };694 act.click(actionTarget);695 },696 '15.Click input "_ctl0:ContentPlaceH..."': function() {697 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");698 },699 "16.Press key END": function() {700 act.press("end");701 },702 '17.Type in input "_ctl0:ContentPlaceH..."': function() {703 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");704 },705 '18.Click label "The previously..."': function() {706 act.click(":containsExcludeChildren(The previously registered email address has never been correct and the created account should be detached from organization)");707 },708 '19.Click submit button "Save"': function() {709 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");710 },711 "20.Click image": function() {712 var actionTarget = function() {713 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");714 };715 act.click(actionTarget);716 },717 '21.Click input "_ctl0:ContentPlaceH..."': function() {718 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");719 },720 "22.Press key END": function() {721 act.press("end");722 },723 "23.Press key BACKSPACE": function() {724 act.press("backspace");725 },726 '24.Click label "Update the user..."': function() {727 act.click(":containsExcludeChildren(Update the user profile as if these settings were set from start)");728 },729 '25.Click submit button "Save"': function() {730 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");731 },732 "26.Click image": function() {733 var actionTarget = function() {734 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(1) > a:nth(1) > img:nth(0)");735 };736 act.click(actionTarget);737 },738 "27.Click image": function() {739 var actionTarget = function() {740 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(2) > a:nth(0) > img:nth(0)");741 };742 act.click(actionTarget);743 },744 '28.Click input "_ctl0:ContentPlaceH..."': function() {745 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");746 },747 "29.Press key END": function() {748 act.press("end");749 },750 '30.Type in input "_ctl0:ContentPlaceH..."': function() {751 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");752 },753 '31.Click label "The previously..."': function() {754 act.click(":containsExcludeChildren(The previously registered email address has never been correct and the created account should be detached from organization)");755 },756 '32.Click submit button "Save"': function() {757 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");758 },759 "33.Click image": function() {760 var actionTarget = function() {761 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(2) > a:nth(0) > img:nth(0)");762 };763 act.click(actionTarget);764 },765 '34.Click input "_ctl0:ContentPlaceH..."': function() {766 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");767 },768 "35.Press key END": function() {769 act.press("end");770 },771 "36.Press key BACKSPACE": function() {772 act.press("backspace");773 },774 '37.Click label "Update the user..."': function() {775 act.click(":containsExcludeChildren(Update the user profile as if these settings were set from start)");776 },777 '38.Click submit button "Save"': function() {778 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");779 },780 "39.Click image": function() {781 var actionTarget = function() {782 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(1) > a:nth(1) > img:nth(0)");783 };784 act.click(actionTarget);785 },786 "40.Click image": function() {787 var actionTarget = function() {788 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(2) > a:nth(0) > img:nth(0)");789 };790 act.click(actionTarget);791 },792 '41.Click input "_ctl0:ContentPlaceH..."': function() {793 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");794 },795 "42.Press key END": function() {796 act.press("end");797 },798 '43.Type in input "_ctl0:ContentPlaceH..."': function() {799 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");800 },801 '44.Click label "The previously..."': function() {802 act.click(":containsExcludeChildren(The previously registered email address has never been correct and the created account should be detached from organization)");803 },804 '45.Click submit button "Save"': function() {805 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");806 },807 "46.Click image": function() {808 var actionTarget = function() {809 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(2) > a:nth(0) > img:nth(0)");810 };811 act.click(actionTarget);812 },813 '47.Click input "_ctl0:ContentPlaceH..."': function() {814 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");815 },816 "48.Press key END": function() {817 act.press("end");818 },819 "49.Press key BACKSPACE": function() {820 act.press("backspace");821 },822 '50.Click label "Update the user..."': function() {823 act.click(":containsExcludeChildren(Update the user profile as if these settings were set from start)");824 },825 '51.Click submit button "Save"': function() {826 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");827 },828 '52.Click link "Log out"': function() {829 act.click(":containsExcludeChildren(Log out)");830 }...
8.0.0_case_swedish.test.js
Source:8.0.0_case_swedish.test.js
1"@fixture 8.0.0 Case Swedish";2"@page http://dev-grp.healthwatch.se";3"@test"["1st run. Login in to GMAIL with \"hwgrptst2@gmail.com\" and \"Apels!nju1ce\", check mails. 1 new mail. Login in to GMAIL with \"hwgrptst@gmail.com\" and \"Apels!nju1ce\", check mails. 1 new mail."] = {4 '2.Click input "ANV"': function() {5 act.click("#ANV");6 },7 "3.Press key END": function() {8 act.press("end");9 },10 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {11 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");12 },13 '3.Type in input "ANV"': function() {14 act.type("#ANV", "s118");15 },16 "4.Press key TAB": function() {17 act.press("tab");18 },19 '5.Type in password input "LOS"': function() {20 act.type("#LOS", "s118");21 },22 '6.Click submit button "Logga in"': function() {23 act.click(":containsExcludeChildren(Logga in)");24 },25 '7.Click link "118"': function() {26 var actionTarget = function() {27 return $(":containsExcludeChildren(118)").eq(1);28 };29 act.click(actionTarget);30 },31 '8.Click link "Meddelanden"': function() {32 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");33 },34 '9.Click input "_ctl0:ContentPlaceH..."': function() {35 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)");36 },37 "10.Press key END": function() {38 act.press("end");39 },40 "11.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {41 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");42 },43 '12.Type in input "_ctl0:ContentPlaceH..."': function() {44 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)", "Invitation 2015-01-29 15:02 subject");45 },46 '15.Click text area "_ctl0:ContentPlaceH..."': function() {47 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)");48 },49 "16.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {50 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");51 },52 '17.Type in text area "_ctl0:ContentPlaceH..."': function() {53 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)", "Invitation 2015-02-10 10:47 message!!\r\rtest with Jay");54 },55 '18.Click submit button "Spara"': function() {56 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");57 },58 '19.Click link "Organisation"': function() {59 act.click("[title='Administrera enheter och användare']");60 },61 '20.Click link "Meddelanden"': function() {62 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");63 },64 '21.Click input "_ctl0:ContentPlaceH..."': function() {65 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)");66 },67 '22.Click input "_ctl0:ContentPlaceH..."': function() {68 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)");69 },70 "23.Press key END": function() {71 act.press("end");72 },73 "24.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {74 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");75 },76 '25.Type in input "_ctl0:ContentPlaceH..."': function() {77 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)", "Reminder 2015-02-10 10:47 subject");78 },79 '26.Click text area "_ctl0:ContentPlaceH..."': function() {80 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)");81 },82 "27.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {83 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");84 },85 '28.Type in text area "_ctl0:ContentPlaceH..."': function() {86 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)", "Reminder 2015-02-10 10:47 message!!\r\rtest with Jay");87 },88 '29.Click input "_ctl0:ContentPlaceH..."': function() {89 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)");90 },91 "30.Press key END": function() {92 act.press("end");93 },94 "31.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {95 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");96 },97 '32.Type in input "_ctl0:ContentPlaceH..."': function() {98 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)", "Message to All 2015-02-10 10:47 subject");99 },100 '41.Click text area "_ctl0:ContentPlaceH..."': function() {101 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)");102 },103 "42.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {104 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");105 },106 '43.Type in text area "_ctl0:ContentPlaceH..."': function() {107 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)", "All 2015-02-10 10:47 message!!\r\rtest with jay");108 },109 '44.Click input "_ctl0:ContentPlaceH..."': function() {110 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginSubject$/)");111 },112 "45.Press key END": function() {113 act.press("end");114 },115 "46.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {116 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");117 },118 '47.Type in input "_ctl0:ContentPlaceH..."': function() {119 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginSubject$/)", "Login reminder 2015-02-10 10:47 subject");120 },121 '48.Click text area "_ctl0:ContentPlaceH..."': function() {122 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginTxt$/)");123 },124 "49.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {125 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");126 },127 '50.Type in text area "_ctl0:ContentPlaceH..."': function() {128 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_LoginTxt$/)", "Login 2015-02-10 10:47 message!!\r\rtest with Jay");129 },130 '53.Click input "_ctl0:ContentPlaceH..."': function() {131 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)");132 },133 "54.Press key END": function() {134 act.press("end");135 },136 "55.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {137 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");138 },139 '56.Type in input "_ctl0:ContentPlaceH..."': function() {140 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)", "Reminder 2015-02-10 10:47 subject");141 },142 '57.Click text area "_ctl0:ContentPlaceH..."': function() {143 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)");144 },145 "58.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {146 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");147 },148 '59.Type in text area "_ctl0:ContentPlaceH..."': function() {149 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)", "Reminder extended survey 2015-01-29 15:09 message!\r\rtest with Jay");150 },151 '66.Click submit button "Spara"': function() {152 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");153 },154 '67.Click link "Organisation"': function() {155 act.click("[title='Administrera enheter och användare']");156 },157 '68.Click link "Meddelanden"': function() {158 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");159 },160 '69.Click select "_ctl0:ContentPlaceH..."': function() {161 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");162 },163 '70.Click option "Registrering"': function() {164 var actionTarget = function() {165 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);166 };167 act.click(actionTarget);168 },169 '71.Click submit button "Skicka"': function() {170 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");171 }172};173"@test"["2nd run"] = {174 '2.Click input "ANV"': function() {175 act.click("#ANV");176 },177 "3.Press key END": function() {178 act.press("end");179 },180 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {181 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");182 },183 '5.Type in input "ANV"': function() {184 act.type("#ANV", "s118");185 },186 "6.Press key TAB": function() {187 act.press("tab");188 },189 '7.Type in password input "LOS"': function() {190 act.type("#LOS", "s118");191 },192 '8.Click submit button "Logga in"': function() {193 act.click(":containsExcludeChildren(Logga in)");194 },195 '9.Click link "118"': function() {196 var actionTarget = function() {197 return $(":containsExcludeChildren(118)").eq(1);198 };199 act.click(actionTarget);200 },201 '10.Click link "Meddelanden"': function() {202 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");203 },204 '11.Click select "_ctl0:ContentPlaceH..."': function() {205 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");206 },207 '12.Click option "Registreringspåminn..."': function() {208 var actionTarget = function() {209 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registreringspåminnelse)");210 };211 act.click(actionTarget);212 },213 '13.Click submit button "Skicka"': function() {214 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");215 },216 '14.Click select "_ctl0:ContentPlaceH..."': function() {217 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");218 },219 '15.Click option "Inloggningspåminnel..."': function() {220 var actionTarget = function() {221 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Inloggningspåminnelse)");222 };223 act.click(actionTarget);224 },225 '16.Click submit button "Skicka"': function() {226 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");227 },228 '17.Click select "_ctl0:ContentPlaceH..."': function() {229 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");230 },231 '18.Click option "Alla aktiverade..."': function() {232 act.click(":containsExcludeChildren(Alla aktiverade användare)");233 },234 '19.Click submit button "Skicka"': function() {235 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");236 },237 '20.Click select "_ctl0:ContentPlaceH..."': function() {238 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");239 },240 '21.Click option "Påminnelse:Test1Tes..."': function() {241 act.click(":containsExcludeChildren(PåminnelseTest1Test2)");242 },243 '22.Click submit button "Skicka"': function() {244 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");245 },246 '23.Click link "Logga ut"': function() {247 act.click(":containsExcludeChildren(Logga ut)");248 }249};250/*"@test"["4th run"] = {251 '2.Click input "ANV"': function() {252 act.click("#ANV");253 },254 "3.Press key END": function() {255 act.press("end");256 },257 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {258 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");259 },260 '5.Type in input "ANV"': function() {261 act.type("#ANV", "s118");262 },263 "6.Press key TAB": function() {264 act.press("tab");265 },266 '7.Type in password input "LOS"': function() {267 act.type("#LOS", "s118");268 },269 '8.Click submit button "Logga in"': function() {270 act.click(":containsExcludeChildren(Logga in)");271 },272 '9.Click link "118"': function() {273 var actionTarget = function() {274 return $(":containsExcludeChildren(118)").eq(1);275 };276 act.click(actionTarget);277 },278 '10.Click link "Meddelanden"': function() {279 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");280 },281 '11.Click select "_ctl0:ContentPlaceH..."': function() {282 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");283 },284 '12.Click option "Registreringspåminn..."': function() {285 var actionTarget = function() {286 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registreringspåminnelse)");287 };288 act.click(actionTarget);289 },290 '13.Click submit button "Skicka"': function() {291 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");292 },293 '14.Click link "Logga ut"': function() {294 act.click(":containsExcludeChildren(Logga ut)");295 }296};297"@test"["5th run"] = {298 '2.Click input "ANV"': function() {299 act.click("#ANV");300 },301 "3.Press key END": function() {302 act.press("end");303 },304 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {305 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");306 },307 '5.Type in input "ANV"': function() {308 act.type("#ANV", "s118");309 },310 "6.Press key TAB": function() {311 act.press("tab");312 },313 '7.Type in password input "LOS"': function() {314 act.type("#LOS", "s118");315 },316 '8.Click submit button "Logga in"': function() {317 act.click(":containsExcludeChildren(Logga in)");318 },319 '9.Click link "118"': function() {320 var actionTarget = function() {321 return $(":containsExcludeChildren(118)").eq(1);322 };323 act.click(actionTarget);324 },325 "10.Click image": function() {326 var actionTarget = function() {327 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");328 };329 act.click(actionTarget);330 },331 "11.Click image": function() {332 var actionTarget = function() {333 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");334 };335 act.click(actionTarget);336 },337 '12.Click input "_ctl0:ContentPlaceH..."': function() {338 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");339 },340 "13.Press key END": function() {341 act.press("end");342 },343 '14.Type in input "_ctl0:ContentPlaceH..."': function() {344 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");345 },346 '15.Click submit button "Spara"': function() {347 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");348 },349 "16.Click image": function() {350 var actionTarget = function() {351 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");352 };353 act.click(actionTarget);354 },355 '17.Click input "_ctl0:ContentPlaceH..."': function() {356 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");357 },358 "18.Press key END": function() {359 act.press("end");360 },361 "19.Press key BACKSPACE": function() {362 act.press("backspace");363 },364 '20.Click submit button "Spara"': function() {365 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");366 },367 '21.Click link "Meddelanden"': function() {368 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");369 },370 '22.Click select "_ctl0:ContentPlaceH..."': function() {371 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");372 },373 '23.Click option "Registrering"': function() {374 var actionTarget = function() {375 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);376 };377 act.click(actionTarget);378 },379 '24.Click submit button "Skicka"': function() {380 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");381 },382 '25.Click link "Logga ut"': function() {383 act.click(":containsExcludeChildren(Logga ut)");384 }385};386"@test"["6th run"] = {387 '2.Click input "ANV"': function() {388 act.click("#ANV");389 },390 "3.Press key END": function() {391 act.press("end");392 },393 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {394 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");395 },396 '5.Type in input "ANV"': function() {397 act.type("#ANV", "s118");398 },399 "6.Press key TAB": function() {400 act.press("tab");401 },402 '9.Type in password input "LOS"': function() {403 act.type("#LOS", "s118");404 },405 '10.Click submit button "Logga in"': function() {406 act.click(":containsExcludeChildren(Logga in)");407 },408 '11.Click link "118"': function() {409 var actionTarget = function() {410 return $(":containsExcludeChildren(118)").eq(1);411 };412 act.click(actionTarget);413 },414 '12.Click link "Meddelanden"': function() {415 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");416 },417 '13.Click select "_ctl0:ContentPlaceH..."': function() {418 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");419 },420 '14.Click option "Inloggningspåminnel..."': function() {421 var actionTarget = function() {422 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Inloggningspåminnelse)");423 };424 act.click(actionTarget);425 },426 '15.Click submit button "Skicka"': function() {427 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");428 },429 '16.Click link "Logga ut"': function() {430 act.click(":containsExcludeChildren(Logga ut)");431 }432};433"@test"["7th run"] = {434 '2.Click input "ANV"': function() {435 act.click("#ANV");436 },437 "3.Press key END": function() {438 act.press("end");439 },440 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {441 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");442 },443 '5.Type in input "ANV"': function() {444 act.type("#ANV", "s118");445 },446 "6.Press key TAB": function() {447 act.press("tab");448 },449 '7.Type in password input "LOS"': function() {450 act.type("#LOS", "s118");451 },452 '8.Click submit button "Logga in"': function() {453 act.click(":containsExcludeChildren(Logga in)");454 },455 '9.Click link "118"': function() {456 var actionTarget = function() {457 return $(":containsExcludeChildren(118)").eq(1);458 };459 act.click(actionTarget);460 },461 '10.Click link "Meddelanden"': function() {462 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");463 },464 '11.Click select "_ctl0:ContentPlaceH..."': function() {465 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");466 },467 '12.Click option "Alla aktiverade..."': function() {468 act.click(":containsExcludeChildren(Alla aktiverade användare)");469 },470 '13.Click submit button "Skicka"': function() {471 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");472 },473 '14.Click select "_ctl0:ContentPlaceH..."': function() {474 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");475 },476 '15.Click option "Påminnelse:Test1Tes..."': function() {477 act.click(":containsExcludeChildren(PåminnelseTest1Test2)");478 },479 '16.Click submit button "Skicka"': function() {480 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");481 }, 482 '17.Click link "Logga ut"': function() {483 act.click(":containsExcludeChildren(Logga ut)");484 }485};486"@test"["9th run"] = {487 '2.Click input "ANV"': function() {488 act.click("#ANV");489 },490 "3.Press key END": function() {491 act.press("end");492 },493 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {494 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");495 },496 '5.Type in input "ANV"': function() {497 act.type("#ANV", "s118");498 },499 "6.Press key TAB": function() {500 act.press("tab");501 },502 '7.Type in password input "LOS"': function() {503 act.type("#LOS", "s118");504 },505 '8.Click submit button "Logga in"': function() {506 act.click(":containsExcludeChildren(Logga in)");507 },508 '9.Click link "118"': function() {509 var actionTarget = function() {510 return $(":containsExcludeChildren(118)").eq(1);511 };512 act.click(actionTarget);513 },514 '10.Click link "Meddelanden"': function() {515 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");516 },517 '11.Click input "_ctl0:ContentPlaceH..."': function() {518 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");519 },520 "12.Press key END": function() {521 act.press("end");522 },523 "13.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {524 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");525 },526 '14.Type in input "_ctl0:ContentPlaceH..."': function() {527 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-01-30 15:32 subject");528 },529 '17.Click text area "_ctl0:ContentPlaceH..."': function() {530 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");531 },532 "18.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {533 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");534 },535 '19.Type in text area "_ctl0:ContentPlaceH..."': function() {536 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", 'Thank you Test1Test2 2015-01-30 15:32 message""\r\rtest with Jay');537 },538 '20.Click submit button "Spara"': function() {539 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");540 },541 '21.Click link "Organisation"': function() {542 act.click("[title='Administrera enheter och användare']");543 },544 '22.Click link "Meddelanden"': function() {545 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");546 },547 '23.Click select "_ctl0:ContentPlaceH..."': function() {548 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");549 },550 '24.Click option "Tack: Test1Test2"': function() {551 var actionTarget = function() {552 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Tack Test1Test2)");553 };554 act.click(actionTarget);555 },556 '25.Click submit button "Skicka"': function() {557 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");558 },559 '26.Click link "Logga ut"': function() {560 act.click(":containsExcludeChildren(Logga ut)");561 }562};563"@test"["run 11th"] = {564 '2.Click input "ANV"': function() {565 act.click("#ANV");566 },567 "3.Press key END": function() {568 act.press("end");569 },570 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {571 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");572 },573 '5.Type in input "ANV"': function() {574 act.type("#ANV", "s118");575 },576 "6.Press key TAB": function() {577 act.press("tab");578 },579 '7.Type in password input "LOS"': function() {580 act.type("#LOS", "s118");581 },582 '8.Click submit button "Logga in"': function() {583 act.click(":containsExcludeChildren(Logga in)");584 },585 '9.Click link "118"': function() {586 var actionTarget = function() {587 return $(":containsExcludeChildren(118)").eq(1);588 };589 act.click(actionTarget);590 },591 '10.Click link "Meddelanden"': function() {592 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");593 },594 "11.Wait 3000 milliseconds": function() {595 act.wait(3e3);596 },597 '12.Click link "Organisation"': function() {598 act.click("[title='Administrera enheter och användare']");599 },600 "13.Click image": function() {601 var actionTarget = function() {602 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");603 };604 act.click(actionTarget);605 },606 "14.Click image": function() {607 var actionTarget = function() {608 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");609 };610 act.click(actionTarget);611 },612 '15.Click input "_ctl0:ContentPlaceH..."': function() {613 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");614 },615 "16.Press key END": function() {616 act.press("end");617 },618 '17.Type in input "_ctl0:ContentPlaceH..."': function() {619 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");620 },621 '18.Click label "Den tidigare..."': function() {622 act.click(":containsExcludeChildren(Den tidigare registrerade epostadessen har aldrig varit korrekt och det skapade kontot bör tas bort från organisationen)");623 },624 '19.Click submit button "Spara"': function() {625 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");626 },627 "20.Click image": function() {628 var actionTarget = function() {629 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");630 };631 act.click(actionTarget);632 },633 '21.Click input "_ctl0:ContentPlaceH..."': function() {634 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");635 },636 "22.Press key END": function() {637 act.press("end");638 },639 "23.Press key BACKSPACE": function() {640 act.press("backspace");641 },642 '24.Click label "Uppdatera..."': function() {643 act.click(":containsExcludeChildren(Uppdatera användarprofilen som om dessa inställningar ställdes in från början)");644 },645 '25.Click submit button "Spara"': function() {646 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");647 },648 "26.Click image": function() {649 var actionTarget = function() {650 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(1) > a:nth(1) > img:nth(0)");651 };652 act.click(actionTarget);653 },654 "27.Click image": function() {655 var actionTarget = function() {656 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(2) > a:nth(0) > img:nth(0)");657 };658 act.click(actionTarget);659 },660 '28.Click input "_ctl0:ContentPlaceH..."': function() {661 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");662 },663 "29.Press key END": function() {664 act.press("end");665 },666 '30.Type in input "_ctl0:ContentPlaceH..."': function() {667 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");668 },669 '31.Click label "Den tidigare..."': function() {670 act.click(":containsExcludeChildren(Den tidigare registrerade epostadessen har aldrig varit korrekt och det skapade kontot bör tas bort från organisationen)");671 },672 '32.Click submit button "Spara"': function() {673 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");674 },675 "33.Click image": function() {676 var actionTarget = function() {677 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(5) > td:nth(2) > a:nth(0) > img:nth(0)");678 };679 act.click(actionTarget);680 },681 '34.Click input "_ctl0:ContentPlaceH..."': function() {682 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");683 },684 "35.Press key END": function() {685 act.press("end");686 },687 "36.Press key BACKSPACE": function() {688 act.press("backspace");689 },690 '37.Click label "Uppdatera..."': function() {691 act.click(":containsExcludeChildren(Uppdatera användarprofilen som om dessa inställningar ställdes in från början)");692 },693 '38.Click submit button "Spara"': function() {694 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");695 },696 "39.Click image": function() {697 var actionTarget = function() {698 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(1) > a:nth(1) > img:nth(0)");699 };700 act.click(actionTarget);701 },702 "40.Click image": function() {703 var actionTarget = function() {704 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(2) > a:nth(0) > img:nth(0)");705 };706 act.click(actionTarget);707 },708 '41.Click input "_ctl0:ContentPlaceH..."': function() {709 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");710 },711 "42.Press key END": function() {712 act.press("end");713 },714 '43.Type in input "_ctl0:ContentPlaceH..."': function() {715 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");716 },717 '44.Click label "Den tidigare..."': function() {718 act.click(":containsExcludeChildren(Den tidigare registrerade epostadessen har aldrig varit korrekt och det skapade kontot bör tas bort från organisationen)");719 },720 '45.Click submit button "Spara"': function() {721 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");722 },723 "46.Click image": function() {724 var actionTarget = function() {725 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(6) > td:nth(2) > a:nth(0) > img:nth(0)");726 };727 act.click(actionTarget);728 },729 '47.Click input "_ctl0:ContentPlaceH..."': function() {730 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");731 },732 "48.Press key END": function() {733 act.press("end");734 },735 "49.Press key BACKSPACE": function() {736 act.press("backspace");737 },738 '50.Click label "Uppdatera..."': function() {739 act.click(":containsExcludeChildren(Uppdatera användarprofilen som om dessa inställningar ställdes in från början)");740 },741 '51.Click submit button "Spara"': function() {742 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");743 },744 '52.Click link "Logga ut"': function() {745 act.click(":containsExcludeChildren(Logga ut)");746 }...
7.0.0_case_swedish.test.js
Source:7.0.0_case_swedish.test.js
1"@fixture 7.0.0 Case Swedish";2"@page http://dev-grp.healthwatch.se";3"@test"["1st run. Login in to GMAIL with hwgrptst1@gmail.com and Apels!nju1ce, check mails. 1 new mail."] = {4 '2.Type in input "ANV"': function() {5 act.type("#ANV", "118");6 },7 "3.Press key TAB": function() {8 act.press("tab");9 },10 '4.Type in password input "LOS"': function() {11 act.type("#LOS", "118");12 },13 '5.Click submit button "Logga in"': function() {14 act.click(":containsExcludeChildren(Logga in)");15 },16 '6.Click link "Meddelanden"': function() {17 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");18 },19 '7.Click input "_ctl0:ContentPlaceH..."': function() {20 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)");21 },22 "8.Press key END": function() {23 act.press("end");24 },25 "9.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {26 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");27 },28 '10.Type in input "_ctl0:ContentPlaceH..."': function() {29 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteSubject$/)", "Invitation 2015-02-07 15:53 subject");30 },31 '11.Click text area "_ctl0:ContentPlaceH..."': function() {32 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)");33 },34 "12.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {35 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");36 },37 '13.Type in text area "_ctl0:ContentPlaceH..."': function() {38 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteTxt$/)", "Invitation 2015-02-07 15:53 message!!\r\rtest with Jay");39 },40 '14.Click submit button "Spara"': function() {41 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");42 },43 '15.Click link "Organisation"': function() {44 act.click("[title='Administrera enheter och användare']");45 },46 '16.Click link "Meddelanden"': function() {47 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");48 },49 '17.Click input "_ctl0:ContentPlaceH..."': function() {50 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)");51 },52 "18.Press key END": function() {53 act.press("end");54 },55 "19.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {56 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");57 },58 '20.Type in input "_ctl0:ContentPlaceH..."': function() {59 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderSubject$/)", "Reminder 2015-02-07 15:53 subject");60 },61 '28.Click text area "_ctl0:ContentPlaceH..."': function() {62 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)");63 },64 "29.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {65 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");66 },67 '30.Type in text area "_ctl0:ContentPlaceH..."': function() {68 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_InviteReminderTxt$/)", "Reminder 2015-02-07 15:53 message!!\r\rtest with Jay");69 },70 '31.Click input "_ctl0:ContentPlaceH..."': function() {71 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)");72 },73 "32.Press key END": function() {74 act.press("end");75 },76 "33.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {77 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");78 },79 '34.Type in input "_ctl0:ContentPlaceH..."': function() {80 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageSubject$/)", "Message to All 2015-02-07 15:53 subject");81 },82 '35.Click text area "_ctl0:ContentPlaceH..."': function() {83 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)");84 },85 "36.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {86 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");87 },88 '37.Type in text area "_ctl0:ContentPlaceH..."': function() {89 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_AllMessageBody$/)", "All 2015-02-07 15:53 message!!\r\rtest with Jay");90 },91 '38.Click input "_ctl0:ContentPlaceH..."': function() {92 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)");93 },94 "39.Press key END": function() {95 act.press("end");96 },97 "40.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {98 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");99 },100 '41.Type in input "_ctl0:ContentPlaceH..."': function() {101 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveySubject$/)", "Reminder 2015-02-07 15:53 subject");102 },103 '42.Click text area "_ctl0:ContentPlaceH..."': function() {104 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)");105 },106 "43.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {107 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");108 },109 '48.Type in text area "_ctl0:ContentPlaceH..."': function() {110 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyTxt$/)", "Reminder extended survey 2015-02-07 15:53 message!!\r\rtest with Jay");111 },112 '49.Click submit button "Spara"': function() {113 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");114 },115 '50.Click link "Organisation"': function() {116 act.click("[title='Administrera enheter och användare']");117 },118 '51.Click link "Meddelanden"': function() {119 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");120 },121 '52.Click select "_ctl0:ContentPlaceH..."': function() {122 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");123 },124 '53.Click option "Registrering"': function() {125 var actionTarget = function() {126 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);127 };128 act.click(actionTarget);129 },130 '54.Click submit button "Skicka"': function() {131 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");132 },133 '55.Type in password input "_ctl0:ContentPlaceH..."': function() {134 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "117");135 },136 '56.Click submit button "Skicka"': function() {137 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");138 },139 '57.Type in password input "_ctl0:ContentPlaceH..."': function() {140 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");141 },142 '58.Click submit button "Skicka"': function() {143 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");144 },145 '59.Click select "_ctl0:ContentPlaceH..."': function() {146 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");147 },148 '60.Click option "Registrering"': function() {149 var actionTarget = function() {150 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);151 };152 act.click(actionTarget);153 },154 '61.Click submit button "Skicka"': function() {155 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");156 },157 '62.Click link "Logga ut"': function() {158 act.click(":containsExcludeChildren(Logga ut)");159 }160};161"@test"["2nd run"] = {162 '2.Type in input "ANV"': function() {163 act.type("#ANV", "118");164 },165 "3.Press key TAB": function() {166 act.press("tab");167 },168 '4.Type in password input "LOS"': function() {169 act.type("#LOS", "118");170 },171 '5.Click submit button "Logga in"': function() {172 act.click(":containsExcludeChildren(Logga in)");173 },174 '6.Click link "Meddelanden"': function() {175 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");176 },177 '7.Click select "_ctl0:ContentPlaceH..."': function() {178 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");179 },180 '8.Click option "Registrering"': function() {181 var actionTarget = function() {182 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);183 };184 act.click(actionTarget);185 },186 '9.Type in password input "_ctl0:ContentPlaceH..."': function() {187 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");188 },189 '10.Click submit button "Skicka"': function() {190 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");191 },192 '11.Click select "_ctl0:ContentPlaceH..."': function() {193 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");194 },195 '12.Click option "Registreringspåminn..."': function() {196 var actionTarget = function() {197 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registreringspåminnelse)");198 };199 act.click(actionTarget);200 },201 '13.Type in password input "_ctl0:ContentPlaceH..."': function() {202 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");203 },204 '14.Click submit button "Skicka"': function() {205 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");206 },207 '15.Click select "_ctl0:ContentPlaceH..."': function() {208 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");209 },210 '16.Click option "Inloggningspåminnel..."': function() {211 var actionTarget = function() {212 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Inloggningspåminnelse)");213 };214 act.click(actionTarget);215 },216 '17.Type in password input "_ctl0:ContentPlaceH..."': function() {217 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");218 },219 '18.Click submit button "Skicka"': function() {220 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");221 },222 '19.Click select "_ctl0:ContentPlaceH..."': function() {223 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");224 },225 '20.Click option "Alla aktiverade..."': function() {226 act.click(":containsExcludeChildren(Alla aktiverade användare)");227 },228 '21.Type in password input "_ctl0:ContentPlaceH..."': function() {229 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");230 },231 '22.Click submit button "Skicka"': function() {232 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");233 },234 '23.Click select "_ctl0:ContentPlaceH..."': function() {235 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");236 },237 '24.Click option "Påminnelse:Test1Tes..."': function() {238 act.click(":containsExcludeChildren(PåminnelseTest1Test2)");239 },240 '25.Type in password input "_ctl0:ContentPlaceH..."': function() {241 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");242 },243 '26.Click submit button "Skicka"': function() {244 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");245 },246 '27.Click link "Logga ut"': function() {247 act.click(":containsExcludeChildren(Logga ut)");248 }249};250/*"@test"["4th run"] = {251 '2.Type in input "ANV"': function() {252 act.type("#ANV", "118");253 },254 "3.Press key TAB": function() {255 act.press("tab");256 },257 '4.Type in password input "LOS"': function() {258 act.type("#LOS", "118");259 },260 '5.Click submit button "Logga in"': function() {261 act.click(":containsExcludeChildren(Logga in)");262 },263 '6.Click link "Meddelanden"': function() {264 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");265 },266 '7.Click select "_ctl0:ContentPlaceH..."': function() {267 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");268 },269 '8.Click option "Registreringspåminn..."': function() {270 var actionTarget = function() {271 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registreringspåminnelse)");272 };273 act.click(actionTarget);274 },275 '9.Type in password input "_ctl0:ContentPlaceH..."': function() {276 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");277 },278 '10.Click submit button "Skicka"': function() {279 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");280 },281 '11.Click link "Logga ut"': function() {282 act.click(":containsExcludeChildren(Logga ut)");283 }284};285"@test"["5th run"] = {286 '2.Type in input "ANV"': function() {287 act.type("#ANV", "118");288 },289 "3.Press key TAB": function() {290 act.press("tab");291 },292 '4.Type in password input "LOS"': function() {293 act.type("#LOS", "118");294 },295 '5.Click submit button "Logga in"': function() {296 act.click(":containsExcludeChildren(Logga in)");297 },298 "6.Click image": function() {299 var actionTarget = function() {300 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");301 };302 act.click(actionTarget);303 },304 "7.Click image": function() {305 var actionTarget = function() {306 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");307 };308 act.click(actionTarget);309 },310 '8.Type in input "_ctl0:ContentPlaceH..."': function() {311 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");312 },313 '9.Click submit button "Spara"': function() {314 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");315 },316 "10.Click image": function() {317 var actionTarget = function() {318 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");319 };320 act.click(actionTarget);321 },322 '11.Click input "_ctl0:ContentPlaceH..."': function() {323 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");324 },325 "12.Press key END": function() {326 act.press("end");327 },328 "13.Press key BACKSPACE": function() {329 act.press("backspace");330 },331 '14.Click submit button "Spara"': function() {332 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");333 },334 '15.Click link "Meddelanden"': function() {335 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");336 },337 '16.Click select "_ctl0:ContentPlaceH..."': function() {338 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");339 },340 '17.Click option "Registrering"': function() {341 var actionTarget = function() {342 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Registrering)").eq(0);343 };344 act.click(actionTarget);345 },346 '18.Type in password input "_ctl0:ContentPlaceH..."': function() {347 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");348 },349 '19.Click submit button "Skicka"': function() {350 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");351 },352 '20.Click link "Logga ut"': function() {353 act.click(":containsExcludeChildren(Logga ut)");354 }355};356"@test"["6th run"] = {357 '2.Type in input "ANV"': function() {358 act.type("#ANV", "118");359 },360 "3.Press key TAB": function() {361 act.press("tab");362 },363 '4.Type in password input "LOS"': function() {364 act.type("#LOS", "118");365 },366 '5.Click submit button "Logga in"': function() {367 act.click(":containsExcludeChildren(Logga in)");368 },369 '6.Click link "Meddelanden"': function() {370 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");371 },372 '7.Click select "_ctl0:ContentPlaceH..."': function() {373 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");374 },375 '8.Click option "Inloggningspåminnel..."': function() {376 var actionTarget = function() {377 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Inloggningspåminnelse)");378 };379 act.click(actionTarget);380 },381 '9.Type in password input "_ctl0:ContentPlaceH..."': function() {382 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");383 },384 '10.Click submit button "Skicka"': function() {385 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");386 },387 '11.Click link "Logga ut"': function() {388 act.click(":containsExcludeChildren(Logga ut)");389 }390};391"@test"["8th run"] = {392 '2.Type in input "ANV"': function() {393 act.type("#ANV", "118");394 },395 "3.Press key TAB": function() {396 act.press("tab");397 },398 '4.Type in password input "LOS"': function() {399 act.type("#LOS", "118");400 },401 '5.Click submit button "Logga in"': function() {402 act.click(":containsExcludeChildren(Logga in)");403 },404 '6.Click link "Meddelanden"': function() {405 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");406 },407 '7.Click select "_ctl0:ContentPlaceH..."': function() {408 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");409 },410 '8.Click option "Alla aktiverade..."': function() {411 act.click(":containsExcludeChildren(Alla aktiverade användare)");412 },413 '9.Type in password input "_ctl0:ContentPlaceH..."': function() {414 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");415 },416 '10.Click submit button "Skicka"': function() {417 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");418 },419 '11.Click link "Log out"': function() {420 act.click(":containsExcludeChildren(Logga ut)");421 }422};423"@test"["9th run"] = {424 '2.Type in input "ANV"': function() {425 act.type("#ANV", "118");426 },427 '3.Type in password input "LOS"': function() {428 act.type("#LOS", "118");429 },430 '4.Click submit button "Logga in"': function() {431 act.click(":containsExcludeChildren(Logga in)");432 },433 '5.Click link "Meddelanden"': function() {434 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");435 },436 '6.Click select "_ctl0:ContentPlaceH..."': function() {437 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");438 },439 '7.Click option "Påminnelse:Test1Tes..."': function() {440 act.click(":containsExcludeChildren(PåminnelseTest1Test2)");441 },442 '8.Type in password input "_ctl0:ContentPlaceH..."': function() {443 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");444 },445 '9.Click submit button "Skicka"': function() {446 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");447 },448 '10.Click link "Logga ut"': function() {449 act.click(":containsExcludeChildren(Logga ut)");450 }451};452"@test"["run 12th"] = {453 '2.Type in input "ANV"': function() {454 act.type("#ANV", "118");455 },456 "3.Press key TAB": function() {457 act.press("tab");458 },459 '4.Type in password input "LOS"': function() {460 act.type("#LOS", "118");461 },462 '5.Click submit button "Logga in"': function() {463 act.click(":containsExcludeChildren(Logga in)");464 },465 "6.Click image": function() {466 var actionTarget = function() {467 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(3) > td:nth(1) > a:nth(1) > img:nth(0)");468 };469 act.click(actionTarget);470 },471 "7.Click image": function() {472 var actionTarget = function() {473 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");474 };475 act.click(actionTarget);476 },477 '8.Click input "_ctl0:ContentPlaceH..."': function() {478 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");479 },480 "9.Press key END": function() {481 act.press("end");482 },483 '10.Type in input "_ctl0:ContentPlaceH..."': function() {484 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)", "1");485 },486 '11.Click radio button "The previously..."': function() {487 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_UserUpdateFrom_2$/)");488 },489 '12.Click submit button "Spara"': function() {490 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");491 },492 "13.Click image": function() {493 var actionTarget = function() {494 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_OrgTree$/)").find(" > table:nth(0) > tbody:nth(0) > tr:nth(4) > td:nth(2) > a:nth(0) > img:nth(0)");495 };496 act.click(actionTarget);497 },498 '14.Click input "_ctl0:ContentPlaceH..."': function() {499 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Email$/)");500 },501 "15.Press key END": function() {502 act.press("end");503 },504 "16.Press key BACKSPACE": function() {505 act.press("backspace");506 },507 '17.Click submit button "Spara"': function() {508 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SaveUser$/)");509 },510 '18.Click link "Logga ut"': function() {511 act.click(":containsExcludeChildren(Logga ut)");512 }513};514"@test"["7.1th run"] = {515 '2.Type in input "ANV"': function() {516 act.type("#ANV", "118");517 },518 "3.Press key TAB": function() {519 act.press("tab");520 },521 '4.Type in password input "LOS"': function() {522 act.type("#LOS", "118");523 },524 '5.Click submit button "Logga in"': function() {525 act.click(":containsExcludeChildren(Logga in)");526 },527 '6.Click link "Meddelanden"': function() {528 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");529 },530 '7.Click select "_ctl0:ContentPlaceH..."': function() {531 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");532 },533 '8.Click option "Inloggningspåminnel..."': function() {534 var actionTarget = function() {535 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Inloggningspåminnelse)");536 };537 act.click(actionTarget);538 },539 '9.Type in password input "_ctl0:ContentPlaceH..."': function() {540 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");541 },542 '10.Click submit button "Skicka"': function() {543 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");544 },545 '11.Click link "Logga ut"': function() {546 act.click(":containsExcludeChildren(Logga ut)");547 }548};549"@test"["run 11th"] = {550 '1.Click input "ANV"': function() {551 act.click("#ANV");552 },553 "2.Press key END": function() {554 act.press("end");555 },556 "3.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {557 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");558 },559 '4.Type in input "ANV"': function() {560 act.type("#ANV", "118");561 },562 "5.Press key TAB": function() {563 act.press("tab");564 },565 '6.Type in password input "LOS"': function() {566 act.type("#LOS", "118");567 },568 '7.Click submit button "Logga in"': function() {569 act.click(":containsExcludeChildren(Logga in)");570 },571 '8.Click link "Meddelanden"': function() {572 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");573 },574 '9.Click input "_ctl0:ContentPlaceH..."': function() {575 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");576 },577 "10.Press key END": function() {578 act.press("end");579 },580 "11.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {581 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");582 },583 '12.Type in input "_ctl0:ContentPlaceH..."': function() {584 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-02-09 9:24 subject");585 },586 '13.Click text area "_ctl0:ContentPlaceH..."': function() {587 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");588 },589 "14.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {590 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");591 },592 '15.Type in text area "_ctl0:ContentPlaceH..."': function() {593 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", "Thank you Test1Test2 2015-02-09 9:24 message!!\r\rtest with Jay");594 },595 '16.Click submit button "Spara"': function() {596 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");597 },598 '17.Click link "Organisation"': function() {599 act.click("[title='Administrera enheter och användare']");600 },601 '18.Click link "Meddelanden"': function() {602 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");603 },604 '19.Click select "_ctl0:ContentPlaceH..."': function() {605 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");606 },607 '20.Click option "Tack: Test1Test2"': function() {608 act.click(":containsExcludeChildren(Tack Test1Test2)");609 },610 '21.Type in password input "_ctl0:ContentPlaceH..."': function() {611 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");612 },613 '22.Click submit button "Skicka"': function() {614 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");615 },616 '23.Click link "Logga ut"': function() {617 act.click(":containsExcludeChildren(Logga ut)");618 }...
backspace.test.js
Source:backspace.test.js
1suite('backspace', function() {2 var mq, rootBlock, controller, cursor;3 setup(function() {4 mq = MQ.MathField($('<span></span>').appendTo('#mock')[0]);5 rootBlock = mq.__controller.root;6 controller = mq.__controller;7 cursor = controller.cursor;8 });9 function prayWellFormedPoint(pt) { prayWellFormed(pt.parent, pt[L], pt[R]); }10 function assertLatex(latex) {11 prayWellFormedPoint(mq.__controller.cursor);12 assert.equal(mq.latex(), latex);13 }14 test('backspace through exponent', function() {15 controller.renderLatexMath('x^{nm}');16 var exp = rootBlock.ends[R],17 expBlock = exp.ends[L];18 assert.equal(exp.latex(), '^{nm}', 'right end el is exponent');19 assert.equal(cursor.parent, rootBlock, 'cursor is in root block');20 assert.equal(cursor[L], exp, 'cursor is at the end of root block');21 mq.keystroke('Backspace');22 assert.equal(cursor.parent, expBlock, 'cursor up goes into exponent on backspace');23 assertLatex('x^{nm}');24 mq.keystroke('Backspace');25 assert.equal(cursor.parent, expBlock, 'cursor still in exponent');26 assertLatex('x^n');27 mq.keystroke('Backspace');28 assert.equal(cursor.parent, expBlock, 'still in exponent, but it is empty');29 assertLatex('x^{ }');30 mq.keystroke('Backspace');31 assert.equal(cursor.parent, rootBlock, 'backspace tears down exponent');32 assertLatex('x');33 });34 test('backspace through complex fraction', function() {35 controller.renderLatexMath('1+\\frac{1}{\\frac{1}{2}+\\frac{2}{3}}');36 //first backspace moves to denominator37 mq.keystroke('Backspace');38 assertLatex('1+\\frac{1}{\\frac{1}{2}+\\frac{2}{3}}');39 //first backspace moves to denominator in denominator40 mq.keystroke('Backspace');41 assertLatex('1+\\frac{1}{\\frac{1}{2}+\\frac{2}{3}}');42 //finally delete a character43 mq.keystroke('Backspace');44 assertLatex('1+\\frac{1}{\\frac{1}{2}+\\frac{2}{ }}');45 //destroy fraction46 mq.keystroke('Backspace');47 assertLatex('1+\\frac{1}{\\frac{1}{2}+2}');48 mq.keystroke('Backspace');49 mq.keystroke('Backspace');50 assertLatex('1+\\frac{1}{\\frac{1}{2}}');51 mq.keystroke('Backspace');52 mq.keystroke('Backspace');53 assertLatex('1+\\frac{1}{\\frac{1}{ }}');54 mq.keystroke('Backspace');55 assertLatex('1+\\frac{1}{1}');56 mq.keystroke('Backspace');57 assertLatex('1+\\frac{1}{ }');58 mq.keystroke('Backspace');59 assertLatex('1+1');60 });61 test('backspace through compound subscript', function() {62 mq.latex('x_{2_2}');63 //first backspace goes into the subscript64 mq.keystroke('Backspace');65 assert.equal(mq.latex(),'x_{2_2}');66 //second one goes into the subscripts' subscript67 mq.keystroke('Backspace');68 assert.equal(mq.latex(),'x_{2_2}');69 mq.keystroke('Backspace');70 assert.equal(mq.latex(),'x_{2_{ }}');71 mq.keystroke('Backspace');72 assert.equal(mq.latex(),'x_2');73 mq.keystroke('Backspace');74 assert.equal(mq.latex(),'x_{ }');75 mq.keystroke('Backspace');76 assert.equal(mq.latex(),'x');77 });78 test('backspace through simple subscript', function() {79 mq.latex('x_{2+3}');80 assert.equal(cursor.parent, rootBlock, 'start in the root block');81 //backspace goes down82 mq.keystroke('Backspace');83 assert.equal(mq.latex(),'x_{2+3}');84 mq.keystroke('Backspace');85 assert.equal(mq.latex(),'x_{2+}');86 mq.keystroke('Backspace');87 assert.equal(mq.latex(),'x_2');88 mq.keystroke('Backspace');89 assert.equal(mq.latex(),'x_{ }');90 mq.keystroke('Backspace');91 assert.equal(mq.latex(),'x');92 });93 test('backspace through subscript & superscript', function() {94 mq.latex('x_2^{32}');95 //first backspace takes us into the exponent96 mq.keystroke('Backspace');97 assert.equal(mq.latex(),'x_2^{32}');98 //second backspace is within the exponent99 mq.keystroke('Backspace');100 assert.equal(mq.latex(),'x_2^3');101 //clear out exponent102 mq.keystroke('Backspace');103 assert.equal(mq.latex(),'x_2^{ }');104 //unpeel exponent105 mq.keystroke('Backspace');106 assert.equal(mq.latex(),'x_2');107 //into subscript108 mq.keystroke('Backspace');109 assert.equal(mq.latex(),'x_2');110 //clear out subscript111 mq.keystroke('Backspace');112 assert.equal(mq.latex(),'x_{ }');113 //unpeel exponent114 mq.keystroke('Backspace');115 assert.equal(mq.latex(),'x');116 //clear out math field117 mq.keystroke('Backspace');118 assert.equal(mq.latex(),'');119 });120 test('backspace through nthroot', function() {121 mq.latex('\\sqrt[3]{x}');122 //first backspace takes us inside the nthroot123 mq.keystroke('Backspace');124 assert.equal(mq.latex(),'\\sqrt[3]{x}');125 //second backspace removes the x126 mq.keystroke('Backspace');127 assert.equal(mq.latex(),'\\sqrt[3]{}');128 //third one destroys the cube root, but leaves behind the 3129 mq.keystroke('Backspace');130 assert.equal(mq.latex(),'3');131 mq.keystroke('Backspace');132 assert.equal(mq.latex(),'');133 });134 test('backspace through large operator', function() {135 mq.latex('\\sum_{n=1}^3x');136 //first backspace takes out the argument137 mq.keystroke('Backspace');138 assert.equal(mq.latex(),'\\sum_{n=1}^3');139 //up into the superscript140 mq.keystroke('Backspace');141 assert.equal(mq.latex(),'\\sum_{n=1}^3');142 //up into the superscript143 mq.keystroke('Backspace');144 assert.equal(mq.latex(),'\\sum_{n=1}^{ }');145 //destroy the sum, preserve the subscript (a little surprising)146 mq.keystroke('Backspace');147 assert.equal(mq.latex(),'n=1');148 });149 test('backspace through text block', function() {150 mq.latex('\\text{x}');151 mq.keystroke('Backspace');152 var textBlock = rootBlock.ends[R];153 assert.equal(cursor.parent, textBlock, 'cursor is in text block');154 assert.equal(cursor[R], 0, 'cursor is at the end of text block');155 assert.equal(cursor[L].text, 'x', 'cursor is rightward of the x');156 assert.equal(mq.latex(), '\\text{x}', 'the x has been deleted');157 mq.keystroke('Backspace');158 assert.equal(cursor.parent, textBlock, 'cursor is still in text block');159 assert.equal(cursor[R], 0, 'cursor is at the right end of the text block');160 assert.equal(cursor[L], 0, 'cursor is at the left end of the text block');161 assert.equal(mq.latex(), '', 'the x has been deleted');162 mq.keystroke('Backspace');163 assert.equal(cursor[R], 0, 'cursor is at the right end of the root block');164 assert.equal(cursor[L], 0, 'cursor is at the left end of the root block');165 assert.equal(mq.latex(), '');166 });167 suite('empties', function() {168 test('backspace empty exponent', function() {169 mq.latex('x^{}');170 mq.keystroke('Backspace');171 assert.equal(mq.latex(), 'x');172 });173 test('backspace empty sqrt', function() {174 mq.latex('1+\\sqrt{}');175 mq.keystroke('Backspace');176 assert.equal(mq.latex(), '1+');177 });178 test('backspace empty fraction', function() {179 mq.latex('1+\\frac{}{}');180 mq.keystroke('Backspace');181 assert.equal(mq.latex(), '1+');182 });183 });...
7.0.6_case_swedish.test.js
Source:7.0.6_case_swedish.test.js
1"@fixture 7.0.6 Case Swedish";2"@page http://dev-grp.healthwatch.se/";3"@test"["run 11th"] = {4 '1.Click input "ANV"': function() {5 act.click("#ANV");6 },7 "2.Press key END": function() {8 act.press("end");9 },10 "3.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {11 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");12 },13 '4.Type in input "ANV"': function() {14 act.type("#ANV", "118");15 },16 "5.Press key TAB": function() {17 act.press("tab");18 },19 '6.Type in password input "LOS"': function() {20 act.type("#LOS", "118");21 },22 '7.Click submit button "Logga in"': function() {23 act.click(":containsExcludeChildren(Logga in)");24 },25 '8.Click link "Meddelanden"': function() {26 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");27 },28 '9.Click input "_ctl0:ContentPlaceH..."': function() {29 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");30 },31 "10.Press key END": function() {32 act.press("end");33 },34 "11.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {35 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");36 },37 '12.Type in input "_ctl0:ContentPlaceH..."': function() {38 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-02-09 9:24 subject");39 },40 '13.Click text area "_ctl0:ContentPlaceH..."': function() {41 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");42 },43 "14.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {44 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");45 },46 '15.Type in text area "_ctl0:ContentPlaceH..."': function() {47 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", "Thank you Test1Test2 2015-02-09 9:24 message!!\r\rtest with Jay");48 },49 '16.Click submit button "Spara"': function() {50 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");51 },52 '17.Click link "Organisation"': function() {53 act.click("[title='Administrera enheter och användare']");54 },55 '18.Click link "Meddelanden"': function() {56 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");57 },58 '19.Click select "_ctl0:ContentPlaceH..."': function() {59 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");60 },61 '20.Click option "Tack: Test1Test2"': function() {62 act.click(":containsExcludeChildren(Tack Test1Test2)");63 },64 '21.Type in password input "_ctl0:ContentPlaceH..."': function() {65 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_Password$/)", "118");66 },67 '22.Click submit button "Skicka"': function() {68 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");69 },70 '23.Click link "Logga ut"': function() {71 act.click(":containsExcludeChildren(Logga ut)");72 }...
8.0.6_case_english.test.js
Source:8.0.6_case_english.test.js
1"@fixture 8.0.6 Case English";2"@page http://dev-grp.healthwatch.se/";3"@test"["09th run"] = {4 '1.Click link "In English"': function() {5 act.click(":containsExcludeChildren(In English)");6 },7 '2.Click input "ANV"': function() {8 act.click("#ANV");9 },10 "3.Press key END": function() {11 act.press("end");12 },13 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {14 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");15 },16 '5.Type in input "ANV"': function() {17 act.type("#ANV", "s118");18 },19 "6.Press key TAB": function() {20 act.press("tab");21 },22 '7.Type in password input "LOS"': function() {23 act.type("#LOS", "s118");24 },25 '8.Click submit button "Sign in"': function() {26 act.click(":containsExcludeChildren(Sign in)");27 },28 '9.Click link "118"': function() {29 var actionTarget = function() {30 return $(":containsExcludeChildren(118)").eq(1);31 };32 act.click(actionTarget);33 },34 '10.Click link "Messages"': function() {35 act.click("[title='administer messages, invitations and reminders']");36 },37 '11.Click input "_ctl0:ContentPlaceH..."': function() {38 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");39 },40 "12.Press key END": function() {41 act.press("end");42 },43 "13.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {44 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");45 },46 '14.Type in input "_ctl0:ContentPlaceH..."': function() {47 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-01-30 15:32 subject");48 },49 '17.Click text area "_ctl0:ContentPlaceH..."': function() {50 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");51 },52 "18.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {53 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");54 },55 '19.Type in text area "_ctl0:ContentPlaceH..."': function() {56 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", 'Thank you Test1Test2 2015-01-30 15:32 message""\r\rtest with Jay');57 },58 '20.Click submit button "Save"': function() {59 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");60 },61 '21.Click link "Organization"': function() {62 act.click("[title='administer units and users']");63 },64 '22.Click link "Messages"': function() {65 act.click("[title='administer messages, invitations and reminders']");66 },67 '23.Click select "_ctl0:ContentPlaceH..."': function() {68 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");69 },70 '24.Click option "Thank you:..."': function() {71 var actionTarget = function() {72 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Thank you Test1Test2)");73 };74 act.click(actionTarget);75 },76 '25.Click submit button "Send"': function() {77 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");78 },79 '26.Click link "Log out"': function() {80 act.click(":containsExcludeChildren(Log out)");81 }...
8.0.6_case_swedish.test.js
Source:8.0.6_case_swedish.test.js
1"@fixture 8.0.6 Case Swedish";2"@page http://dev-grp.healthwatch.se/";3"@test"["9th run"] = {4 '2.Click input "ANV"': function() {5 act.click("#ANV");6 },7 "3.Press key END": function() {8 act.press("end");9 },10 "4.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {11 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");12 },13 '5.Type in input "ANV"': function() {14 act.type("#ANV", "s118");15 },16 "6.Press key TAB": function() {17 act.press("tab");18 },19 '7.Type in password input "LOS"': function() {20 act.type("#LOS", "s118");21 },22 '8.Click submit button "Logga in"': function() {23 act.click(":containsExcludeChildren(Logga in)");24 },25 '9.Click link "118"': function() {26 var actionTarget = function() {27 return $(":containsExcludeChildren(118)").eq(1);28 };29 act.click(actionTarget);30 },31 '10.Click link "Meddelanden"': function() {32 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");33 },34 '11.Click input "_ctl0:ContentPlaceH..."': function() {35 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)");36 },37 "12.Press key END": function() {38 act.press("end");39 },40 "13.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {41 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");42 },43 '14.Type in input "_ctl0:ContentPlaceH..."': function() {44 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedSubject$/)", "Thank you Test1Test2 2015-01-30 15:32 subject");45 },46 '17.Click text area "_ctl0:ContentPlaceH..."': function() {47 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)");48 },49 "18.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {50 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");51 },52 '19.Type in text area "_ctl0:ContentPlaceH..."': function() {53 act.type(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_ExtendedSurveyFinishedTxt$/)", 'Thank you Test1Test2 2015-01-30 15:32 message""\r\rtest with Jay');54 },55 '20.Click submit button "Spara"': function() {56 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSave$/)");57 },58 '21.Click link "Organisation"': function() {59 act.click("[title='Administrera enheter och användare']");60 },61 '22.Click link "Meddelanden"': function() {62 act.click("[title='Administrera meddelanden, inbjudningar och påminnelser']");63 },64 '23.Click select "_ctl0:ContentPlaceH..."': function() {65 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)");66 },67 '24.Click option "Tack: Test1Test2"': function() {68 var actionTarget = function() {69 return $(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_SendType$/)").find(":containsExcludeChildren(Tack Test1Test2)");70 };71 act.click(actionTarget);72 },73 '25.Click submit button "Skicka"': function() {74 act.click(":attrRegExp(id:/^_ctl\\d+_ContentPlaceHolder1_buttonSend$/)");75 },76 '26.Click link "Logga ut"': function() {77 act.click(":containsExcludeChildren(Logga ut)");78 }...
test-adm_do_not_use.test.js
Source:test-adm_do_not_use.test.js
1"@fixture test-adm <DO NOT USE>";2"@page http://test-adm.healthwatch.se";3"@auth ian:Start123!!!";4/*"@test"["1.0 case 7 and 8"] = {5 '1.Click link "Users"': function() {6 act.click(":containsExcludeChildren(Users)");7 },8 '2.Type in input "search"': function() {9 act.type("#search", "hwgrptst1");10 },11 '3.Click submit button "OK"': function() {12 act.click("#OK");13 },14 '4.Click link "fake 1"': function() {15 act.click(":containsExcludeChildren(fake 1)");16 }17};18"@test"["2.0 case 7 and 8 "] = {19 '1.Click link "Users"': function() {20 act.click(":containsExcludeChildren(Users)");21 },22 '2.Type in input "search"': function() {23 act.type("#search", "hwgrptst1");24 },25 '3.Click submit button "OK"': function() {26 act.click("#OK");27 },28 '4.Click link "fake 2"': function() {29 act.click(":containsExcludeChildren(fake 2)");30 }31};32"@test"["3.0 case 7 and 8 "] = {33 '1.Click link "Sponsors"': function() {34 act.click(":containsExcludeChildren(Sponsors)");35 },36 '2.Click link "118"': function() {37 var actionTarget = function() {38 return $(":containsExcludeChildren(118)").eq(0);39 };40 act.click(actionTarget);41 },42 '3.Click input "Started142"': function() {43 act.click("#Started142");44 },45 "4.Press key END": function() {46 act.press("end");47 },48 "5.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {49 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");50 },51 '6.Type in input "Started142"': function() {52 act.type("#Started142", "2014-09-01 00:00");53 },54 '7.Click input "Closed142"': function() {55 act.click("#Closed142");56 },57 "8.Press key END": function() {58 act.press("end");59 },60 "9.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {61 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");62 },63 '10.Type in input "Closed142"': function() {64 act.type("#Closed142", "2014-09-01 00:00");65 },66 '11.Click submit button "Save"': function() {67 act.click("#Save");68 }69};70"@test"["4.0 case 7 and 8"] = {71 '1.Click link "Sponsors"': function() {72 act.click(":containsExcludeChildren(Sponsors)");73 },74 '2.Click link "118"': function() {75 var actionTarget = function() {76 return $(":containsExcludeChildren(118)").eq(0);77 };78 act.click(actionTarget);79 },80 '3.Click input "Started142"': function() {81 act.click("#Started142");82 },83 "4.Press key END": function() {84 act.press("end");85 },86 "5.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {87 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");88 },89 '6.Type in input "Started142"': function() {90 act.type("#Started142", "2016-09-01 00:00");91 },92 '7.Click input "Closed142"': function() {93 act.click("#Closed142");94 },95 "8.Press key END": function() {96 act.press("end");97 },98 "9.Press key BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE BACKSPACE": function() {99 act.press("backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace backspace");100 },101 '10.Type in input "Closed142"': function() {102 act.type("#Closed142", "2016-09-01 00:00");103 },104 '11.Click submit button "Save"': function() {105 act.click("#Save");106 }...
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'Peter')4 .typeText('#developer-name', 'Paker', { replace: true })5 .typeText('#developer-name', 'r', { caretPos: 2 })6 .pressKey('backspace');7});
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'John Smith')4 .click('#submit-button')5 .expect(Selector('#article-header').innerText).eql('Thank you, John Smith!');6});7test('My second test', async t => {8 .typeText('#developer-name', 'John Smith')9 .backspace(5)10 .expect(Selector('#developer-name').value).eql('John');11});12test('My third test', async t => {13 .typeText('#developer-name', 'John Smith')14 .backspace(5)15 .expect(Selector('#developer-name').value).eql('John');16});17 > | Selector('#developer-name').value18 at Proxy.get (C:\Users\jenkins\AppData\Roaming19 at Proxy._callee$ (C:\Users\jenkins\AppData\Roaming20 at tryCatch (C:\Users\jenkins\AppData\Roaming21 at Generator.invoke [as _invoke] (C:\Users\jenkins\AppData\Roaming22 at Generator.prototype.(anonymous function) [as next] (C:\Users\jenkins\AppData\Roaming
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'Peter')4 .click('#tried-test-cafe')5 .pressKey('backspace')6 .expect(Selector('#tried-test-cafe').value).eql('I have tried TestCafe');7});8import { Selector } from 'testcafe';9test('My first test', async t => {10 .typeText('#developer-name', 'Peter')11 .click('#tried-test-cafe')12 .pressKey('backspace backspace backspace backspace backspace backspace')13 .expect(Selector('#tried-test-cafe').value).eql('I have tried TestCafe');14});15import { Selector } from 'testcafe';16test('My first test', async t => {17 .typeText('#developer-name', 'Peter')18 .click('#tried-test-cafe')19 .pressKey('backspace backspace backspace backspace backspace backspace')20 .expect(Selector('#tried-test-cafe').value).eql('I have tried TestCafe');21});22import { Selector } from 'testcafe';23test('My first test', async t => {24 .typeText('#developer-name', 'Peter')25 .click('#tried-test-cafe')26 .pressKey('backspace backspace backspace backspace backspace backspace')27 .expect(Selector('#tried-test-cafe').value).eql('I have tried TestCafe');28});29import { Selector } from 'testcafe';
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'Peter')4 .click('#submit-button')5 .expect(Selector('#article-header').innerText).eql('Thank you, Peter!');6});7test('My second test', async t => {8 .typeText('#developer-name', 'John')9 .click('#submit-button')10 .expect(Selector('#article-header').innerText).eql('Thank you, John!');11});
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'Peter')4 .pressKey('backspace')5 .expect(Selector('#developer-name').value).eql('Pete');6});7import { Selector } from 'testcafe';8test('My first test', async t => {9 .typeText('#developer-name', 'Peter')10 .pressKey('delete')11 .expect(Selector('#developer-name').value).eql('Pete');12});13import { Selector } from 'testcafe';14test('My first test', async t => {15 .typeText('#developer-name', 'Peter')16 .pressKey('ctrl+a delete')17 .expect(Selector('#developer-name').value).eql('Pete');18});19import { Selector } from 'testcafe';20test('My first test', async t => {21 .typeText('#developer-name', 'Peter')22 .pressKey('ctrl+a backspace')23 .expect(Selector('#developer-name').value).eql('Pete');24});25import { Selector } from 'testcafe';26test('My first test
Using AI Code Generation
1import { Selector } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'John Smith')4 .click('#submit-button')5 .wait(5000);6});7test('My second test', async t => {8 .typeText('#developer-name', 'John Smith')9 .backspace(5)10 .wait(5000);11});
Using AI Code Generation
1import { Selector, t } from 'testcafe';2test('My first test', async t => {3 .typeText('#developer-name', 'Peter')4 .typeText('#developer-name', 'Paker')5 .pressKey('backspace')6 .expect(Selector('#developer-name').value).eql('Peter');7});8import { Selector, t } from 'testcafe';9test('My first test', async t => {10 .typeText('#developer-name', 'Peter')11 .typeText('#developer-name', 'Paker')12 .pressKey('backspace')13 .expect(Selector('#developer-name').value).eql('Peter');14});15import { Selector, t } from 'testcafe';16test('My first test', async t => {17 .typeText('#developer-name', 'Peter')18 .typeText('#developer-name', 'Paker')19 .pressKey('backspace')20 .expect(Selector('#developer-name').value).eql('Peter');21});22import { Selector, t } from 'testcafe';23test('My first test', async t => {24 .typeText('#developer-name', 'Peter')25 .typeText('#developer-name', 'Paker')26 .pressKey('backspace')27 .expect(Selector('#developer-name').value).eql('Peter');28});29import { Selector, t } from 'testcafe';
Using AI Code Generation
1import { Selector, t } from 'testcafe';2export default class Test {3 constructor() {4 this.username = Selector('#username');5 this.password = Selector('#password');6 this.loginButton = Selector('#login');7 }8 async login(username, password) {9 .typeText(this.username, username)10 .typeText(this.password, password)11 .click(this.loginButton);12 }13}14import Test from "./test";15const test = new Test();16test('My first test', async t => {17 await test.login('test', 'test');18});
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!