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

[BUG]: Healenium is not healing broken locator in our applcation. #60

Open
pramodmewada271219 opened this issue Sep 13, 2022 · 1 comment
Assignees
Labels
bug Something isn't working to reproduce Issue needs to be reproduced because before it wasn't appeared

Comments

@pramodmewada271219
Copy link

Describe the bug

Error - java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.insurity.glp.automation.ui.core.system.BasePageUtil.pageAction(BasePageUtil.java:270)
at com.insurity.glp.cxp.stepDefinition.StepDef.iFillDataOnThe(StepDef.java:139)
at ✽.I fill data on the "Policy Manager"(file:///C:/Users/Pramod.Mewada/Desktop/cxp-ui-plugin/src/test/resources/features/test/ClaimProcess_Notepad_1.feature:16)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate WebElement {PolicyManager.SearchPolicyNumber_text}: @findby(css = input[id$='SearchPolicyNumber'])

at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:99)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:39)
at com.sun.proxy.$Proxy67.hashCode(Unknown Source)

Selenium version - 4

com.epam.healenium healenium-web 3.2.3 org.seleniumhq.selenium selenium-java

if (healenabled.equalsIgnoreCase(PluginUtil.getInstance().getAppConfig().gethealenabled())) {
driver = new HealingDriver().getInstance(driver);
LOGGER.info("Using healenium driver..");
}

image

How to reproduce the issue

None

Logs appeared during using Healenium

None

Expected behavior

No response

Actual behavior

No response

Healenium Web version

none

Healenium Backend version

healenium/hlm-backend:3.2.2

Selenium version

4

Platform

java

Additional context

No response

@pramodmewada271219 pramodmewada271219 added the bug Something isn't working label Sep 13, 2022
@ElenaStepuro ElenaStepuro added the to reproduce Issue needs to be reproduced because before it wasn't appeared label Sep 13, 2022
@ElenaStepuro ElenaStepuro pinned this issue Sep 13, 2022
@ElenaStepuro ElenaStepuro unpinned this issue Sep 13, 2022
@Alex-Reif
Copy link
Contributor

Hi @pramodmewada271219 , Could you provide the whole stacktrace ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to reproduce Issue needs to be reproduced because before it wasn't appeared
Projects
None yet
Development

No branches or pull requests

3 participants