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
24 views
326
103
1 year ago 00:10:54 0
Groovy Beginner Tutorial 8 | Variables
2 years ago 00:10:53 0
What is XPath | How to create XPath | for Beginners
2 years ago 00:06:50 0
API Web Services Beginner Tutorial 4 - What are SOAP Web Services