00:00 Intro 01:15 Scenario 1: You’re automating a login feature for a web application How will you handle dynamic elements like Captcha or OTP fields in your automation script? Answer: To handle dynamic elements like Captcha or OTP fields, I would consider the following solutions: We can request the development team to disable Captcha and OTP in the test environment to make automation feasible Add a hook to allow tests to bypass the CAPTCHA We can work closely with the development team to set a predefined OTP for the test environment ________________________________________________ 03:45 Scenario 2: During test automation, you encounter an element that doesn’t have unique attributes. How would you locate and interact with such an element? Answer: Use XPath with the contains() funct ... #RaghavPal #Automation_Testing_Interview_Questions #Dynamic_Element_Handling #Captcha #OTP #Automation_Script #Locating_Elements #Unique_Attributes #Test_Automation_Challenges #E-commerce_Automation_Testing 20231109 5RAbWx7FvjY
Hide player controls
Hide resume playing