Selenium 4 Beginner Tutorial 2 | Web Element Locators | Relative Locators | Step by Step

Selenium 4 Beginner Tutorial 2 | Web Element Locators | Relative Locators | Step by Step

Automation Step by Step

2 года назад

35,351 Просмотров

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


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

@syedarmaghanhassan4652
@syedarmaghanhassan4652 - 06.10.2023 19:01

Hi Raghav, a new question today: How to verify information on a webpage. For instance, price is €100; vat is 19% (€19); shipping field shows €4,99 for shipping. and then subtotal, etc. How to verifiy information (String, or a number) on a webpage.

Second Question: how to use if-then-else statements with selenium? For instance, check if the searchbar appears, or search if the text in the letter exists as expected/free of erros etc.
Can you please share some info/Tips on such testcases, so tha we may be able to run such verifications. Thank you!

Ответить
@ten2soft-wg9xh
@ten2soft-wg9xh - 14.09.2023 19:20

please i am a beginner and i love your materials......it is very helpful.//////please how can i get documentation for selenium that will enable me carry out my job as a tester. thank you from nigeria.

Ответить
@Varun-A
@Varun-A - 13.09.2023 08:18

Your tech teaching style is really effective. I'm learning so much

Ответить
@shahzaibidreesahmed4827
@shahzaibidreesahmed4827 - 27.01.2023 10:52

Great explained 💓After hard work the code is successfully run 😁 Never stop learning 🙂

Ответить
@zuchalaribastian6037
@zuchalaribastian6037 - 16.11.2022 10:08

Hi Raghav,
I have a question, if there is no ID, Name and other elements in Element, there is an element class like this class="oxd-button oxd-button--medium oxd-button--main orangehrm-login-button", what should I do?

Ответить
@yashgupta-qn6qg
@yashgupta-qn6qg - 02.10.2022 12:44

in my inspect element option name of element is nor showing

Ответить
@pavankumarpullela189
@pavankumarpullela189 - 06.09.2022 15:30

Hi, please let me know your eclipse version and java version, I am using java 1.8.0_34 version and java version as 2022-06 version, i am not able run the code for selenium. even i am using updated versions of chrome browser and chrome driver too. please help me for the concern.

Ответить
@jannatulnayeem6858
@jannatulnayeem6858 - 24.08.2022 01:14

Thanks a lot for uploading interesting topics on Selenium 4

Ответить
@jilthybarquerovindas4447
@jilthybarquerovindas4447 - 09.08.2022 08:36

good explanation, it's a shame that you don't use page factory, POM model is the most used standard

Ответить
@atkuriajaykumar3701
@atkuriajaykumar3701 - 30.07.2022 17:01

Thankyou so much raghav ,like you explained everything like how to identify element using name locator, and sending some text into identified locator, and how to store and print single and multiple web elements, and about different locators available and tips for using them and for css selectors for I'd we need to use # and class we need to use * , and also you explained about selenium 4 relative locators and types , Thanks raghav really you are sharing really amazing stuff with absolutely no fee and helping people like me . Thanks a ton !

Ответить
@HoaiNguyen-tq8xm
@HoaiNguyen-tq8xm - 19.06.2022 10:55

thanks Raghav. It's very helpful for me.
BTW, can you show me the tool that used to capture/record the screen?

Thanks so much!!!

Ответить
@ammuannie7033
@ammuannie7033 - 08.06.2022 06:52

at 19.13 the tagname name is added as input where are we getting that?by using id it was not working.

Ответить
@deepak6256
@deepak6256 - 30.05.2022 04:57

Thank you so much raghav for the wonderful session. Can you please share your playlist where we have selenium learning with the demo project? Please share so we can start journey.

Ответить
@poojamahajan1296
@poojamahajan1296 - 16.04.2022 01:20

Thank you so much for this video series on selenium, it is very helpful for me. I am also looking for job in software testing in USA. Anyone has any leads on this?

Ответить
@juanpablobarrientosarana3371
@juanpablobarrientosarana3371 - 01.04.2022 02:45

Hi Raghav, first I would like to thank you for the excellent video and helpful content.
Also, I have a question for you related to Relative Locators:
1. I have a POM page defined where I am looking for all of my elements.
2. I am trying to find an element in my script referencing one WebElement defined in my POM page, but selenium is throwing me that it is not able to find the element.
Code example:
LaserAntsHomePage homePage = new LaserAntsHomePage(getDriver());
homePage.clickLoginButton();
this.getDriver().findElement(with(By.tagName("input")).above(homePage.getSubmitLogInButton())).sendKeys("Test");

Exception:
org.openqa.selenium.json.JsonException: java.lang.reflect.InvocationTargetException

In advance thanks for your help !

Ответить
@mxledesma
@mxledesma - 21.01.2022 07:18

Hi RaqHav. i have a question. when i try on my eclipse on sendKeys i get. The method sendKeys(string) is undefined for the type List <WebELement>. I am not sure how to correct this. i have like yours J2SE-1.5. I also downloaded the correct webdriver for Chrome. which is 97.0.4692.71 saved in my eclipse folder.

Ответить
@narminetouihri3105
@narminetouihri3105 - 01.12.2021 17:48

I love learning selenium 4 this way
Very intresting
Thank you very much

Ответить
@sonalmittal5460
@sonalmittal5460 - 24.11.2021 13:16

excellent

Ответить
@debanjanghosh4094
@debanjanghosh4094 - 12.11.2021 07:05

Thanks for the session Raghav. I am facing issue with Relative Locators - toLeftOf and toRightOf. It returns "NoSuchElementFound" exception. Whereas, the same element works fine with other relative locators. Not finding a solution after debug and how can we fix such kind of issue?

Ответить
@pranali2052
@pranali2052 - 08.11.2021 09:28

Thanks Raghav. Waiting for more video's.

Ответить
@ashafernandes6398
@ashafernandes6398 - 03.11.2021 15:24

Hi Raghav!! . This session is a wonderful!! .. ☺
I could see only 2 videos in this playlist (Selenium 4 Beginner Tutorials). Please let me know how can I view the remaining videos in this playlist.

Ответить
@peterluxus7382
@peterluxus7382 - 01.11.2021 16:50

The best series on Selenium I have yet seen!!!

Ответить
@praveenkumar-of6zu
@praveenkumar-of6zu - 31.10.2021 15:31

Thanks a lot for starting training on latest version of Selenium. It would be more helpful & thankful if you explain each step for 4.0 version as well like set up & other all topics.

Ответить
@prasaddeshpande233
@prasaddeshpande233 - 25.10.2021 14:17

Hi sir, waiting for third part

Ответить
@nb3996
@nb3996 - 23.10.2021 09:01

Thank you Raghav

Ответить
@saimjahangir2145
@saimjahangir2145 - 22.10.2021 18:05

Sir if any one wants to learn automation testing right now, can he/she learn by following your this course or it is needed to learn previous course

Ответить
@Nandhis
@Nandhis - 21.10.2021 17:40

Thanks Raghav.. Really helpful 👍

Ответить