Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmarquee.automation.AutomationException: Error: 0x80040201 #119

Open
artemtimac92 opened this issue Sep 10, 2021 · 0 comments
Open

mmarquee.automation.AutomationException: Error: 0x80040201 #119

artemtimac92 opened this issue Sep 10, 2021 · 0 comments

Comments

@artemtimac92
Copy link

artemtimac92 commented Sep 10, 2021

My application on win10 not responding when I open page with many items there.

132881133-691b0aa9-3db7-4bc2-a3e1-9801efb3578c_LI

You can see that page has 4000+ items there. That exception happens only with big amount of items on page. My app gets not responding and test can't go further. In other cases everything works good.

StackTrace:
mmarquee.automation.AutomationException: Error: 0x80040201
at mmarquee.automation.AutomationElement.getPropertyValue(AutomationElement.java:85)
at mmarquee.automation.controls.AutomationBase.getNativeWindowHandle(AutomationBase.java:870)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getWindowHandle(UiaDriver.java:181)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:74)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:66)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.search(UiaSearchByExt.java:90)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:62)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:40)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.findElement(UiaDriver.java:253)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.access$001(AjaxElementLocator.java:39)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator$SlowLoadingElement.isLoaded(AjaxElementLocator.java:194)
at org.openqa.selenium.support.ui.SlowLoadableComponent.get(SlowLoadableComponent.java:57)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:119)
at com.aplana.chameleon.page_factory.locator.ElementLocatorChameleonImpl.findElement(ElementLocatorChameleonImpl.java:53)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.aplana.chameleon.page_factory.handlers.ElementProxyHandler.invoke(ElementProxyHandler.java:64)
at com.sun.proxy.$Proxy68.isDisplayed(Unknown Source)
at com.aplana.chameleon.elements.selenium.WebElementFacade.isDisplayed(WebElementFacade.java:141)
at SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.isLoaded(SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.java)
at com.aplana.chameleon.steps.PageSteps.pageShouldBeLoaded(PageSteps.java:53)
at com.aplana.chameleon.steps.PageSteps.stepLoadedPage(PageSteps.java:89)
at com.aplana.chameleon.steps.PageStorySteps.lambda$stepLoadedPage$3(PageStorySteps.java:67)
at com.aplana.chameleon.steps.StepFlowImpl.checkStepFlow(StepFlowImpl.java:68)
at com.aplana.chameleon.steps.AbstractSteps.flow(AbstractSteps.java:31)
at com.aplana.chameleon.steps.PageStorySteps.stepLoadedPage(PageStorySteps.java:66)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at cucumber.runtime.Utils$1.call(Utils.java:26)
at cucumber.runtime.Timeout.timeout(Timeout.java:16)
at cucumber.runtime.Utils.invoke(Utils.java:20)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
at cucumber.runner.TestStep.executeStep(TestStep.java:65)
at cucumber.runner.TestStep.run(TestStep.java:50)
at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
at cucumber.runner.TestCase.run(TestCase.java:46)
at cucumber.runner.Runner.runPickle(Runner.java:50)
at cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:126)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:66)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:156)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
mmarquee.automation.AutomationException: Error: 0x80040201
at mmarquee.automation.AutomationElement.getPropertyValue(AutomationElement.java:85)
at mmarquee.automation.controls.AutomationBase.getNativeWindowHandle(AutomationBase.java:870)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getWindowHandle(UiaDriver.java:181)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:74)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:66)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.search(UiaSearchByExt.java:90)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:62)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:40)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.findElement(UiaDriver.java:253)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.access$001(AjaxElementLocator.java:39)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator$SlowLoadingElement.isLoaded(AjaxElementLocator.java:194)
at org.openqa.selenium.support.ui.SlowLoadableComponent.get(SlowLoadableComponent.java:67)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:119)
at com.aplana.chameleon.page_factory.locator.ElementLocatorChameleonImpl.findElement(ElementLocatorChameleonImpl.java:53)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.aplana.chameleon.page_factory.handlers.ElementProxyHandler.invoke(ElementProxyHandler.java:64)
at com.sun.proxy.$Proxy68.isDisplayed(Unknown Source)
at com.aplana.chameleon.elements.selenium.WebElementFacade.isDisplayed(WebElementFacade.java:141)
at SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.isLoaded(SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.java)
at com.aplana.chameleon.steps.PageSteps.pageShouldBeLoaded(PageSteps.java:53)
at com.aplana.chameleon.steps.PageSteps.stepLoadedPage(PageSteps.java:89)
at com.aplana.chameleon.steps.PageStorySteps.lambda$stepLoadedPage$3(PageStorySteps.java:67)
at com.aplana.chameleon.steps.StepFlowImpl.checkStepFlow(StepFlowImpl.java:68)
at com.aplana.chameleon.steps.AbstractSteps.flow(AbstractSteps.java:31)
at com.aplana.chameleon.steps.PageStorySteps.stepLoadedPage(PageStorySteps.java:66)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at cucumber.runtime.Utils$1.call(Utils.java:26)
at cucumber.runtime.Timeout.timeout(Timeout.java:16)
at cucumber.runtime.Utils.invoke(Utils.java:20)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
at cucumber.runner.TestStep.executeStep(TestStep.java:65)
at cucumber.runner.TestStep.run(TestStep.java:50)
at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
at cucumber.runner.TestCase.run(TestCase.java:46)
at cucumber.runner.Runner.runPickle(Runner.java:50)
at cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:126)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:66)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:156)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
mmarquee.automation.AutomationException: Error: 0x80040201
at mmarquee.automation.AutomationElement.getPropertyValue(AutomationElement.java:85)
at mmarquee.automation.controls.AutomationBase.getNativeWindowHandle(AutomationBase.java:870)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getWindowHandle(UiaDriver.java:181)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:74)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.getAutomationWindow(UiaDriver.java:66)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.search(UiaSearchByExt.java:90)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:62)
at com.aplana.chameleon.uia.custom.driver.UiaSearchByExt.create(UiaSearchByExt.java:40)
at com.aplana.chameleon.uia.custom.driver.UiaDriver.findElement(UiaDriver.java:253)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.access$001(AjaxElementLocator.java:39)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator$SlowLoadingElement.isLoaded(AjaxElementLocator.java:194)
at org.openqa.selenium.support.ui.SlowLoadableComponent.get(SlowLoadableComponent.java:78)
at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:119)
at com.aplana.chameleon.page_factory.locator.ElementLocatorChameleonImpl.findElement(ElementLocatorChameleonImpl.java:53)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.aplana.chameleon.page_factory.handlers.ElementProxyHandler.invoke(ElementProxyHandler.java:64)
at com.sun.proxy.$Proxy68.isDisplayed(Unknown Source)
at com.aplana.chameleon.elements.selenium.WebElementFacade.isDisplayed(WebElementFacade.java:141)
at SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.isLoaded(SpisokDolzhnikov_OtnosjacshihsjaKOsobojKategorii_SKUAD.java)
at com.aplana.chameleon.steps.PageSteps.pageShouldBeLoaded(PageSteps.java:53)
at com.aplana.chameleon.steps.PageSteps.stepLoadedPage(PageSteps.java:89)
at com.aplana.chameleon.steps.PageStorySteps.lambda$stepLoadedPage$3(PageStorySteps.java:67)
at com.aplana.chameleon.steps.StepFlowImpl.checkStepFlow(StepFlowImpl.java:68)
at com.aplana.chameleon.steps.AbstractSteps.flow(AbstractSteps.java:31)
at com.aplana.chameleon.steps.PageStorySteps.stepLoadedPage(PageStorySteps.java:66)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at cucumber.runtime.Utils$1.call(Utils.java:26)
at cucumber.runtime.Timeout.timeout(Timeout.java:16)
at cucumber.runtime.Utils.invoke(Utils.java:20)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
at cucumber.runner.TestStep.executeStep(TestStep.java:65)
at cucumber.runner.TestStep.run(TestStep.java:50)
at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
at cucumber.runner.TestCase.run(TestCase.java:46)
at cucumber.runner.Runner.runPickle(Runner.java:50)
at cucumber.runtime.junit.PickleRunners$NoStepDescriptions.run(PickleRunners.java:146)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:126)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:66)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at cucumber.api.junit.Cucumber$RunCucumber.evaluate(Cucumber.java:156)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant