Tosca Tutorial | Lesson 108 - Twins | Duplicate Elements with same ID and InnerText | Obstacle 2 |

preview_player
Показать описание
Step-by-step guide on how to automate a test step that clicks on the second button out of the 2 duplicate buttons which have the same ID and InnerText

Obstacle Details:
Name - Twins
Description - Automate a test step that clicks on the button labeled 'I am the one' - the second one, on the right hand side
Challenge - Both the buttons on the page are exactly the same including the name and inner text
Solution: Use the parent container to identify the button uniquely

---------------------------------------------------------------------------------------------------------------------
Online Training Courses:

Interview Pack:

1:1 Technical Support:

Follow us on Instagram for Career Advice & Job Search:

Join our Telegram Group:

Follow us on LinkedIn:

Talk to us directly:

-----------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Can we use explicit name as #2 here as you used in the tutorial?

pranavbhosale
Автор

Hello Sir,

I see a 403 error when trying to access obstacle course. Is it discontinued? Any workaround to access it ? Please advice. Thank you in Advance.

sivaprasad