Very impressive. Excellent job. Clear and simple to the point. I wish I knew about your series before
@RaghavPal3 жыл бұрын
Thank you very much!
@iamthekd076 жыл бұрын
Its really so helpful to make my program more efficient and thank you again
@RaghavPal6 жыл бұрын
Great to know this Kuldeep
@flirtuall786 ай бұрын
You are good in explaining the concepts in a simple fashion with practical examples. Thanks for sharing your knowledge.
@RaghavPal6 ай бұрын
You are welcome Harsh
@sushmajnv50423 жыл бұрын
That is what I exactly looking for. Suddenly it shows, I always want to go with video, thank you for your effort. Video deserve like subscribe
@RaghavPal3 жыл бұрын
You are welcome Sushma, thanks
@rotrose75314 жыл бұрын
Thank you very much, best selenium tutorials! You saved me thousands of manual work.
@RaghavPal4 жыл бұрын
You're welcome
@IfNotMe2 жыл бұрын
Thank you, I appreciate your support to learners like me, this video helped me a lot.
@RaghavPal2 жыл бұрын
Glad to hear that!
@manishkannamoney7455 Жыл бұрын
Best Explanation!
@RaghavPal Жыл бұрын
Glad it was helpful Manish
@anninn46852 жыл бұрын
Thankyou so much because of you only my all doubts are cleared out. very nice explanation as name step by step.
@RaghavPal2 жыл бұрын
Most welcome Anni
@truth_00134 жыл бұрын
I am really enjoying all your video very detailed and easy to follow. Thank you Raghav .
@RaghavPal4 жыл бұрын
You're welcome Laila
@suhasraikar2 жыл бұрын
Excellent video, resolved all my queries w.r.t Page object model. Thanks!
@RaghavPal2 жыл бұрын
Most welcome Suhas
@__ashoq_94692 ай бұрын
Thank you sir 🙏🏻
@RaghavPal2 ай бұрын
Most welcome
@sairammadipalli26002 жыл бұрын
I got clarity on POM thanks a lot
@RaghavPal2 жыл бұрын
Most welcome Sairam
@baldygaming22262 жыл бұрын
nice I suddently understood the coding in Java basic is king!
@RaghavPal2 жыл бұрын
Thanks for watching
@charu1611 Жыл бұрын
Thank you for making series on this..... best explanation 👏 🙌
@RaghavPal Жыл бұрын
Most welcome Charushila
@earngaming91205 жыл бұрын
This video in the series is the one that got me to like n subscribe. I have fallen in love with POM
@RaghavPal5 жыл бұрын
So happy to know this Samuel
@AnthonyInSanDiego3 жыл бұрын
Great step-by-step video! Cheers
@RaghavPal3 жыл бұрын
Thanks for watching Anthony
@yohanmallula31322 жыл бұрын
such a big tq very much sir
@RaghavPal2 жыл бұрын
You are most welcome Yohan
@amanaesthetics49842 жыл бұрын
Amazing stuff you made automation very easy ,🙂
@RaghavPal2 жыл бұрын
Thanks Aman
@jayashreednaik5372 Жыл бұрын
explained clearly. thank you
@RaghavPal Жыл бұрын
Glad it was helpful Jayashree
@AmolShinde-ot4jb2 жыл бұрын
Excellent
@RaghavPal2 жыл бұрын
Thanks Amol
@meditationandrelaxationmus7412 жыл бұрын
Thanks helps in frameweork development
@RaghavPal2 жыл бұрын
Most welcome Ashwini
@rotrose75315 жыл бұрын
Thank you very much, it is a really engaging experience to learn with you.
@RaghavPal5 жыл бұрын
You're welcome Rose
@darwinnoah33293 жыл бұрын
I realize I'm quite off topic but do anybody know a good website to watch new series online ?
@angeldominik6503 жыл бұрын
@Darwin Noah Lately I have been using Flixzone. Just google for it :)
@tristianbrixton76683 жыл бұрын
@Angel Dominik Yea, have been using FlixZone for years myself :)
@darwinnoah33293 жыл бұрын
@Angel Dominik thank you, I signed up and it seems like a nice service =) Appreciate it!
@darsanas67415 жыл бұрын
beautifully explained. Thanks Raghav.
@RaghavPal5 жыл бұрын
You're welcome Darsana
@shadabahmad77645 жыл бұрын
thanx for sharing this video
@RaghavPal5 жыл бұрын
You're welcome Shadab
@sushanthnavale24994 жыл бұрын
hey raghav thaks for making it so simple and i could learn it so easily.
@RaghavPal4 жыл бұрын
You're welcome Sushanth
@arabindamohanty21904 жыл бұрын
Really u make it simple to understand 👍
@RaghavPal4 жыл бұрын
Glad to hear that Arabinda
@MrTechwin3 жыл бұрын
Extra Ordinary Explanation thank you so much😍👍
@RaghavPal3 жыл бұрын
You are welcome 😊
@relaxsleep51482 жыл бұрын
Very well explained, thank you!!
@RaghavPal2 жыл бұрын
Glad it was helpful!
@niraj82022 жыл бұрын
Thank you for this video. Your videos are very detailed and easy to follow.
@RaghavPal2 жыл бұрын
Thanks Niraj
@KavitaRawatWorld11 ай бұрын
You made my concepts so easy. on UDemy when i was studying one course that was so lengthy (Rahul arora) here i can see you made it so easy for me.Thanks a lot
@RaghavPal11 ай бұрын
Glad to know it helped Kavita
@macqueszeff37854 жыл бұрын
Hi Raghav, Stupendously explained without leaving a trace of doubt m learning automation thro ur videos as m migrating from manual testing, i have small doubt i heard from ma peers that industry now a days uses hybrid framework so if possible could you plz thro some light on what that exactly it is . . Thanks hell a lot n wish you many more success:-)
@RaghavPal4 жыл бұрын
Hi Macques, There are diff types of frameworks based on the design approach. Most common are Keyword, Data-Driven and Hybrid. Keyword framework has functionalities coded into keywords. for example login functionality will be written in a function say login and will be exposed using keyword login. So whenever the user calls this keyword, it will run the login function and do login on the application. In Data-Driven, its the data that drives automation, So we have test data stored separately and we can add, delete update data w/o changing the framework. Based on our data the test runs accordingly. Hybrid is a mix of both approaches and is more popular and widely used. Here we have keywords for functionalities and action and also use external data.
@priyadarshiniMG3 жыл бұрын
Wonderfully explained...thanks much Raghav
@shubhamwakhare21253 жыл бұрын
Thanks
@RaghavPal3 жыл бұрын
Welcome Shubham
@vipinsha3 жыл бұрын
Very nicely explained.
@RaghavPal3 жыл бұрын
Thanks Vipin
@AnilRaj-xj9gk4 жыл бұрын
Thank you so much for explaining in detail
@RaghavPal4 жыл бұрын
You're welcome Anil
@FazSaber5 жыл бұрын
Great video Raghav. Very helpful
@RaghavPal5 жыл бұрын
You're welcome Paul
@karthikpatil95094 жыл бұрын
Hi Raghav,wonderful session.Thank you so much
@RaghavPal4 жыл бұрын
Most welcome Karthik
@vikasdesai14592 жыл бұрын
Thank you..useful info 🙏
@RaghavPal2 жыл бұрын
Most welcome Vikas
@ramalakshmi56403 жыл бұрын
Great explainaton
@RaghavPal3 жыл бұрын
Thanks Rama
@Arjunkumarp4 жыл бұрын
Thank You Raghav !!
@RaghavPal4 жыл бұрын
Most welcome Arjun
@pavanmanny45232 жыл бұрын
Nice
@RaghavPal2 жыл бұрын
Thanks Pavan
@Mariam_PinkLotus2 жыл бұрын
16:50 love it!
@RaghavPal2 жыл бұрын
thanks for watching
@Surahshots4 жыл бұрын
Very useful video
@RaghavPal4 жыл бұрын
Glad you liked it Sifar
@3aadel3 жыл бұрын
Thank you so much
@RaghavPal3 жыл бұрын
You're most welcome
@umamahesh40665 жыл бұрын
Thank u so much raghav
@RaghavPal5 жыл бұрын
You're welcome Uma
@snigshine44814 жыл бұрын
thanks
@RaghavPal4 жыл бұрын
You're welcome Snigdha
@AlanMartinez-yk7dm4 жыл бұрын
youre a beast bro thank you for your very easy lesson.currently updating my skills from uft and your videos flow very well.
@RaghavPal4 жыл бұрын
So happy to see this Alan
@divyangjani76005 жыл бұрын
very good video!
@RaghavPal5 жыл бұрын
Thanks Divyang
@hamifargoogle76182 жыл бұрын
Hi Raghav, I wish you have created new Maven Project for Page Object Model Tutorial.
@RaghavPal2 жыл бұрын
Hi Hamifar, can check this - kzfaq.info/sun/PLhW3qG5bs-L_8bwNnMHdJ1Wq5M0sUmpSH
@checkmate77804 жыл бұрын
Hi Raghav, I follow your tutorials, you explanations are really helpful. Please enhance the audio quality of the videos, it is very very low. I was watching testNG listeners video but I had to quit due to the poor audio quality. Please do something.
@RaghavPal4 жыл бұрын
Sure Mimi, I will check on this. For now pls use headphones and make player volume to max
@sainiranjan403 жыл бұрын
Hi Raghav, do you think I can implement similar POM concept on native iOS applications ?
@RaghavPal3 жыл бұрын
Yes, you can Sai
@roshankarkera86424 жыл бұрын
good explanation but since you used static for driver, this will cause problem when running on Grid for parallel execution
@RaghavPal4 жыл бұрын
Hi Roshan, yes, I will explain more on this in Grid tutorial
@scoobytailz5575 жыл бұрын
Hi Raghav is this selenium course + your java course enough to apply for QA job? Thank you.
@RaghavPal5 жыл бұрын
Hi, yes after going through these courses with practical hands-on you can start applying. I will suggest that you keep on doing hands-on and also keep on adding new skills. Will get all my courses here automationstepbystep.com/online-courses/
@user-vc7uu8nm7x Жыл бұрын
l+#$a easy.... we still have simple way of doing
@RaghavPal Жыл бұрын
thanks for watching
@dimplepal35833 жыл бұрын
Hi Raghav, as per the best practice in selenium automation, which element locator should ideally be used and why?
@RaghavPal3 жыл бұрын
You can go with either xpath with id or css, based on what is available
@onkarbhosale27275 жыл бұрын
Thanks soo much ,can you plz copy code and paste in description for revision.
@RaghavPal5 жыл бұрын
Hi, YOu can get code from -. github.com/Raghav-Pal/SeleniumJavaFramework1
@sailishmanandhar45734 жыл бұрын
I am a little confused. In this example there is only one web element for text box. What about when there are more text boxes. Do I need separate functions for each textbox element?
@RaghavPal4 жыл бұрын
Hi Sailish, Basically we need to create a locator for every object we need to interact on the web page in POM.
@sailishmanandhar45734 жыл бұрын
Thank you. It was really helpful :)
@mallikarjunaswamyb37654 жыл бұрын
Hi Ragav, with respect to (18 min 15 sec ) in the video. I have seen that you have used static webelement . will it work for parallel execution ??? during parallel , it kind of conflict right ?
@RaghavPal4 жыл бұрын
Hi, yes, you can check on that. I did not try to run in parallel
@aidilfarhan39352 жыл бұрын
Hi Raghav, do you have to create a new chromedriver for each test case?
@RaghavPal2 жыл бұрын
No Aidil, not needed and will not be efficient
@MIKEYSREVIEWS5 жыл бұрын
When I remove "public static void main" run as will not have Java Application.
@RaghavPal5 жыл бұрын
You should have main function somewhere. Main is the starting point for a java compiler
@MIKEYSREVIEWS5 жыл бұрын
Your right I figured it out before. At least I learned something new. Thanks again.
@Rubaanisingh11124 жыл бұрын
You still can run the code after removing main but you have to use testng for this , which is way better than main
@anirudhprayaga55883 жыл бұрын
Hi Raghav, thank you so much for this video and others in this series. I have a doubt, why did you have WebDriver reference to be static and why did you have the method defined as static in lines 12, 19 at 13:55. Please let me know.
@anirudhprayaga55883 жыл бұрын
Any advantages of using static over not using it in the framework?
@RaghavPal3 жыл бұрын
Hi Anirudh, you can call static methods without creating objects first.
@anirudhprayaga55883 жыл бұрын
@@RaghavPal Thanks for the reply Raghav. I kind of guessed that, but was having a different Question related. If we have a Baseclass of a test set that we configure our webdriver reference in, and we use this webdriver reference in other test classes of the set where we extend the base class and hence the driver is available to all the test classes as well and we do not need to create the object for that webdriver reference in other test classes too. So is there any advantage of having static specified to the Webdriver object as we don't need to create an Object of it in child classes?
@RaghavPal3 жыл бұрын
In general, when we create frameworks we need to use the same driver instance at diff places and for that its best to keep it static
@anirudhprayaga55883 жыл бұрын
@@RaghavPal OK thanks Raghav
@shivushankar49543 жыл бұрын
when we want to run pom related packages we should mandatorly create the maven project in eclipse?
@RaghavPal3 жыл бұрын
HI Shivu, yes
@shivushankar49543 жыл бұрын
@@RaghavPal Thank you sir
@WorkWork-ed4vc2 жыл бұрын
Wouldn't it be nice if you create a new Maven Project for PageObjectModel for better undersating of your audience?
@RaghavPal2 жыл бұрын
Sure, in new tutorials I will do it
@myWayIn6193 жыл бұрын
Raghav Pal, what would you recommend if I want to use a javascript method with POM?¨
@RaghavPal3 жыл бұрын
Hi Frank, if you want to use javascript executor to handle some dynamic element, you can do that.
@ashwinnair37823 жыл бұрын
Do we really need that ' default package' in that?
@RaghavPal3 жыл бұрын
will check again Ashwin, have you tried
@prashantvaghela33372 жыл бұрын
First of all, thank you very much for creating these videos Raghav sir. I just have one concern about Flow-based testing with the POM framework. For example, we have created the Page Objects method for Sign up, log in, Browse Items Page, Check out page, payment page and etc. Now I would like to execute the entire flow as one group. How can we achieve this using Page Object Modal? I have been looking for the answer for quite a while. I am confident that you will be able to help me with it. Thank you in advance Raghav Sir
@RaghavPal2 жыл бұрын
Hi Prashant, here we keep the objects and methods in specific page classes and to create a test or flow we can call the methods from required classes
@prashantvaghela33372 жыл бұрын
Make sense. Thank you sir
@rahulsikarwar63494 жыл бұрын
Hi Raghav, Just wanted to ask if I can use extend keyword instead of importing the class ?
@RaghavPal4 жыл бұрын
You will be doing inheritance. You can do.
@udayak58646 жыл бұрын
Hi Please do a video for Page Factory Model. Thx in advance
@RaghavPal6 жыл бұрын
Sure Udaya, will do it soon.
@udayak58646 жыл бұрын
Thx man :)
@ksdnsdkumar13752 жыл бұрын
Why are you not using "By" class to store locators ?
@RaghavPal2 жыл бұрын
Can do that, I might have explained that in some future videos
@testera89653 жыл бұрын
Hi , what could be the reason that something is working in Chrome but not in firefox
@RaghavPal3 жыл бұрын
Hi, it can be due to speed, objects etc
@Rubaanisingh11124 жыл бұрын
hey, why have you created methods without void i.e. with return types..,, what is the benefit of this, how would it help
@RaghavPal4 жыл бұрын
Hi Tanu, actually it all depends on your needs. In case you want to get some return, you can do that.
@93135168245 жыл бұрын
sir what happened if i don't mention Webelement element as null. Only write Webelement element;
@RaghavPal5 жыл бұрын
That should work as well Pabitra, pls try.
@yuriyartamonov98814 жыл бұрын
You can easily write PageObjects in IntelliJ IDEA with plugin: blog.jetbrains.com/idea/2020/03/intellij-idea-2020-1-selenium-support/
@RaghavPal4 жыл бұрын
Thanks for the inputs Yuriy
@mky88384 жыл бұрын
Hello, it 's possible to automate Oracle HCM with selenium java ?
@RaghavPal4 жыл бұрын
Selenium can work only on browser
@mky88384 жыл бұрын
@@RaghavPal thank you, Besides, I have another question. do you do certifications in automation? I would like to have information about it.
@RaghavPal4 жыл бұрын
Hi, I teach for corporates and groups. Can do certification programs if required and my schedule matches
@user-le4jy6xx1f Жыл бұрын
unable to run program showing erroe
@RaghavPal Жыл бұрын
Please send details and error message
@deepakMCA2009knit5 жыл бұрын
I confused between the full form of POM. Is it Project Object Model or Page Object Model, because you referred it project object model in previous session of pom.xml
@RaghavPal5 жыл бұрын
its PAGE OBJECT MODEL
@ranjithittyipe94694 жыл бұрын
Where are you defining as a Chrome Driver?
@RaghavPal3 жыл бұрын
Hi Ranjith, I do not recall and will have to watch the video again. It may be done in the previous one, Hope you have watched all the earlier sessions on this playlist
@ranjithittyipe94693 жыл бұрын
@@RaghavPal Wow Raghav, I never expected you to reply back. I got it sorted. You are excellent. God Bless
@risnarinuz33573 жыл бұрын
Is there anyway to contact you sir ? I have got some doubhts
@RaghavPal3 жыл бұрын
Hi Risna, can let me know here
@haseebperspective2 жыл бұрын
Can i get this code?
@RaghavPal2 жыл бұрын
Hi Haseeb, can find here github.com/Raghav-Pal/SeleniumJavaFramework1
@sreebellamkonda48873 жыл бұрын
Hi Raghav thankx for the session , a small request from my end can u provide me a properly working POM project as i want to implement in my project can u send me or provide me the file .
@RaghavPal3 жыл бұрын
Hi Sree, you can check this projects repo here github.com/Raghav-Pal/SeleniumJavaFramework1
@teddykiller84213 жыл бұрын
Hi ragav can you share me Jbehave ... classes
@RaghavPal3 жыл бұрын
Not yet created Purushotham
@teddykiller84213 жыл бұрын
@@RaghavPal can i expect that course from your side
@RaghavPal3 жыл бұрын
Yes, I will plan
@vanithand8532 жыл бұрын
This is bit difficult to understand, especially JAVA code :(
@RaghavPal2 жыл бұрын
I will try to make it more easier
@jyotsanarajput32674 жыл бұрын
Bravo brilliant sir may I know your email I’d please
@RaghavPal4 жыл бұрын
can email at raghav.qna@gmail.com, but replies to emails are delayed, You can get faster response here. Can check tutorials here - automationstepbystep.com/
@dachenikhilkumar15 жыл бұрын
Hi Raghav , i have done the same and below is my code package test; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import pages.GoogleSearchPage; public class GoogleSearch { private static WebDriver driver = null; public static void main(String[] args) throws InterruptedException { googleSearch(); } public static void googleSearch() throws InterruptedException{ driver = new ChromeDriver(); //goto google.com driver.get("google.com"); //enter text in search text box //driver.findElement(By.name("q")).sendKeys("book my show"); GoogleSearchPage.textbox_search(driver).sendKeys("Automation Step by Step"); Thread.sleep(5000); //click on search button //driver.findElement(By.name("btnk")).click(); //driver.findElement(By.name("btnk")).sendKeys(Keys.RETURN); GoogleSearchPage.button_search(driver).sendKeys(Keys.RETURN); driver.close(); System.out.println("Test Completed"); } } error: Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 20487 Only local connections are allowed. Jan 18, 2019 11:40:17 AM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"name","selector":"btnk"} (Session info: chrome=71.0.3578.98) (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds For documentation on this error, please visit: www.seleniumhq.org/exceptions/no_such_element.html Can you please help after google page gets open and Automation step by step Text is entered in the search box i am unable to perform the return operation please help me out
@dachenikhilkumar15 жыл бұрын
and this is the elements i can see after inspecting the google search button
@dachenikhilkumar15 жыл бұрын
my chrome version is : Version 71.0.3578.98 (Official Build) (64-bit)
@RaghavPal5 жыл бұрын
Hi Nikhildache, I see you have already commented the line where you are hitting the button btnK. Usually it happens as when you write something on the search box, an auto-suggestion drop-down appears and overlaps over the search button. and search button becomes invisible. So after entering text you can either press ESC key to close auto-suggestion and then click btnK or directly hit ENTER key and skip btnk click
@dachenikhilkumar15 жыл бұрын
@@RaghavPal Hi Raghav thanks for the reply.
@binaykrai57846 жыл бұрын
Hi Sir, How to do backend/server side applications testing
@RaghavPal6 жыл бұрын
Hi Binay, will depend on what server and what exactly you are looking to test. You might want to look into ETL for DB testing. Also check this www.softwaretestinghelp.com/how-to-perform-backend-testing/
@Deniz-ss1sv3 жыл бұрын
:)
@breezyHaya5 жыл бұрын
Halau!
@breezyHaya5 жыл бұрын
Vi are learning, viii viil see
@ashishdarekar53834 жыл бұрын
I still continued ..watching ur video ....but now sure .....NOT GOOD AT ALL....
@RaghavPal4 жыл бұрын
Hi Ashish, pls let me know where did you face issues
@harshadaborade571217 күн бұрын
Hello sir ,For button click i am getting error such as org.openqa.selenium.NoSuchElementException:
@RaghavPal17 күн бұрын
Harshada The `org.openqa.selenium.NoSuchElementException` error in Selenium typically occurs when the script is unable to locate the element you are trying to interact with. Here are a few common reasons and solutions for this issue: 1. Element Not Present: The element might not be present in the DOM at the time the script is trying to interact with it. You can use `WebDriverWait` to wait until the element is present. ```java WebDriverWait wait = new WebDriverWait(driver, 10); WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.id("yourButtonId"))); element.click(); ``` 2. Incorrect Locator: Ensure that the locator you are using is correct. Double-check the element's ID, class, name, or other attributes. ```java WebElement element = driver.findElement(By.id("yourButtonId")); element.click(); ``` 3. Element in iFrame: If the element is inside an , you need to switch to the first. ```java driver.switchTo().frame("frameName"); WebElement element = driver.findElement(By.id("yourButtonId")); element.click(); driver.switchTo().defaultContent(); ``` 4. Dynamic Elements: If the element's attributes change dynamically, you might need to use a more robust locator strategy, such as XPath. ```java WebElement element = driver.findElement(By.xpath("//button[text()='Click Me']")); element.click(); ``` 5. Page Load Issues: Ensure the page has fully loaded before attempting to interact with elements. ```java driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS); ``` If you continue to face issues, wrapping your code in a try-catch block can help handle exceptions gracefully --
@harshadaborade571217 күн бұрын
@@RaghavPal yes, when we enter the text inside google search box ,it pops up with auto suggestions due to which the search button gets hidden ,for that I had also used keys.RETURN ,But still issue is persist