Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Robust Dynamic Locators

Medium
MediumCodingseleniumTesting

Problem

How do you write robust, dynamic XPath or CSS locators for elements that do not have static IDs or class names?

Practicing as: QA Engineer interview at Nykaa

Hi, I'll play your Nykaa interviewer for the QA Engineer role. Candidates describe these interviews as often stressful and moderately difficult, so expect me to be direct and to the point. Take your time with the question above and answer like we're in the room.

Take this as a live interview session →

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Nykaa QA Engineer Interview Questions
Next questions
LeidosRobust XPath With Dynamic IDsMediumRoyal CyberRobust XPath and CSS StrategyMediumGSPANNDynamic Elements Locator HandlingMedium