i got more information. When i type ie.show_links on irb i got this : [b] irb(main):006:0> ie.show_links index name id href text/src 1 http://forums.int.sncf.fr/ / http://localhost:7001/Jsp/images/ent_forum_off.gif 2 http://annuaire.int.sncf.fr/ / http://localhost:7001/Jsp/images/ent_annuaire_off.gif 3 http://recherche.int.sncf.fr/ / http://localhost:7001/Jsp/images/ent_recherche_off.gif 4 http://aide.int.sncf.fr/ / http://localhost:7001/Jsp/images/ent_aide_off.gif 5 http://localhost:7001/index.do Accueil 6 http://localhost:7001/gestion/consultationAS.do Cst_AS 7 http://localhost:7001/gestion/creationEvenement.do ?cancelType=3Evt_AS 8 http://localhost:7001/gestion/modificationAS.do Modif_AS 9 http://localhost:7001/gestion/suppressionAS.do Destruct_AS 10 http://localhost:7001/gestion/creationPG.do Incp_PG 11 http://localhost:7001/gestion/suppressionPG.do Supr_PG 12 http://localhost:7001/gestion/restitutionEvnmt.do Cst_EVT 13 http://localhost:7001/gestion/suiviMajFAS.do Clst.MAJ 14 javascript:nop();selectEquipementInList('critere.l ocDepart.label',%20'critere.locDepart.value',%20'false',%20'false');>> [u]15 javascript:selection(null,%20'critere.symbol.symbo le','distinct%20symb,\'(\'%20||%20symb%20||%20\')\',libelle,symb%20as%20CLE','sy mb,libelle','','tb_assymb','symb,libelle','symb','CLE',1,true);>>[/u] 16 javascript:selectionSymbole('critere.symbol.constr ucteur','critere.symbol.constructeurLib',1,%20true);>> 17 javascript:selectionSymbole('critere.symbol.lettre ',%20'critere.symbol.lettreLib',%202,%20false);>> => nil [/b]
When i try to access to this link with it's id, like this : ie.link(:index,"15").click I got this response : [b] 1) Error: test_fasnouvsymboletrechavancee(TC_fasnouvsymboleetrechavancee): Watir::Exception::UnknownObjectException: Unable to locate object, using index and 15 C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists' C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2009:in `click' C:\Commun\Developpement\workspace\TestFonctio/tc/description/recherche/t_c_fasnouvsymboleetrechavancee.rb:51:in `test_fasnouvsymboletrechavancee'[/b] --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6498&messageID=18466#18466 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general