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

How it is possible to flash or draw border when element is not found #2

Open
rbhavsar opened this issue Mar 12, 2018 · 0 comments
Open

Comments

@rbhavsar
Copy link

rbhavsar commented Mar 12, 2018

@naveenanimation20

I tried in my code, If element xpath is wrong then it fails on findElement.
Don't go into next line for flash or draw a border.

In Our framework, we take a screenshot on

@OverRide
public void onTestFailure(ITestResult tr)
{
}

Now Consider if NoSuchElement ref error occurs then How ITestResult will identity the Element to draw a border.

I am not that much good in selenium or testNG. Can you please give me guideline to use flash and draw a border usecase.
I am expecting to flash or draw a border when test case failed.

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