Does a lengthy xpath in the automation script cause slowness?

This question arises in the case of multiple xpath in a script/scripts.
There might be various reasons for the slowness of the automation script execution.
But I would like to know whether lengthy XPATH  adds to the slowness of the script execution.

Add Comment
3 Answer(s)

I don’t think so.
But you should use lengthy XPATH, because it can change often, and it is not supportable code.
Firepath usually give you not best solution)

victor Reviewer Answered on July 28, 2015.
Add Comment

Lengthy xpath does not slow your automation. So do not worry. Default Answered on July 28, 2015.
Add Comment

No . Lengthy Xpath does not slow down your scripts. Make sure your Xpath is always unique and check the same in xpath checker add on in firefox

Bheem Reddy Supporter Answered on August 9, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.