#{selenium 'Try more complex binding'} // open('@{HopHouses.index()}') type('id', 'ABC') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '0, 0, 0,') assertText('moreNumbers', ', , ,') assertText('tags', ' , , , ') assertText('noSet', '') assertText('noSetList', '') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers2', '98') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 98, 0,') assertText('moreNumbers', ', , ,') assertText('tags', ' , , , ') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers3', '-12') type('moreNumbers1', '35657.56') type('moreNumbers2', 'nimp') type('moreNumbers3', '-34435355') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 0, -12,') assertText('moreNumbers', '35657, -34435355,') assertText('tags', ', , ,') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers3', '-12') type('moreMoreNumbers1', '35657.56') type('moreMoreNumbers2', 'nimp') type('moreMoreNumbers3', '-34435355') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 0, -12,') assertText('moreMoreNumbers', '35657, -34435355,') assertText('tags', ', , ,') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers3', '-12') type('moreTags1', 'A') type('moreTags2', 'B') type('moreTags3', 'C') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 0, -12,') assertText('tags', ', , ,') assertText('moreTags', 'A, , , , B, , C,') assertTextPresent('x=null') assertTextPresent('y=null') // open('@{HopHouses.index()}') type('id', 'ABC') type('x', '3') type('y', '-12') clickAndWait('go') assertTextPresent('x=3') assertTextPresent('y=-12') // open('@{HopHouses.index()}') type('id', 'ABC') type('x', 'nimp') type('y', '-12') clickAndWait('go') assertTextPresent('x=null') assertTextPresent('y=-12') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers3', '-12') type('moreNumbers1', '35657.56') type('moreNumbers2', 'nimp') type('moreNumbers3', '-34435355') type('tags1', 'fff') type('tags3', '日本語') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 0, -12,') assertText('moreNumbers', '35657, -34435355,') assertText('tags', 'fff, , 日本語,') // open('@{HopHouses.index()}') type('id', 'ABC') type('numbers1', '3') type('numbers3', '-12') type('moreNumbers1', '35657.56') type('moreNumbers2', 'nimp') type('moreNumbers3', '-34435355') type('tags1', 'fff') type('tags3', '日本語') type('addressId', '56') type('addressCity', 'Paris') type('addressStreet', 'rue des pyrénées') type('addressNumber', '3') type('addressDog1', 'kiki') type('addressDog2', 'lulu') clickAndWait('go') assertText('id', 'ABC') assertText('numbers', '3, 0, -12,') assertText('moreNumbers', '35657, -34435355,') assertText('tags', 'fff, , 日本語,') assertTextPresent('56') assertTextPresent('Paris') assertText('a.number', '3') assertTextPresent('rue des pyrénées') assertTextPresent('2 bikes') assertText('a.dogs', '*6 dogs*kiki*lulu*') // open('@{HopHouses.index()}') type('id', 'YOP') type('textFr', 'Coucou') type('textEn', 'Hello') clickAndWait('go') assertText('id', 'YOP') assertTextPresent('en=Hello') assertTextPresent('fr=Coucou') // open('@{HopHouses.index()}') type('id', 'YOP') type('textFr', 'Coucou') type('textEn', 'Hello') type('dog1Name', 'Kiki') type('dog1Age', '3') clickAndWait('go') assertText('id', 'YOP') assertTextPresent('Kiki(3)') // open('@{HopHouses.index()}') type('id', 'YOP') type('textFr', 'Coucou') type('textEn', 'Hello') type('dog1Name', 'Kiki') type('dog1Age', '3') type('dog2Name', 'Lulu') clickAndWait('go') assertText('id', 'YOP') assertTextPresent('Kiki(3),*,*,*,*Lulu(null),') #{/selenium}