How to use Scenario class

Best Cucumber Common Library code snippet using Scenario

i18n.php

Source:i18n.php Github

copy

Full Screen

...12 array (13 'and' => 'And|*',14 'background' => 'Background',15 'but' => 'But|*',16 'examples' => 'Scenarios|Examples',17 'feature' => 'Business Need|Feature|Ability',18 'given' => 'Given|*',19 'name' => 'English',20 'native' => 'English',21 'scenario' => 'Scenario',22 'scenario_outline' => 'Scenario Template|Scenario Outline',23 'then' => 'Then|*',24 'when' => 'When|*',25 ),26 'af' => 27 array (28 'and' => 'En|*',29 'background' => 'Agtergrond',30 'but' => 'Maar|*',31 'examples' => 'Voorbeelde',32 'feature' => 'Besigheid Behoefte|Funksie|Vermoë',33 'given' => 'Gegewe|*',34 'name' => 'Afrikaans',35 'native' => 'Afrikaans',36 'scenario' => 'Situasie',37 'scenario_outline' => 'Situasie Uiteensetting',38 'then' => 'Dan|*',39 'when' => 'Wanneer|*',40 ),41 'am' => 42 array (43 'and' => 'Եվ|*',44 'background' => 'Կոնտեքստ',45 'but' => 'Բայց|*',46 'examples' => 'Օրինակներ',47 'feature' => 'Ֆունկցիոնալություն|Հատկություն',48 'given' => 'Դիցուք|*',49 'name' => 'Armenian',50 'native' => 'հայերեն',51 'scenario' => 'Սցենար',52 'scenario_outline' => 'Սցենարի կառուցվացքը',53 'then' => 'Ապա|*',54 'when' => 'Երբ|Եթե|*',55 ),56 'ar' => 57 array (58 'and' => '*|و',59 'background' => 'الخلفية',60 'but' => 'لكن|*',61 'examples' => 'امثلة',62 'feature' => 'خاصية',63 'given' => 'بفرض|*',64 'name' => 'Arabic',65 'native' => 'العربية',66 'scenario' => 'سيناريو',67 'scenario_outline' => 'سيناريو مخطط',68 'then' => 'اذاً|ثم|*',69 'when' => 'عندما|متى|*',70 ),71 'ast' => 72 array (73 'and' => 'Ya|*|Y',74 'background' => 'Antecedentes',75 'but' => 'Peru|*',76 'examples' => 'Exemplos',77 'feature' => 'Carauterística',78 'given' => 'Dada|Daos|Daes|Dáu|*',79 'name' => 'Asturian',80 'native' => 'asturianu',81 'scenario' => 'Casu',82 'scenario_outline' => 'Esbozu del casu',83 'then' => 'Entós|*',84 'when' => 'Cuando|*',85 ),86 'az' => 87 array (88 'and' => 'Həm|Və|*',89 'background' => 'Kontekst|Keçmiş',90 'but' => 'Ancaq|Amma|*',91 'examples' => 'Nümunələr',92 'feature' => 'Özəllik',93 'given' => 'Tutaq ki|Verilir|*',94 'name' => 'Azerbaijani',95 'native' => 'Azərbaycanca',96 'scenario' => 'Ssenari',97 'scenario_outline' => 'Ssenarinin strukturu',98 'then' => 'O halda|*',99 'when' => 'Nə vaxt ki|Əgər|*',100 ),101 'bg' => 102 array (103 'and' => '*|И',104 'background' => 'Предистория',105 'but' => 'Но|*',106 'examples' => 'Примери',107 'feature' => 'Функционалност',108 'given' => 'Дадено|*',109 'name' => 'Bulgarian',110 'native' => 'български',111 'scenario' => 'Сценарий',112 'scenario_outline' => 'Рамка на сценарий',113 'then' => 'То|*',114 'when' => 'Когато|*',115 ),116 'bm' => 117 array (118 'and' => 'Dan|*',119 'background' => 'Latar Belakang',120 'but' => 'Tetapi|Tapi|*',121 'examples' => 'Contoh',122 'feature' => 'Fungsi',123 'given' => 'Diberi|Bagi|*',124 'name' => 'Malay',125 'native' => 'Bahasa Melayu',126 'scenario' => 'Senario|Situasi|Keadaan',127 'scenario_outline' => 'Garis Panduan Senario|Kerangka Senario|Kerangka Situasi|Kerangka Keadaan',128 'then' => 'Kemudian|Maka|*',129 'when' => 'Apabila|*',130 ),131 'bs' => 132 array (133 'and' => '*|I|A',134 'background' => 'Pozadina',135 'but' => 'Ali|*',136 'examples' => 'Primjeri',137 'feature' => 'Karakteristika',138 'given' => 'Dato|*',139 'name' => 'Bosnian',140 'native' => 'Bosanski',141 'scenario' => 'Scenariju|Scenario',142 'scenario_outline' => 'Scenario-outline|Scenariju-obris',143 'then' => 'Zatim|*',144 'when' => 'Kada|*',145 ),146 'ca' => 147 array (148 'and' => '*|I',149 'background' => 'Antecedents|Rerefons',150 'but' => 'Però|*',151 'examples' => 'Exemples',152 'feature' => 'Característica|Funcionalitat',153 'given' => 'Donada|Donat|Atesa|Atès|*',154 'name' => 'Catalan',155 'native' => 'català',156 'scenario' => 'Escenari',157 'scenario_outline' => 'Esquema de l\'escenari',158 'then' => 'Aleshores|Cal|*',159 'when' => 'Quan|*',160 ),161 'cs' => 162 array (163 'and' => 'A také|*|A',164 'background' => 'Kontext|Pozadí',165 'but' => 'Ale|*',166 'examples' => 'Příklady',167 'feature' => 'Požadavek',168 'given' => 'Za předpokladu|Pokud|*',169 'name' => 'Czech',170 'native' => 'Česky',171 'scenario' => 'Scénář',172 'scenario_outline' => 'Osnova scénáře|Náčrt Scénáře',173 'then' => 'Pak|*',174 'when' => 'Když|*',175 ),176 'cy-GB' => 177 array (178 'and' => '*|A',179 'background' => 'Cefndir',180 'but' => 'Ond|*',181 'examples' => 'Enghreifftiau',182 'feature' => 'Arwedd',183 'given' => 'Anrhegedig a|*',184 'name' => 'Welsh',185 'native' => 'Cymraeg',186 'scenario' => 'Scenario',187 'scenario_outline' => 'Scenario Amlinellol',188 'then' => 'Yna|*',189 'when' => 'Pryd|*',190 ),191 'da' => 192 array (193 'and' => 'Og|*',194 'background' => 'Baggrund',195 'but' => 'Men|*',196 'examples' => 'Eksempler',197 'feature' => 'Egenskab',198 'given' => 'Givet|*',199 'name' => 'Danish',200 'native' => 'dansk',201 'scenario' => 'Scenarie',202 'scenario_outline' => 'Abstrakt Scenario',203 'then' => 'Så|*',204 'when' => 'Når|*',205 ),206 'de' => 207 array (208 'and' => 'Und|*',209 'background' => 'Grundlage',210 'but' => 'Aber|*',211 'examples' => 'Beispiele',212 'feature' => 'Funktionalität',213 'given' => 'Gegeben seien|Gegeben sei|Angenommen|*',214 'name' => 'German',215 'native' => 'Deutsch',216 'scenario' => 'Szenario',217 'scenario_outline' => 'Szenariogrundriss',218 'then' => 'Dann|*',219 'when' => 'Wenn|*',220 ),221 'el' => 222 array (223 'and' => 'Και|*',224 'background' => 'Υπόβαθρο',225 'but' => 'Αλλά|*',226 'examples' => 'Παραδείγματα|Σενάρια',227 'feature' => 'Δυνατότητα|Λειτουργία',228 'given' => 'Δεδομένου|*',229 'name' => 'Greek',230 'native' => 'Ελληνικά',231 'scenario' => 'Σενάριο',232 'scenario_outline' => 'Περιγραφή Σεναρίου',233 'then' => 'Τότε|*',234 'when' => 'Όταν|*',235 ),236 'em' => 237 array (238 'and' => '😂<|*',239 'background' => '💤',240 'but' => '😔<|*',241 'examples' => '📓',242 'feature' => '📚',243 'given' => '😐<|*',244 'name' => 'Emoji',245 'native' => '😀',246 'scenario' => '📕',247 'scenario_outline' => '📖',248 'then' => '🙏<|*',249 'when' => '🎬<|*',250 ),251 'en-Scouse' => 252 array (253 'and' => 'An|*',254 'background' => 'Dis is what went down',255 'but' => 'Buh|*',256 'examples' => 'Examples',257 'feature' => 'Feature',258 'given' => 'Youse know when youse got|Givun|*',259 'name' => 'Scouse',260 'native' => 'Scouse',261 'scenario' => 'The thing of it is',262 'scenario_outline' => 'Wharrimean is',263 'then' => 'Den youse gotta|Dun|*',264 'when' => 'Youse know like when|Wun|*',265 ),266 'en-au' => 267 array (268 'and' => 'Too right|*',269 'background' => 'First off',270 'but' => 'Yeah nah|*',271 'examples' => 'You\'ll wanna',272 'feature' => 'Pretty much',273 'given' => 'Y\'know|*',274 'name' => 'Australian',275 'native' => 'Australian',276 'scenario' => 'Awww, look mate',277 'scenario_outline' => 'Reckon it\'s like',278 'then' => 'But at the end of the day I reckon|*',279 'when' => 'It\'s just unbelievable|*',280 ),281 'en-lol' => 282 array (283 'and' => 'AN|*',284 'background' => 'B4',285 'but' => 'BUT|*',286 'examples' => 'EXAMPLZ',287 'feature' => 'OH HAI',288 'given' => 'I CAN HAZ|*',289 'name' => 'LOLCAT',290 'native' => 'LOLCAT',291 'scenario' => 'MISHUN',292 'scenario_outline' => 'MISHUN SRSLY',293 'then' => 'DEN|*',294 'when' => 'WEN|*',295 ),296 'en-old' => 297 array (298 'and' => 'Ond|*|7',299 'background' => 'Aer|Ær',300 'but' => 'Ac|*',301 'examples' => 'Se the|Se þe|Se ðe',302 'feature' => 'Hwaet|Hwæt',303 'given' => 'Thurh|Þurh|Ðurh|*',304 'name' => 'Old English',305 'native' => 'Englisc',306 'scenario' => 'Swa',307 'scenario_outline' => 'Swa hwaer swa|Swa hwær swa',308 'then' => 'Tha the|Þa þe|Ða ðe|Tha|Þa|Ða|*',309 'when' => 'Tha|Þa|Ða|*',310 ),311 'en-pirate' => 312 array (313 'and' => 'Aye|*',314 'background' => 'Yo-ho-ho',315 'but' => 'Avast!|*',316 'examples' => 'Dead men tell no tales',317 'feature' => 'Ahoy matey!',318 'given' => 'Gangway!|*',319 'name' => 'Pirate',320 'native' => 'Pirate',321 'scenario' => 'Heave to',322 'scenario_outline' => 'Shiver me timbers',323 'then' => 'Let go and haul|*',324 'when' => 'Blimey!|*',325 ),326 'eo' => 327 array (328 'and' => 'Kaj|*',329 'background' => 'Fono',330 'but' => 'Sed|*',331 'examples' => 'Ekzemploj',332 'feature' => 'Trajto',333 'given' => 'Donitaĵo|Komence|*',334 'name' => 'Esperanto',335 'native' => 'Esperanto',336 'scenario' => 'Scenaro|Kazo',337 'scenario_outline' => 'Konturo de la scenaro|Kazo-skizo|Skizo',338 'then' => 'Do|*',339 'when' => 'Se|*',340 ),341 'es' => 342 array (343 'and' => '*|Y|E',344 'background' => 'Antecedentes',345 'but' => 'Pero|*',346 'examples' => 'Ejemplos',347 'feature' => 'Característica',348 'given' => 'Dados|Dadas|Dada|Dado|*',349 'name' => 'Spanish',350 'native' => 'español',351 'scenario' => 'Escenario',352 'scenario_outline' => 'Esquema del escenario',353 'then' => 'Entonces|*',354 'when' => 'Cuando|*',355 ),356 'et' => 357 array (358 'and' => 'Ja|*',359 'background' => 'Taust',360 'but' => 'Kuid|*',361 'examples' => 'Juhtumid',362 'feature' => 'Omadus',363 'given' => 'Eeldades|*',364 'name' => 'Estonian',365 'native' => 'eesti keel',366 'scenario' => 'Stsenaarium',367 'scenario_outline' => 'Raamstsenaarium',368 'then' => 'Siis|*',369 'when' => 'Kui|*',370 ),371 'fa' => 372 array (373 'and' => '*|و',374 'background' => 'زمینه',375 'but' => 'اما|*',376 'examples' => 'نمونه ها',377 'feature' => 'وِیژگی',378 'given' => 'با فرض|*',379 'name' => 'Persian',380 'native' => 'فارسی',381 'scenario' => 'سناریو',382 'scenario_outline' => 'الگوی سناریو',383 'then' => 'آنگاه|*',384 'when' => 'هنگامی|*',385 ),386 'fi' => 387 array (388 'and' => 'Ja|*',389 'background' => 'Tausta',390 'but' => 'Mutta|*',391 'examples' => 'Tapaukset',392 'feature' => 'Ominaisuus',393 'given' => 'Oletetaan|*',394 'name' => 'Finnish',395 'native' => 'suomi',396 'scenario' => 'Tapaus',397 'scenario_outline' => 'Tapausaihio',398 'then' => 'Niin|*',399 'when' => 'Kun|*',400 ),401 'fr' => 402 array (403 'and' => 'Et qu\'<|Et que|Et|*',404 'background' => 'Contexte',405 'but' => 'Mais qu\'<|Mais que|Mais|*',406 'examples' => 'Exemples',407 'feature' => 'Fonctionnalité',408 'given' => 'Etant donné qu\'<|Étant donné qu\'<|Etant donné que|Étant donné que|Etant données|Étant données|Etant donnée|Etant donnés|Étant donnée|Étant donnés|Etant donné|Étant donné|Soit|*',409 'name' => 'French',410 'native' => 'français',411 'scenario' => 'Scénario',412 'scenario_outline' => 'Plan du scénario|Plan du Scénario',413 'then' => 'Alors|*',414 'when' => 'Lorsqu\'<|Lorsque|Quand|*',415 ),416 'ga' => 417 array (418 'and' => 'Agus<|*',419 'background' => 'Cúlra',420 'but' => 'Ach<|*',421 'examples' => 'Samplaí',422 'feature' => 'Gné',423 'given' => 'Cuir i gcás nach<|Cuir i gcás gur<|Cuir i gcás nár<|Cuir i gcás go<|*',424 'name' => 'Irish',425 'native' => 'Gaeilge',426 'scenario' => 'Cás',427 'scenario_outline' => 'Cás Achomair',428 'then' => 'Ansin<|*',429 'when' => 'Nuair nach<|Nuair nár<|Nuair ba<|Nuair a<|*',430 ),431 'gj' => 432 array (433 'and' => 'અને|*',434 'background' => 'બેકગ્રાઉન્ડ',435 'but' => 'પણ|*',436 'examples' => 'ઉદાહરણો',437 'feature' => 'વ્યાપાર જરૂર|ક્ષમતા|લક્ષણ',438 'given' => 'આપેલ છે|*',439 'name' => 'Gujarati',440 'native' => 'ગુજરાતી',441 'scenario' => 'સ્થિતિ',442 'scenario_outline' => 'પરિદ્દશ્ય રૂપરેખા|પરિદ્દશ્ય ઢાંચો',443 'then' => 'પછી|*',444 'when' => 'ક્યારે|*',445 ),446 'gl' => 447 array (448 'and' => '*|E',449 'background' => 'Contexto',450 'but' => 'Pero|Mais|*',451 'examples' => 'Exemplos',452 'feature' => 'Característica',453 'given' => 'Dados|Dadas|Dada|Dado|*',454 'name' => 'Galician',455 'native' => 'galego',456 'scenario' => 'Escenario',457 'scenario_outline' => 'Esbozo do escenario',458 'then' => 'Entón|Logo|*',459 'when' => 'Cando|*',460 ),461 'he' => 462 array (463 'and' => 'וגם|*',464 'background' => 'רקע',465 'but' => 'אבל|*',466 'examples' => 'דוגמאות',467 'feature' => 'תכונה',468 'given' => 'בהינתן|*',469 'name' => 'Hebrew',470 'native' => 'עברית',471 'scenario' => 'תרחיש',472 'scenario_outline' => 'תבנית תרחיש',473 'then' => 'אזי|אז|*',474 'when' => 'כאשר|*',475 ),476 'hi' => 477 array (478 'and' => 'तथा|और|*',479 'background' => 'पृष्ठभूमि',480 'but' => 'परन्तु|किन्तु|पर|*',481 'examples' => 'उदाहरण',482 'feature' => 'रूप लेख',483 'given' => 'चूंकि|यदि|अगर|*',484 'name' => 'Hindi',485 'native' => 'हिंदी',486 'scenario' => 'परिदृश्य',487 'scenario_outline' => 'परिदृश्य रूपरेखा',488 'then' => 'तदा|तब|*',489 'when' => 'कदा|जब|*',490 ),491 'hr' => 492 array (493 'and' => '*|I',494 'background' => 'Pozadina',495 'but' => 'Ali|*',496 'examples' => 'Scenariji|Primjeri',497 'feature' => 'Mogucnost|Mogućnost|Osobina',498 'given' => 'Zadani|Zadano|Zadan|*',499 'name' => 'Croatian',500 'native' => 'hrvatski',501 'scenario' => 'Scenarij',502 'scenario_outline' => 'Koncept|Skica',503 'then' => 'Onda|*',504 'when' => 'Kada|Kad|*',505 ),506 'ht' => 507 array (508 'and' => 'Epi|Ak|*|E',509 'background' => 'Kontèks|Istorik',510 'but' => 'Men|*',511 'examples' => 'Egzanp',512 'feature' => 'Karakteristik|Fonksyonalite|Mak',513 'given' => 'Sipoze ke|Sipoze Ke|Sipoze|*',514 'name' => 'Creole',515 'native' => 'kreyòl',516 'scenario' => 'Senaryo',517 'scenario_outline' => 'Senaryo deskripsyon|Senaryo Deskripsyon|Dyagram senaryo|Dyagram Senaryo|Plan senaryo|Plan Senaryo',518 'then' => 'Le sa a|Lè sa a|*',519 'when' => 'Le|Lè|*',520 ),521 'hu' => 522 array (523 'and' => 'És|*',524 'background' => 'Háttér',525 'but' => 'De|*',526 'examples' => 'Példák',527 'feature' => 'Jellemző',528 'given' => 'Amennyiben|Adott|*',529 'name' => 'Hungarian',530 'native' => 'magyar',531 'scenario' => 'Forgatókönyv',532 'scenario_outline' => 'Forgatókönyv vázlat',533 'then' => 'Akkor|*',534 'when' => 'Amikor|Majd|Ha|*',535 ),536 'id' => 537 array (538 'and' => 'Dan|*',539 'background' => 'Dasar',540 'but' => 'Tapi|*',541 'examples' => 'Contoh',542 'feature' => 'Fitur',543 'given' => 'Dengan|*',544 'name' => 'Indonesian',545 'native' => 'Bahasa Indonesia',546 'scenario' => 'Skenario',547 'scenario_outline' => 'Skenario konsep',548 'then' => 'Maka|*',549 'when' => 'Ketika|*',550 ),551 'is' => 552 array (553 'and' => 'Og|*',554 'background' => 'Bakgrunnur',555 'but' => 'En|*',556 'examples' => 'Atburðarásir|Dæmi',557 'feature' => 'Eiginleiki',558 'given' => 'Ef|*',559 'name' => 'Icelandic',560 'native' => 'Íslenska',561 'scenario' => 'Atburðarás',562 'scenario_outline' => 'Lýsing Atburðarásar|Lýsing Dæma',563 'then' => 'Þá|*',564 'when' => 'Þegar|*',565 ),566 'it' => 567 array (568 'and' => '*|E',569 'background' => 'Contesto',570 'but' => 'Ma|*',571 'examples' => 'Esempi',572 'feature' => 'Funzionalità',573 'given' => 'Data|Dato|Dati|Date|*',574 'name' => 'Italian',575 'native' => 'italiano',576 'scenario' => 'Scenario',577 'scenario_outline' => 'Schema dello scenario',578 'then' => 'Allora|*',579 'when' => 'Quando|*',580 ),581 'ja' => 582 array (583 'and' => 'かつ<|*',584 'background' => '背景',585 'but' => 'しかし<|ただし<|但し<|*',586 'examples' => 'サンプル|例',587 'feature' => 'フィーチャ|機能',588 'given' => '前提<|*',589 'name' => 'Japanese',590 'native' => '日本語',591 'scenario' => 'シナリオ',592 'scenario_outline' => 'シナリオアウトライン|シナリオテンプレート|シナリオテンプレ|テンプレ',593 'then' => 'ならば<|*',594 'when' => 'もし<|*',595 ),596 'jv' => 597 array (598 'and' => 'Lan|*',599 'background' => 'Dasar',600 'but' => 'Ananging|Nanging|Tapi|*',601 'examples' => 'Contone|Conto',602 'feature' => 'Fitur',603 'given' => 'Nalikaning|Nalika|*',604 'name' => 'Javanese',605 'native' => 'Basa Jawa',606 'scenario' => 'Skenario',607 'scenario_outline' => 'Konsep skenario',608 'then' => 'Banjur|Njuk|*',609 'when' => 'Menawa|Manawa|*',610 ),611 'kn' => 612 array (613 'and' => 'ಮತ್ತು|*',614 'background' => 'ಹಿನ್ನೆಲೆ',615 'but' => 'ಆದರೆ|*',616 'examples' => 'ಉದಾಹರಣೆಗಳು',617 'feature' => 'ಹೆಚ್ಚಳ',618 'given' => 'ನೀಡಿದ|*',619 'name' => 'Kannada',620 'native' => 'ಕನ್ನಡ',621 'scenario' => 'ಕಥಾಸಾರಾಂಶ',622 'scenario_outline' => 'ವಿವರಣೆ',623 'then' => 'ನಂತರ|*',624 'when' => 'ಸ್ಥಿತಿಯನ್ನು|*',625 ),626 'ko' => 627 array (628 'and' => '그리고<|*',629 'background' => '배경',630 'but' => '하지만<|단<|*',631 'examples' => '예',632 'feature' => '기능',633 'given' => '먼저<|조건<|*',634 'name' => 'Korean',635 'native' => '한국어',636 'scenario' => '시나리오',637 'scenario_outline' => '시나리오 개요',638 'then' => '그러면<|*',639 'when' => '만약<|만일<|*',640 ),641 'lt' => 642 array (643 'and' => 'Ir|*',644 'background' => 'Kontekstas',645 'but' => 'Bet|*',646 'examples' => 'Pavyzdžiai|Scenarijai|Variantai',647 'feature' => 'Savybė',648 'given' => 'Duota|*',649 'name' => 'Lithuanian',650 'native' => 'lietuvių kalba',651 'scenario' => 'Scenarijus',652 'scenario_outline' => 'Scenarijaus šablonas',653 'then' => 'Tada|*',654 'when' => 'Kai|*',655 ),656 'lu' => 657 array (658 'and' => 'an|*|a',659 'background' => 'Hannergrond',660 'but' => 'awer|mä|*',661 'examples' => 'Beispiller',662 'feature' => 'Funktionalitéit',663 'given' => 'ugeholl|*',664 'name' => 'Luxemburgish',665 'native' => 'Lëtzebuergesch',666 'scenario' => 'Szenario',667 'scenario_outline' => 'Plang vum Szenario',668 'then' => 'dann|*',669 'when' => 'wann|*',670 ),671 'lv' => 672 array (673 'and' => 'Un|*',674 'background' => 'Konteksts|Situācija',675 'but' => 'Bet|*',676 'examples' => 'Piemēri|Paraugs',677 'feature' => 'Funkcionalitāte|Fīča',678 'given' => 'Kad|*',679 'name' => 'Latvian',680 'native' => 'latviešu',681 'scenario' => 'Scenārijs',682 'scenario_outline' => 'Scenārijs pēc parauga',683 'then' => 'Tad|*',684 'when' => 'Ja|*',685 ),686 'mn' => 687 array (688 'and' => 'Тэгээд|Мөн|*',689 'background' => 'Агуулга',690 'but' => 'Гэхдээ|Харин|*',691 'examples' => 'Тухайлбал',692 'feature' => 'Функционал|Функц',693 'given' => 'Өгөгдсөн нь|Анх|*',694 'name' => 'Mongolian',695 'native' => 'монгол',696 'scenario' => 'Сценар',697 'scenario_outline' => 'Сценарын төлөвлөгөө',698 'then' => 'Үүний дараа|Тэгэхэд|*',699 'when' => 'Хэрэв|*',700 ),701 'nl' => 702 array (703 'and' => 'En|*',704 'background' => 'Achtergrond',705 'but' => 'Maar|*',706 'examples' => 'Voorbeelden',707 'feature' => 'Functionaliteit',708 'given' => 'Gegeven|Stel|*',709 'name' => 'Dutch',710 'native' => 'Nederlands',711 'scenario' => 'Scenario',712 'scenario_outline' => 'Abstract Scenario',713 'then' => 'Dan|*',714 'when' => 'Als|*',715 ),716 'no' => 717 array (718 'and' => 'Og|*',719 'background' => 'Bakgrunn',720 'but' => 'Men|*',721 'examples' => 'Eksempler',722 'feature' => 'Egenskap',723 'given' => 'Gitt|*',724 'name' => 'Norwegian',725 'native' => 'norsk',726 'scenario' => 'Scenario',727 'scenario_outline' => 'Abstrakt Scenario|Scenariomal',728 'then' => 'Så|*',729 'when' => 'Når|*',730 ),731 'pa' => 732 array (733 'and' => 'ਅਤੇ|*',734 'background' => 'ਪਿਛੋਕੜ',735 'but' => 'ਪਰ|*',736 'examples' => 'ਉਦਾਹਰਨਾਂ',737 'feature' => 'ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|ਖਾਸੀਅਤ',738 'given' => 'ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|*',739 'name' => 'Panjabi',740 'native' => 'ਪੰਜਾਬੀ',741 'scenario' => 'ਪਟਕਥਾ',742 'scenario_outline' => 'ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ',743 'then' => 'ਤਦ|*',744 'when' => 'ਜਦੋਂ|*',745 ),746 'pl' => 747 array (748 'and' => 'Oraz|*|I',749 'background' => 'Założenia',750 'but' => 'Ale|*',751 'examples' => 'Przykłady',752 'feature' => 'Potrzeba biznesowa|Właściwość|Funkcja|Aspekt',753 'given' => 'Zakładając, że|Zakładając|Mając|*',754 'name' => 'Polish',755 'native' => 'polski',756 'scenario' => 'Scenariusz',757 'scenario_outline' => 'Szablon scenariusza',758 'then' => 'Wtedy|*',759 'when' => 'Jeżeli|Jeśli|Kiedy|Gdy|*',760 ),761 'pt' => 762 array (763 'and' => '*|E',764 'background' => 'Cenario de Fundo|Cenário de Fundo|Contexto|Fundo',765 'but' => 'Mas|*',766 'examples' => 'Exemplos|Cenários|Cenarios',767 'feature' => 'Funcionalidade|Característica|Caracteristica',768 'given' => 'Dados|Dadas|Dada|Dado|*',769 'name' => 'Portuguese',770 'native' => 'português',771 'scenario' => 'Cenário|Cenario',772 'scenario_outline' => 'Delineação do Cenário|Delineacao do Cenario|Esquema do Cenário|Esquema do Cenario',773 'then' => 'Entao|Então|*',774 'when' => 'Quando|*',775 ),776 'ro' => 777 array (778 'and' => 'Și|Si|Şi|*',779 'background' => 'Context',780 'but' => 'Dar|*',781 'examples' => 'Exemple',782 'feature' => 'Functionalitate|Funcționalitate|Funcţionalitate',783 'given' => 'Date fiind|Dati fiind|Dați fiind|Daţi fiind|Dat fiind|*',784 'name' => 'Romanian',785 'native' => 'română',786 'scenario' => 'Scenariu',787 'scenario_outline' => 'Structura scenariu|Structură scenariu',788 'then' => 'Atunci|*',789 'when' => 'Când|Cand|*',790 ),791 'ru' => 792 array (793 'and' => 'К тому же|Также|*|И',794 'background' => 'Предыстория|Контекст',795 'but' => 'Но|*|А',796 'examples' => 'Примеры',797 'feature' => 'Функциональность|Функционал|Свойство|Функция',798 'given' => 'Допустим|Пусть|Дано|*',799 'name' => 'Russian',800 'native' => 'русский',801 'scenario' => 'Сценарий',802 'scenario_outline' => 'Структура сценария',803 'then' => 'Тогда|То|*',804 'when' => 'Когда|Если|*',805 ),806 'sk' => 807 array (808 'and' => 'A taktiež|A zároveň|A tiež|*|A',809 'background' => 'Pozadie',810 'but' => 'Ale|*',811 'examples' => 'Príklady',812 'feature' => 'Požiadavka|Vlastnosť|Funkcia',813 'given' => 'Za predpokladu|Pokiaľ|*',814 'name' => 'Slovak',815 'native' => 'Slovensky',816 'scenario' => 'Scenár',817 'scenario_outline' => 'Osnova Scenára|Náčrt Scenáru|Náčrt Scenára',818 'then' => 'Potom|Tak|*',819 'when' => 'Keď|Ak|*',820 ),821 'sl' => 822 array (823 'and' => 'Ter|In',824 'background' => 'Kontekst|Osnova|Ozadje',825 'but' => 'Vendar|Ampak|Toda',826 'examples' => 'Scenariji|Primeri',827 'feature' => 'Funkcionalnost|Značilnost|Funkcija|Možnosti|Moznosti|Lastnost',828 'given' => 'Privzeto|Zaradi|Podano|Dano',829 'name' => 'Slovenian',830 'native' => 'Slovenski',831 'scenario' => 'Scenarij|Primer',832 'scenario_outline' => 'Struktura scenarija|Oris scenarija|Koncept|Osnutek|Skica',833 'then' => 'Takrat|Potem|Nato',834 'when' => 'Kadar|Ko|Ce|Če',835 ),836 'sr-Cyrl' => 837 array (838 'and' => '*|И',839 'background' => 'Контекст|Позадина|Основа',840 'but' => 'Али|*',841 'examples' => 'Сценарији|Примери',842 'feature' => 'Функционалност|Могућност|Особина',843 'given' => 'За дате|За дато|За дати|*',844 'name' => 'Serbian',845 'native' => 'Српски',846 'scenario' => 'Сценарио|Пример',847 'scenario_outline' => 'Структура сценарија|Концепт|Скица',848 'then' => 'Онда|*',849 'when' => 'Када|Кад|*',850 ),851 'sr-Latn' => 852 array (853 'and' => '*|I',854 'background' => 'Kontekst|Pozadina|Osnova',855 'but' => 'Ali|*',856 'examples' => 'Scenariji|Primeri',857 'feature' => 'Funkcionalnost|Mogućnost|Mogucnost|Osobina',858 'given' => 'Za date|Za dato|Za dati|*',859 'name' => 'Serbian (Latin)',860 'native' => 'Srpski (Latinica)',861 'scenario' => 'Scenario|Primer',862 'scenario_outline' => 'Struktura scenarija|Koncept|Skica',863 'then' => 'Onda|*',864 'when' => 'Kada|Kad|*',865 ),866 'sv' => 867 array (868 'and' => 'Och|*',869 'background' => 'Bakgrund',870 'but' => 'Men|*',871 'examples' => 'Exempel',872 'feature' => 'Egenskap',873 'given' => 'Givet|*',874 'name' => 'Swedish',875 'native' => 'Svenska',876 'scenario' => 'Scenario',877 'scenario_outline' => 'Abstrakt Scenario|Scenariomall',878 'then' => 'Så|*',879 'when' => 'När|*',880 ),881 'ta' => 882 array (883 'and' => 'மற்றும்|மேலும்|*',884 'background' => 'பின்னணி',885 'but' => 'ஆனால்|*',886 'examples' => 'எடுத்துக்காட்டுகள்| நிலைமைகளில்|காட்சிகள்',887 'feature' => 'வணிக தேவை|அம்சம்|திறன்',888 'given' => 'கொடுக்கப்பட்ட|*',889 'name' => 'Tamil',890 'native' => 'தமிழ்',891 'scenario' => 'காட்சி',...

Full Screen

Full Screen

Scenario

Using AI Code Generation

copy

Full Screen

1require_once 'Cucumber/Common/Scenario.php';2$scenario = new Cucumber\Common\Scenario();3$scenario->setFeature('Feature 1');4$scenario->setScenario('Scenario 1');5$scenario->setStep('Given I am on the home page');6$scenario->setStep('When I click on the "About" link');7$scenario->setStep('Then I should see the "About" page');8$scenario->setStep('And the title should be "About Us"');9$scenario->setStep('And the heading should be "About Us"');10$scenario->setStep('And the sub heading should be "This is the About page"');11$scenario->setStep('And the footer should contain "Copyright 2010"');12$scenario->setStep('And the footer should contain "All Rights Reserved"');13$scenario->setStep('And the footer should contain "Company Name"');14$scenario->setStep('And the footer should contain "Company Address"');15$scenario->setStep('And the footer should contain "Company Phone"');16$scenario->setStep('And the footer should contain "Company Email"');17$scenario->setStep('And the footer should contain "Company Website"');18$scenario->setStep('And the footer should contain "Company Twitter"');19$scenario->setStep('And the footer should contain "Company Facebook"');20$scenario->setStep('And the footer should contain "Company LinkedIn"');21$scenario->setStep('And the footer should contain "Company Google+"');22$scenario->setStep('And the footer should contain "Company YouTube"');23$scenario->setStep('And the footer should contain "Company Flickr"');24$scenario->setStep('And the footer should contain "Company Pinterest"');25$scenario->setStep('And the footer should contain "Company Instagram"');26$scenario->setStep('And the footer should contain "Company Tumblr"');27$scenario->setStep('And the footer should contain "Company Vine"');28$scenario->setStep('And the footer should contain "Company Snapchat"');29$scenario->setStep('And the footer should contain "Company Periscope"');30$scenario->setStep('And the footer should contain "Company SoundCloud"');31$scenario->setStep('And the footer should contain "Company MixCloud"');32$scenario->setStep('And the footer should contain "Company Reddit"');

Full Screen

Full Screen

Scenario

Using AI Code Generation

copy

Full Screen

1require_once 'CucumberCommon.php';2$scenario = new Scenario();3$scenario->Given('I am on the home page', function() use ($scenario) {4});5$scenario->When('I search for Cucumber', function() use ($scenario) {6 $scenario->fillField('q', 'Cucumber');7 $scenario->pressButton('btnG');8});9$scenario->Then('I should see some results', function() use ($scenario) {10 $scenario->assertPageContainsText('Cucumber');11});12$scenario->run();

Full Screen

Full Screen

Scenario

Using AI Code Generation

copy

Full Screen

1use Cucumber\Gherkin\Node\ScenarioInterface;2use Cucumber\Gherkin\Node\StepInterface;3use Cucumber\Behat\Hook\Scope\BeforeScenarioScope;4use Behat\Behat\Hook\Scope\BeforeScenarioScope;5use Behat\Behat\Hook\Scope\AfterScenarioScope;6{7 private $scenario;8 private $beforeScenarioScope;9 private $afterScenarioScope;10 private $step;11 private $scenarioName;12 private $stepName;13 private $isScenarioFailed = false;14 private $scenarioStatus;15 private $scenarioPath;16 private $scenarioLine;17 private $scenarioKeyword;18 private $stepKeyword;19 private $stepType;20 private $stepText;21 private $stepLine;22 private $stepPath;23 private $scenarioTags;24 private $scenarioDescription;25 private $stepDescription;26 private $stepTags;27 private $stepOutput;28 private $stepException;

Full Screen

Full Screen

Scenario

Using AI Code Generation

copy

Full Screen

1require_once 'CucumberCommonLibrary/Scenario.php';2$scenario = new Scenario();3$scenario->setName('Scenario Name');4$scenario->setTags(array('@tag1', '@tag2'));5$scenario->setSteps(array(6 'Then I should see "Cucumber"'));7$scenario->setExamples(array(8 array('search', 'search result'),9 array('test', 'test result')));10$scenario->setExampleTags(array('@tag1', '@tag2'));11$scenario->setExampleSteps(array(12 'Then I should see "<search result>"'));13$scenario->setExampleStepArguments(array(14 array('search', 'search result'),15 array('test', 'test result')));16$scenario->setExampleStepArgumentTags(array('@tag1', '@tag2'));17$scenario->setExampleStepArgumentRows(array(18 array('search', 'search result'),19 array('test', 'test result')));20$scenario->setExampleStepArgumentRowTags(array('@tag1', '@tag2'));21$scenario->setExampleStepArgumentRowCells(array(22 array('search', 'search result'),23 array('test', 'test result')));24$scenario->setExampleStepArgumentRowCellTags(array('@tag1', '@tag2'));25$scenario->getName();26$scenario->getTags();27$scenario->getSteps();28$scenario->getExamples();29$scenario->getExampleTags();30$scenario->getExampleSteps();

Full Screen

Full Screen

Scenario

Using AI Code Generation

copy

Full Screen

1use Cucumber\Common\Scenario;2use Cucumber\Common\Scenario;3Scenario::setScenarioData('mydata', $mydata);4Scenario::setScenarioData('mydata', $mydata);5Scenario::getScenarioData('mydata');6Scenario::getScenarioData('mydata');7Scenario::removeScenarioData('mydata');8Scenario::removeScenarioData('mydata');9Scenario::setScenarioData('mydata', $mydata);10Scenario::setScenarioData('mydata', $mydata);11Scenario::getScenarioData('mydata');12Scenario::getScenarioData('mydata');13Scenario::removeScenarioData('mydata');14Scenario::removeScenarioData('mydata');15Scenario::setScenarioData('mydata', $mydata);16Scenario::setScenarioData('mydata', $mydata);17Scenario::getScenarioData('mydata');18Scenario::getScenarioData('mydata');19Scenario::removeScenarioData('mydata');20Scenario::removeScenarioData('mydata');21Scenario::setScenarioData('mydata', $mydata);22Scenario::setScenarioData('mydata', $mydata);23Scenario::getScenarioData('mydata');24Scenario::getScenarioData('mydata');25Scenario::removeScenarioData('mydata');26Scenario::removeScenarioData('mydata');27Scenario::setScenarioData('mydata', $mydata);28Scenario::setScenarioData('mydata', $mydata);29Scenario::getScenarioData('mydata');30Scenario::getScenarioData('mydata');31Scenario::removeScenarioData('mydata');32Scenario::removeScenarioData('mydata');33Scenario::setScenarioData('mydata', $mydata);34Scenario::setScenarioData('mydata', $mydata);35Scenario::getScenarioData('mydata');36Scenario::getScenarioData('mydata');37Scenario::removeScenarioData('mydata');38Scenario::removeScenarioData('mydata');39Scenario::setScenarioData('mydata', $mydata);40Scenario::setScenarioData('mydata', $mydata);41Scenario::getScenarioData('mydata');42Scenario::getScenarioData('mydata');43Scenario::removeScenarioData('mydata');44Scenario::removeScenarioData('mydata');45Scenario::setScenarioData('mydata', $mydata);46Scenario::setScenarioData('mydata', $mydata);47Scenario::getScenarioData('mydata');

Full Screen

Full Screen

Automation Testing Tutorials

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.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Cucumber Common Library automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Run Selenium Automation Tests on LambdaTest Cloud Grid

Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful