{"action":"created","issue":{"url":"https://api.github.com/repos/demoiselle/behave/issues/312","labels_url":"https://api.github.com/repos/demoiselle/behave/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/demoiselle/behave/issues/312/comments","events_url":"https://api.github.com/repos/demoiselle/behave/issues/312/events","html_url":"https://github.com/demoiselle/behave/issues/312","id":59962279,"number":312,"title":"'textVisible' não encontra 'button' com esse 'value' igual ao texto informado","user":{"login":"mestihudson","id":687967,"avatar_url":"https://avatars.githubusercontent.com/u/687967?v=3","gravatar_id":"","url":"https://api.github.com/users/mestihudson","html_url":"https://github.com/mestihudson","followers_url":"https://api.github.com/users/mestihudson/followers","following_url":"https://api.github.com/users/mestihudson/following{/other_user}","gists_url":"https://api.github.com/users/mestihudson/gists{/gist_id}","starred_url":"https://api.github.com/users/mestihudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mestihudson/subscriptions","organizations_url":"https://api.github.com/users/mestihudson/orgs","repos_url":"https://api.github.com/users/mestihudson/repos","events_url":"https://api.github.com/users/mestihudson/events{/privacy}","received_events_url":"https://api.github.com/users/mestihudson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-05T14:54:46Z","updated_at":"2015-03-05T14:56:34Z","closed_at":null,"body":"Senhores, tenho a seguinte situação:\r\n[1] um passo com as seguintes chamadas\r\n```java\r\n@Then(\"eu vejo a tela de confirmação\")\r\npublic void thenEuVejoATelaDeConfirmação() {\r\n  textVisible(\"Fazer Nova Comunicação\");\r\n  textVisible(\"Encerrar Comunicações\");\r\n}\r\n```\r\n[2] uma página html com o seguinte trecho, de onde espero validar as chamadas de [1]\r\n```html\r\n<input type=\"button\" onclick=\"window.location = 'EnviarComunicacao.asp'\" value=\"Fazer Nova Comunicação\" name=\"voltar\" class=\"button1\">\r\n<input type=\"button\" onclick=\"window.location = 'menuopcoes.asp'\" value=\"Encerrar Comunicações\" name=\"encerrar\" class=\"button1\">\r\n```\r\n[3] no entanto, quando executo a seguinte mensagem é apresentada:\r\n```\r\nFailed to run story stories/comunicacao.storyConverted\r\njava.lang.reflect.UndeclaredThrowableException\r\n\tat com.sun.proxy.$Proxy17.waitText(Unknown Source)\r\n\tat br.gov.frameworkdemoiselle.behave.parser.jbehave.CommonSteps.textVisible(CommonSteps.java:287)\r\n\tat br.gov.serpro.webcoaf.steps.ComunicacaoSteps.thenEuVejoATelaDeConfirmação(ComunicacaoSteps.java:43)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreator.java:550)\r\n\tat org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:499)\r\n\tat org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:479)\r\n\tat org.jbehave.core.embedder.StoryRunner.runScenarioSteps(StoryRunner.java:443)\r\n\tat org.jbehave.core.embedder.StoryRunner.runCancellable(StoryRunner.java:305)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:219)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:180)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:229)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:201)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat br.gov.frameworkdemoiselle.behave.internal.ui.UIProxy.invoke(UIProxy.java:35)\r\n\t... 20 more\r\nCaused by: java.lang.AssertionError: Texto [Fazer Nova Comunicação] não encontrado na tela\r\n\tat org.junit.Assert.fail(Assert.java:91)\r\n\tat br.gov.frameworkdemoiselle.behave.runner.webdriver.ui.WebBase.waitVisibleText(WebBase.java:487)\r\n\tat br.gov.frameworkdemoiselle.behave.runner.webdriver.ui.WebBase.waitText(WebBase.java:407)\r\n\t... 25 more\r\n```\r\nAlguma dica para fazer isso funcionar, ou uma sugestão para validar a página da screenshot:\r\n![failed-scenario-9f94bad6-7beb-472f-99d2-aa6d1585dbc6](https://cloud.githubusercontent.com/assets/687967/6507044/1de3c11a-c32e-11e4-9181-a449831fc485.png)\r\n\r\nObrigado, desde já."},"comment":{"url":"https://api.github.com/repos/demoiselle/behave/issues/comments/77377557","html_url":"https://github.com/demoiselle/behave/issues/312#issuecomment-77377557","issue_url":"https://api.github.com/repos/demoiselle/behave/issues/312","id":77377557,"user":{"login":"juliancesar","id":4247825,"avatar_url":"https://avatars.githubusercontent.com/u/4247825?v=3","gravatar_id":"","url":"https://api.github.com/users/juliancesar","html_url":"https://github.com/juliancesar","followers_url":"https://api.github.com/users/juliancesar/followers","following_url":"https://api.github.com/users/juliancesar/following{/other_user}","gists_url":"https://api.github.com/users/juliancesar/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancesar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancesar/subscriptions","organizations_url":"https://api.github.com/users/juliancesar/orgs","repos_url":"https://api.github.com/users/juliancesar/repos","events_url":"https://api.github.com/users/juliancesar/events{/privacy}","received_events_url":"https://api.github.com/users/juliancesar/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T14:56:34Z","updated_at":"2015-03-05T14:56:34Z","body":"@mestihudson, a aplicação utiliza frames ou iframes?"}}