How to Become Genius in XPath in Selenium  - Session -18

How to Become Genius in XPath in Selenium - Session -18

Naveen AutomationLabs

6 лет назад

713,108 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Syed Armaghan Hassan
Syed Armaghan Hassan - 07.10.2023 21:52

Hi Naveen,

i see you have a really strong knowledge of Selenium. May I ask a question I am stuck with?

I located/found an element (the Logout link) on a webpage, by using following code:

WebElement logout = driver.findElement(By.className("ico-logout"));

WebElement account = driver.findElement(RelativeLocator.with(By.tagName("a")).toLeftOf(logout)); // Using relative Locator
account.click(); // it works, and I am inside accounts page. Now I want to logout. So,

logout.click();
/* but this code-line is NOT working if wrote here. It works if I write it right after defining/locating the logout link in the first line of code. */
I would really appreciate a quick reply, because I am stuck here.


Thanks a lot!

Ответить
mukundan venkatesan
mukundan venkatesan - 26.09.2023 21:38

entire selenium in just 39 mins..mind blowing!

Ответить
JANAKIRAM P
JANAKIRAM P - 11.09.2023 11:35

This is by far very resource full video on Xpath. I appreciate very much. Thank you for sharing and letting the knowledge pass on

Ответить
Sachin M
Sachin M - 10.09.2023 15:02

I am late for the channel however so far the best content creator and influencer regarding automation :)
Thanks Bro

Ответить
harika chaganti
harika chaganti - 16.08.2023 21:39

I didnt that zpath creation tab after clicking ctrl+f. Can someone please guide me.

Ответить
satheesh v
satheesh v - 03.08.2023 12:37

thank you naveen. i didn't know where to type the xpath syntax and confused, i got answer from you for search option
ctrl+f.

Ответить
Janarthan S
Janarthan S - 29.07.2023 06:35

I love your teaching style Naveen ! God bless you !

Ответить
sahina
sahina - 28.05.2023 12:30

Thanks a lot... please make a video on the below question..

What are the challanges you faced during automation

Ответить
tanushri mukherjee
tanushri mukherjee - 04.05.2023 06:01

Amazing 🙂

Ответить
Sangeetha's Creation
Sangeetha's Creation - 19.02.2023 06:44

Brilliant

Ответить
Ekaterina German
Ekaterina German - 04.02.2023 06:42

Я слышала, что индексы лучше не использовать из за их динамичности

Ответить
Ekaterina German
Ekaterina German - 04.02.2023 06:41

Спасибо Алексей за Вашу работу!

Ответить
Rajat Jain
Rajat Jain - 12.01.2023 11:22

Awesome teaching skills dude

Ответить
ankana roy
ankana roy - 08.01.2023 14:14

Outstanding explanation

Ответить
Ali Ashraf
Ali Ashraf - 14.11.2022 18:27

Love is Sir... U are the Boss

Ответить
Ashok kumar
Ashok kumar - 12.11.2022 01:47

Kudos bro 👌

Ответить
Software Testing Learning Hub
Software Testing Learning Hub - 10.11.2022 03:57

great video! thank you, Naveen!

Ответить
Raushan Kumar
Raushan Kumar - 21.10.2022 02:48

best video for xpath

Ответить
Akhil Masanam
Akhil Masanam - 18.10.2022 21:30

THANK GOD,IT HELPED ME.

Ответить
priyanka reddy
priyanka reddy - 17.10.2022 18:36

Very good video with well explanation. Thank you very much for a great video🙏

Ответить
Ken Xu
Ken Xu - 15.10.2022 14:50

excellent! learn something new today. hopefully I can resolve my issue afterwards.

Ответить
Rahul Sharma
Rahul Sharma - 13.10.2022 18:26

The best

Ответить
Dhirendra Dubey
Dhirendra Dubey - 13.10.2022 10:40

uncle td wow what a xpath man..hatsoff to u..

Ответить
Rodrigo Lopes
Rodrigo Lopes - 10.10.2022 20:21

Just crazy genius!!! Thank you for that - First time hearing about XPath, and you explained like a genius for a 4 years old child!! Keep that spirit brother :)

Ответить
Universal gamer’s
Universal gamer’s - 07.10.2022 20:52

naveen sir is there any latest update in xpath ?

Ответить
Muhammad Naeem
Muhammad Naeem - 06.10.2022 14:12

Hi Naveen,
This is one of the amazing video on Xpath. Very well explained. Thanks for your contribution in the community

Ответить
Aishwarya Vangal Krishnakumar
Aishwarya Vangal Krishnakumar - 01.10.2022 22:26

Naveen I swear i was struggling literally with all the bullying one side and not knowing how to pass this phase of not been able to find the x-path....you have definitely given me the right guidance. Very precise and clear. Thanks alot to help the needy like me...three cheers to you. Teach a lot and these good wishes will get your existence meaningful.Thanks bro

Ответить
Faizan Ali
Faizan Ali - 27.09.2022 13:53

At last, what if the "test2 test2" Text changes?
Can you please explain?

Ответить
surya kiran
surya kiran - 15.09.2022 16:33

East or West, Naveen is the Best

Ответить
SOMRAJ YADAV
SOMRAJ YADAV - 24.08.2022 17:51

Thanks a lot Naveen!!

Ответить
Raghuveer singh bhati
Raghuveer singh bhati - 23.08.2022 16:56

Good explanation, Keep it up.

Ответить
Daniel Berman
Daniel Berman - 14.08.2022 08:11

You are an amazing teacher. Thank you!

Ответить
ramya raghunathan
ramya raghunathan - 04.08.2022 16:51

1 Word . Brilliant. Naveen techniques. Best Mentor.

Ответить
Abdul Hannan Abdul Matheen
Abdul Hannan Abdul Matheen - 03.08.2022 17:39

👏🙂
great video

Ответить
siva reddy
siva reddy - 08.07.2022 10:52

super explanation your rocking....

Ответить
Nitesh Mishra
Nitesh Mishra - 05.07.2022 18:39

I rarely comment on videos but I think I should give it for this guy, amazing man.

Ответить
Roshan Mishra
Roshan Mishra - 22.06.2022 13:43

Hi can someone send me a link of a video where Naveen sir had broken the Xpath into two pieces and concatenated [ i ] in between to perform the operations. By any chance if u have come across that link then plz do this favour 🙏

Ответить
serving_tray
serving_tray - 17.06.2022 06:18

Thanks Im telling all my friends how I am now a certified genius with xpath now after watching this video.

Ответить
blue honey
blue honey - 08.06.2022 19:02

best XPath video ever

Ответить
Mrs Dayana Nandhakumar
Mrs Dayana Nandhakumar - 06.06.2022 17:35

Naveen your are a Genius

Ответить
Shafana Ashraf
Shafana Ashraf - 12.05.2022 11:36

Can u show for span class?

Ответить
Bhargavi Reddy
Bhargavi Reddy - 09.05.2022 15:43

Awesome bro, Thanks a lot!!!

Ответить
FT Peekablue
FT Peekablue - 07.05.2022 18:23

Hi Naveen, I am glad that I found your channel, as this is the easiest way to be QE. Anyways, I just started TDD and apart from creating other projects, I was following your freecrm design. Although everything looks good, my initialization method is not working that I called from TestBase into Logintest class. The error contains in @BeforeMethod set up.

Ответить
Prashanthi Vasu
Prashanthi Vasu - 29.04.2022 07:20

Do you have a udemy course?

Ответить
Cristan V
Cristan V - 17.04.2022 10:38

just amazing ,thnq you soo mach

Ответить
Jayshree D
Jayshree D - 11.04.2022 11:31

Just Love this!!
Lovely way of explaining

Ответить
Anuradha
Anuradha - 22.03.2022 08:01

How to create xpath of an img?
I am unable to get any unique thing

Ответить
Vikas Mishra
Vikas Mishra - 20.03.2022 20:35

Thanks Naveen

It's very helpful.

Ответить
Neelima Goparapu
Neelima Goparapu - 16.03.2022 14:44

The way ur explanation was ultimate👍🏽👏👏

Ответить