[JBoss JIRA] (ARQGRA-297) Unable to access to WebElement after HTTP request
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-297?page=com.atlassian.jira.plugin... ]
Lukáš Fryč edited comment on ARQGRA-297 at 4/29/13 2:31 AM:
------------------------------------------------------------
Btw these are bad ideas
{code}
GrapheneExtension.pause(5000);
GrapheneExtension.getDriver().navigate().refresh(); //add for fix this issue
{code}
you should always wait for exact condition and be independent of timing.
Refresh of the page might be misleading - imagine if the login will stop work and user will need to reload the page to make it work. Your tests will pass, but the application will be definitely broken in such a case.
was (Author: lfryc):
Btw these are bad ideas
{code}
GrapheneExtension.pause(5000);
GrapheneExtension.getDriver().navigate().refresh(); //add for fix this issue
{code}
you should always wait for exact condition and be independent of timing.
> Unable to access to WebElement after HTTP request
> -------------------------------------------------
>
> Key: ARQGRA-297
> URL: https://issues.jboss.org/browse/ARQGRA-297
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha4
> Environment: Fedora 16, Firefox/Chrome
> Reporter: Sona Jamborova
> Priority: Critical
> Attachments: seq1.png, seq2.png, seq3.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-297) Unable to access to WebElement after HTTP request
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-297?page=com.atlassian.jira.plugin... ]
Lukáš Fryč edited comment on ARQGRA-297 at 4/29/13 2:28 AM:
------------------------------------------------------------
This issue is likely caused by a fact that {{guardHttp}} waits for a HTTP request and subsequent [document readiness|https://github.com/arquillian/arquillian-graphene/blob/master/g...].
In case the document becomes ready in a second step (as illustrated by {{seq2.png}}) then {{guardHttp}} won't work,
because it will not ensure full application readiness.
----
I suggest to do not use {{guardHttp}} here, but rather more accurate condition:
{code}
waitModel().until().element(logout).is().present();
{code}
unfortunately this feature is not available in Graphene now (ARQGRA-296)
but you can simulate it using by implementing own {{Predicate}} and {{guardModel().until(Predicate)}}.
was (Author: lfryc):
This issue is likely caused by a fact that {{guardHttp}} waits for a HTTP request and subsequent [document readiness|https://github.com/arquillian/arquillian-graphene/blob/master/g...].
In case the document becomes ready in a second step (as illustrated by {{seq2.png}}) then {{guardHttp}} won't work,
because it will not ensure full application readiness.
----
I suggest to do not use {{guardHttp}} here, but rather more accurate condition:
waitModel().until().element(logout).is().present();
unfortunately this feature is not available in Graphene now (ARQGRA-296)
but you can simulate it using by implementing own {{Predicate}} and {{guardModel().until(Predicate)}}.
> Unable to access to WebElement after HTTP request
> -------------------------------------------------
>
> Key: ARQGRA-297
> URL: https://issues.jboss.org/browse/ARQGRA-297
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha4
> Environment: Fedora 16, Firefox/Chrome
> Reporter: Sona Jamborova
> Priority: Critical
> Attachments: seq1.png, seq2.png, seq3.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-297) Unable to access to WebElement after HTTP request
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-297?page=com.atlassian.jira.plugin... ]
Lukáš Fryč edited comment on ARQGRA-297 at 4/29/13 2:17 AM:
------------------------------------------------------------
The test failed after user logs in into the application. There is sequence of screenshot. The screenshots catch a situation in webapplication after sign in to open a new content. This code works correct for Alpha3. The test succeses if I add driver.navigate.refresh() command between context is changed and element on the new page is used. The test execution ends with this exception org.openqa.selenium.WebDriverException:
{code}
Can not locate element using selector div.navbar a:contains('Logout') Check out whether it is correct! Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.10-2.fc16.x86_64', java.version: '1.6.0_24' Driver info: driver.version: RemoteWebDriver
org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:71)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
75 lines not shown
Caused by Can't invoke the javacript org.jboss.arquillian.graphene.enricher.findby.JQuerySearchContext#findElements()
org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:92)
at org.jboss.arquillian.graphene.javascript.JSInterfaceHandler.intercept(JSInterfaceHandler.java:33)
at org.jboss.arquillian.graphene.cglib.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByGraphene$$68c0d9c3.findElements(<generated>)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:64)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
75 lines not shown
Caused by exception thrown when executing method 'findElements': target object of invocation is not defined
org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.executeScriptForCall(DefaultExecutionResolver.java:148)
at org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:86)
at org.jboss.arquillian.graphene.javascript.JSInterfaceHandler.intercept(JSInterfaceHandler.java:33)
at org.jboss.arquillian.graphene.cglib.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByGraphene$$68c0d9c3.findElements(<generated>)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:64)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
{code}
was (Author: sjamboro):
The test failed after user logs in into the application. There is sequence of screenshot. The screenshots catch a situation in webapplication after sign in to open a new content. This code works correct for Alpha3. The test succeses if I add driver.navigate.refresh() command between context is changed and element on the new page is used. The test execution ends with this exception org.openqa.selenium.WebDriverException:
Can not locate element using selector div.navbar a:contains('Logout') Check out whether it is correct! Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.10-2.fc16.x86_64', java.version: '1.6.0_24' Driver info: driver.version: RemoteWebDriver
org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:71)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
75 lines not shown
Caused by Can't invoke the javacript org.jboss.arquillian.graphene.enricher.findby.JQuerySearchContext#findElements()
org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:92)
at org.jboss.arquillian.graphene.javascript.JSInterfaceHandler.intercept(JSInterfaceHandler.java:33)
at org.jboss.arquillian.graphene.cglib.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByGraphene$$68c0d9c3.findElements(<generated>)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:64)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
75 lines not shown
Caused by exception thrown when executing method 'findElements': target object of invocation is not defined
org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.executeScriptForCall(DefaultExecutionResolver.java:148)
at org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:86)
at org.jboss.arquillian.graphene.javascript.JSInterfaceHandler.intercept(JSInterfaceHandler.java:33)
at org.jboss.arquillian.graphene.cglib.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByGraphene$$68c0d9c3.findElements(<generated>)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:64)
at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:138)
at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:104)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:235)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:171)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:144)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:28)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:24)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:24)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:107)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:42)
at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:73)
at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:178)
at sun.proxy.$Proxy27.getText(Unknown Source)
at org.jboss.qa.brms.jbpm.uberfire.Uberfire.expectLougout(Uberfire.java:90)
at org.jboss.qa.brms.brm.tools.MyTestDesigner.myTest(MyTestDesigner.java:32)
> Unable to access to WebElement after HTTP request
> -------------------------------------------------
>
> Key: ARQGRA-297
> URL: https://issues.jboss.org/browse/ARQGRA-297
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha4
> Environment: Fedora 16, Firefox/Chrome
> Reporter: Sona Jamborova
> Priority: Critical
> Attachments: seq1.png, seq2.png, seq3.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-274) The request guard does timeout for delayed requests
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-274?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-274:
------------------------------
Fix Version/s: 2.0.0.Alpha5
(was: 2.0.0.Alpha4)
> The request guard does timeout for delayed requests
> ---------------------------------------------------
>
> Key: ARQGRA-274
> URL: https://issues.jboss.org/browse/ARQGRA-274
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha3
> Reporter: Bernard Labno
> Assignee: Lukáš Fryč
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In RichFaces, there is request queue which can delay a processing of an user action which avoids overwhelming communication channel.
> This is simply the case where request guard should:
> * wait specified timeout (by default type "Ajax" timeout) for user action to start AJAX request (xhr.open)
> * then wait another timeout (by default type "Ajax" timeout) for AJAX action to complete the request (xhr.readyState == 4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-274) The request guard does timeout for delayed requests
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-274?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-274:
-----------------------------------
Okay, I have reopened this case to investigate.
> The request guard does timeout for delayed requests
> ---------------------------------------------------
>
> Key: ARQGRA-274
> URL: https://issues.jboss.org/browse/ARQGRA-274
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha3
> Reporter: Bernard Labno
> Assignee: Lukáš Fryč
> Fix For: 2.0.0.Alpha5
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In RichFaces, there is request queue which can delay a processing of an user action which avoids overwhelming communication channel.
> This is simply the case where request guard should:
> * wait specified timeout (by default type "Ajax" timeout) for user action to start AJAX request (xhr.open)
> * then wait another timeout (by default type "Ajax" timeout) for AJAX action to complete the request (xhr.readyState == 4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-274) The request guard does timeout for delayed requests
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-274?page=com.atlassian.jira.plugin... ]
Lukáš Fryč reopened ARQGRA-274:
-------------------------------
> The request guard does timeout for delayed requests
> ---------------------------------------------------
>
> Key: ARQGRA-274
> URL: https://issues.jboss.org/browse/ARQGRA-274
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha3
> Reporter: Bernard Labno
> Assignee: Lukáš Fryč
> Fix For: 2.0.0.Alpha4
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In RichFaces, there is request queue which can delay a processing of an user action which avoids overwhelming communication channel.
> This is simply the case where request guard should:
> * wait specified timeout (by default type "Ajax" timeout) for user action to start AJAX request (xhr.open)
> * then wait another timeout (by default type "Ajax" timeout) for AJAX action to complete the request (xhr.readyState == 4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (ARQGRA-274) The request guard does timeout for delayed requests
by Bernard Labno (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-274?page=com.atlassian.jira.plugin... ]
Bernard Labno edited comment on ARQGRA-274 at 4/26/13 7:21 PM:
---------------------------------------------------------------
I've manually included interception and guard javascripts invoked ...
and it looks like invoking fast several events that trigger ajax (i.e. typing fast and having ajax on keyup - sendKeys) will block sending further requests.
That's why commenting try/catch block from previous post made test pass - there was no fast ajax event.
Ajax requests are getting into queue (jsf.js) but the queu is not getting dequeued (and it should be on onComplete aka onreadystatechange).
was (Author: blabno):
I've manually included interception and guard javascripts invoked ...
and it looks like invoking fast several events that trigger ajax (i.e. typing fast and having ajax on keyup - sendKeys) will block sending further requests.
That's why commenting try/catch block from previous post made test pass - there was no fast ajax event.
> The request guard does timeout for delayed requests
> ---------------------------------------------------
>
> Key: ARQGRA-274
> URL: https://issues.jboss.org/browse/ARQGRA-274
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha3
> Reporter: Bernard Labno
> Assignee: Lukáš Fryč
> Fix For: 2.0.0.Alpha4
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In RichFaces, there is request queue which can delay a processing of an user action which avoids overwhelming communication channel.
> This is simply the case where request guard should:
> * wait specified timeout (by default type "Ajax" timeout) for user action to start AJAX request (xhr.open)
> * then wait another timeout (by default type "Ajax" timeout) for AJAX action to complete the request (xhr.readyState == 4)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months