I am unemployed manual tester and they are not trainings here that give you the knowledge and prepare you for the career in automation, just learning from videos on KZbin like yours. Actually most that I like are yours and I think I am advancing. Thank you
@Mukeshotwani5 жыл бұрын
Thats Great Eva.. Never stop learning.. Keep in touch and let me know if any help required from my side.
@sathisshs37829 жыл бұрын
Thanks Mukesh for your detailed video. I have taken couple paid selenium courses but none was as clear as you explained. I really appreciate and value your time in making these free videos. Keep Rocking Champ :)
@Mukeshotwani9 жыл бұрын
+sathissh s Hi Sathissh, your comment made my day :) Thank you keep visiting.
@SaikiranPalugula9 жыл бұрын
Hi Mukesh, I've been watching all your videos for quite a while. All of them are very informative and i've learned a lot from your videos. Kindly keep posting the videos like this. Thanks a lot for your help:-)
@Mukeshotwani9 жыл бұрын
+Saikiran Palugula Thanks SaiKiran yes sure I have so many topics in Pipeline will upload soon. Happy weekend
@zafirahaishaarish5179 жыл бұрын
Hi Mukesh Thank you so much for this video. This is very helpful and you explained it very easy and clear way. Now I want to watch all your videos. Also, your english is very fluent and clear.
@Mukeshotwani9 жыл бұрын
+Borna Hossain Thanks Borna.. Let me know if any help required..
@kozakmos34349 жыл бұрын
Hi Mukesh from Turkey !!! Than you for all videos !!!
@Mukeshotwani9 жыл бұрын
+karacan kayar Thank you Karacan :)
@lilylikelily5 жыл бұрын
You are a great teacher, I really appreciate how you take time and explains every steps in details !! Thank you
@Bits8byte8 жыл бұрын
Great video Mukesh. I am self learning Selenium WebDriver Automation. This was helpful. Thanks.
@Mukeshotwani8 жыл бұрын
Hey Jon Gald to know you liked. Keep visiting.
@Nandhis8 жыл бұрын
This is covering scalability as well. Good video.
@Mukeshotwani8 жыл бұрын
Thanks Nandhis I am glad it helped you.
@jinceyj44244 жыл бұрын
the best tutorial in youtube... thanks a lot for the help Mukesh. :)
@Mukeshotwani4 жыл бұрын
Thank you Jincy
@saurabhparasar219 жыл бұрын
Hi Mukesh, All the videos are awesome and very very helpful. Thanks for sharing these :)
Very well consolidated..Thanks a lot Mukesh for sharing...!!
@Mukeshotwani8 жыл бұрын
Keep visiting Kuldeep.
@purushothamamb61469 жыл бұрын
HI mukesh , Thanks a lot for this video i got so much knowledge through your videos.Thanks for the video on Page Factory really help full.
@Mukeshotwani9 жыл бұрын
+Purushothama MB Hi Purushothama Thank you. I am glad that it helped you.
@shahinahmed77108 жыл бұрын
Excellent video tutorial !!! Everything is explained in details!! Keep it up man.
@Mukeshotwani8 жыл бұрын
Thanks Shahin I am glad it helped.
@AndrewKramerenko8 жыл бұрын
Thank you, Mukesh, you've saved my life!
@Mukeshotwani8 жыл бұрын
Great man :) Cheers
@vamshinaroju8 жыл бұрын
Hi mukesh , Its a very good session .will help us lot in improving to learn automation.Thanks for good session .
@Mukeshotwani8 жыл бұрын
Hi Vamshi, I am glad to know you liked it. Thanks you
@GoUpstairs6 жыл бұрын
mate! u r a great teacher! keep on doing this! greetings from Argentina
@Mukeshotwani6 жыл бұрын
😀 Ur comments made my day..
@illusion72233 жыл бұрын
Thank you so much for this video....It helped me immensely....All my confusions resolved...
@Mukeshotwani3 жыл бұрын
Thank you Maya. Glad it helped.
@bharath90098 жыл бұрын
Fantastic video, 5Star. Helped me a lot to work on real time project and crack interviews
@Mukeshotwani8 жыл бұрын
Great Mate :) Cheers
@FYPNLP7 жыл бұрын
Great tutorial video. You made what looked like super complex concepts very easy to understand.
@Manojkumar-yi5cs8 жыл бұрын
It 's very useful mukesh. Keep posting videos like this.
@Mukeshotwani8 жыл бұрын
Thanks Manoj :)
@kirantherise18 жыл бұрын
Thanks Mukesh, Got learn new concept Page Factory...
@Mukeshotwani8 жыл бұрын
Welcome Kiran. happy weekend.
@MadirajuKChaitanya9 жыл бұрын
Hi Mukesh Ji,Thanks a lot for sharing this video with us.It was very informative(Please sharing the code created from this video,if possible,from Google Drive...or others).Please continue to share your experience.All the Best and MAY GOD BLESS YOU!!!.
@Mukeshotwani9 жыл бұрын
+Madiraju K Chaitanya Hi Chaitanya ji, I will update the code in blog tomorrow.
@ninuritu93125 жыл бұрын
Clearcut explanation.Thank you Mukesh
@Mukeshotwani5 жыл бұрын
Thanks Ninu :)
@lakshminaresh8 жыл бұрын
it was an excellent video about page object model, thanq so much... actually I have a doubt in page factory implementations it clarified me..
@Mukeshotwani8 жыл бұрын
Hi Naresh I am glad to hear it clarified your doubts.Cheers
@venkytesting94964 жыл бұрын
Good explanation and easy to understand ...Thanks Mukeh...
@Mukeshotwani4 жыл бұрын
Always welcome Venky.
@barurisaikiran7 жыл бұрын
Thank you very much Mukesh Wonderful presentation ! Thanks Sai
@Mukeshotwani7 жыл бұрын
+baruri saikiran thanks Sai keep sharing and keep visiting
@MakeLearingEasy5 жыл бұрын
Thanks Mukesh..Nice explanation..short and sweet.. I Would like to request you, Kindly make video to explain any one testing project with complete framework details at one time,
@Mukeshotwani5 жыл бұрын
Hi Gajanan, You can play this playlist kzbin.info/www/bejne/rHe7fWekgrypjqs
@evadimitrova32165 жыл бұрын
Very helpful videos! Thank you Mukesh!
@Mukeshotwani5 жыл бұрын
Thanks Eva
@princenawsher43819 жыл бұрын
good ..I think we should set the system properties for crome and IE?
@Mukeshotwani9 жыл бұрын
+Prince Nawsher yes we have to set the property for chrome and IE.
@Shwetank05127 жыл бұрын
Briliant description !
@Mukeshotwani7 жыл бұрын
Thanks Shwetank :)
@baldygaming22267 жыл бұрын
Hi mukesh great day to you and again great lesson! very helpful! well just wanted to ask if you have a lesson for the auto suggest text box?
@Mukeshotwani7 жыл бұрын
Hi Marven after 16 may I will be having so much new content.
@baldygaming22267 жыл бұрын
i am ready mukesh! bring it on!
@shaiksuleman31914 жыл бұрын
Amazing and Crystal Clear Example
@grreddy78969 жыл бұрын
hi mukesh...i added enter title and content and publish button elements in seperate addnew page..while entering title text it is giving null pointer exception what might be the problem?i added constructor as well
@Mukeshotwani9 жыл бұрын
+gr reddy Hi Please share the code as well.
@grreddy78969 жыл бұрын
Thanque for your reply mukesh.It worked.But please clarify one more, suppose if we have some constant elements in multiple pages(Ex :Home ,SignIn links),in which page do we write them(write only once right !!)?
@gauravgandhi21637 жыл бұрын
Hi Mukesh, Thanks for the video. I need to ask a question that how i can run 2 test cases in series e.g I want to run Loginpage first and then postpage. I am not able to run the second test case because the user should be already logged in for 2nd case to run. Please help !!!!!!!!!
@jayaprabhumohan42597 жыл бұрын
Hi Gaurav, You can use TestNG priorities (i..e in your case, for Loginpage set (priority=1), and for the post page set (priority =2) or you can use dependsOnMethods to prioritise your test cases.
@sushanthsriram52598 жыл бұрын
Good and Easy to understand. Passing parameters and return is little bit complex. so if could you create another video that could be more useful for Beginners
@Mukeshotwani8 жыл бұрын
Hi Sushanth, yes will create soon.
@rijuvijayan89657 жыл бұрын
Hi Mukesh, why do we need a construtor in this example? (11.38). We are not using it anywhere in the class file. I tried without a constructor and it worked fine. Can you help please?
@Mukeshotwani7 жыл бұрын
Hi Riju, If you want to use driver is pages then you need constructor to work with driver.
@sudhirkhaire4 жыл бұрын
very helpful to better understanding of POM
@Mukeshotwani4 жыл бұрын
I am glad to hear that Sudheer
@sudhirkhaire4 жыл бұрын
@@Mukeshotwani I made classes for login and post, can you guide me to run these 2 class combine at a time e.g first login then post.
@shyamananth9 жыл бұрын
So nice !! Thanks a lot for your contributions and time !!!
@Mukeshotwani9 жыл бұрын
thanks :)
@easytechielearning4 жыл бұрын
I need help on switching windows,frames, uploading and downloading files, reading and writing into an excel sheet using page factory. Could you please help on this
@Mukeshotwani4 жыл бұрын
HI Mate, I have videos for all the new topics on my channel. Please do check and let me know if you face any issue.
@easytechielearning4 жыл бұрын
@@Mukeshotwani thank you for your reply Mukesh. Could you please message the youtube handle for the concept of pagefactory that I asked in the above comment. Thank you so much
@phaniindra32907 жыл бұрын
Hi Mukesh , I implemented the page object model using page factory , but when i run i am getting the java.lang.NullPointerException. Can you please help me in overcoming this exception. Thank You
@Mukeshotwani7 жыл бұрын
+phani indra Hey Phani send code to mukeshotwani@learn-automation.com
@narasimhanms88227 жыл бұрын
Great videos again ! Have you any videos for data driven testing (reading from Excel) using Page factory?
@Mukeshotwani7 жыл бұрын
No as such you can use the same logic for Page Factory as well
@shivad84559 жыл бұрын
Hi Mukesh, I tried whatever you gave the assignment. I created the new page for Posts and I created the new testcase also. But how to continue this new testcase after login page testcase? Why because we already given the BrowserFactory with browser and URL and how will we continue with this in new testcase? I added all the class files in xml file and executing as a testNG suite.
@Mukeshotwani9 жыл бұрын
+Shiva D Hi Shiva, After login you have to initialize the post page then you can continue with the remaining steps
@shivad84559 жыл бұрын
Hi Mukesh, We have already a separate class file for Login. By continuing the post page in the login file, I have created another class file for post page and I'm trying to execute in a testNG xml file. In every new test case we should call the BrowserFactory class file , it will open separate browser then how will it find the element?
@Mukeshotwani9 жыл бұрын
+Shiva D Hi Shiva it will be seperate session so it wont create any issue.
@nidhiprasad7 жыл бұрын
Many many thanks Mukesh ! The doubt that I had is that dont you have to do System.set property(" ",""); in case of chrome driver?
@Mukeshotwani7 жыл бұрын
Hi Nidhi I used the same step to make it work in MAC learn-automation.com/firefox-browser-on-mac-using-selenium-webdriver/ learn-automation.com/chrome-browser-on-mac-using-selenium/ We can also do the same thing in windows too using Env variables.
@nidhiprasad7 жыл бұрын
Hi Mukesh, My Bad .....I was referring to the Concept in the video at 15:30, where you check the browser type and then you assign the driver accordingly. So in case if the browser happens to be chrome , apart from assigning the WebDriver object driver as ChromeDriver, would we also need to do System.setpProperty (ChromeDriver," Path of the chromeDriver");.
@RosalynAbankwah9 жыл бұрын
hello Mukesh, please can you help me out? I want to write a java method/function that clicks on one button call: "ExpandAll" to display or show hidden fields or names hidden under lettered buttons in a column. The ExpandAll button has an attribute value=true. where true displays hidden fields and false hides the fields.
@Mukeshotwani9 жыл бұрын
+Rosalyn Abankwah Hi Rosa, Any sample application for reference?
@RosalynAbankwah9 жыл бұрын
+Mukesh otwani I have to show you through teamviewer
@RosalynAbankwah9 жыл бұрын
+Mukesh otwani I have to show you through teamviewer
@RosalynAbankwah9 жыл бұрын
+Mukesh otwani I have to show you through teamviewer
@RosalynAbankwah9 жыл бұрын
+Mukesh otwani I have to show you through teamviewer
@sumathigrandhi26436 жыл бұрын
While using how class you have used the variable “using” ,what is the use of it and also we haven’t defined it anywhere in the code .Can you explain the need of using variable .
@Mukeshotwani6 жыл бұрын
Hi Sumathi, using is predefined keyword in pom.
@hossains.52618 жыл бұрын
This video helped me to clarify my thoughts on page factory. I wanted to know in the @test class could i create object as simply as LoginClassName objA ? and import the class and call my methods from LoginClassName by objA. ? That's what I was doing until now and things didn't go well but with creating object with pagefactory in @test showed from you a new way to approach it and it worked for me. Thank you.
@Mukeshotwani8 жыл бұрын
Hey Hossain, I am glad to know it worked for you. I always use PageFactory approach which worked for me always.
@JulianKolodzey6 жыл бұрын
Great! Thnks. But how to be with an Ajax on the page if it's elements are initialized at the start? Is there a way to refresh the elements?
@Mukeshotwani5 жыл бұрын
Hi Julian for Ajax control you can still use @FindBy or normal By class as well.
@shreerangakv71837 жыл бұрын
I'm getting this problem ‘The annotaion @FindBy is disallowed for this location’! please help
@Mukeshotwani7 жыл бұрын
Kindly send code as well to mukeshotwani@learn-automation.com
@PriyankaGupta-wx7nm6 жыл бұрын
Me too having same problem pls help
@pallavipatil17444 жыл бұрын
Hello, I am getting exception while running program as 'Timed out receiving message from renderer'. Whereas same program runs fine without Page factory
@Mukeshotwani4 жыл бұрын
Hi Pallavi this issue comes with new page loads. You can suppress this warning using ChromeOption.
@nareshmadipelly9 жыл бұрын
Thanks Mukesh for the good video!! I have a doubt on Page factory, how can we select a drop down value using @FindBy ?
@Mukeshotwani9 жыл бұрын
+madipelly naresh identify dropdown and use Select class as we do for normal scripts.
@monimathur71788 жыл бұрын
Hi Mukesh, I am following all your vedios from the past few months.They are really well explained . I am looking forward for a live project to work on .Do u provide such live project training.if yes then please provide me the details.
@Mukeshotwani8 жыл бұрын
+Moni Mathur Hi Moni glad to know that :). .. Kindly mail me @ mukeshotwani@learn-automation.com
@LINGAREDDYSabbasani7 жыл бұрын
Nice tutorial appreciate your efforts thank you!!
@rajeshdevan60516 жыл бұрын
Sir finally I got output I recognized my mistake I made the code correctly then your assignment is little bit tough but still I didn't try I have no time to do your assignment but in future I shall do Sir thank you
@Mukeshotwani6 жыл бұрын
No hurry take your time for assignment
@leelapothuru8774 жыл бұрын
Hi Mukesh Very helpful to better understanding of page factory,please let me know how to find when List instead of WebElement.
@Mukeshotwani4 жыл бұрын
Hey Leela, as per latest post by simon (creator of Selenium) on twitter that @findBy will be deprecated soon. Use By class in pageObjects.
@leelapothuru8774 жыл бұрын
@@Mukeshotwani Thanks mukesh for the update.pls let me know how to find List by using By class
@saishashank2838 жыл бұрын
Hi Bro I have did the assignment which you gave and it run successfully
@Mukeshotwani8 жыл бұрын
Good Shashank bhai Keep it up.
@saishashank2838 жыл бұрын
Thank you Bhai Please help me with more information about selenium can you please contact me through my email i can call you
@balajisiva51143 жыл бұрын
The Best explanation. Thank you
@2009serfer5 жыл бұрын
Very neatly explained. Thanks
@Mukeshotwani5 жыл бұрын
Thanks buddy.
@manjunathb.n74659 жыл бұрын
Hi, Can we initialise PageFactory in LoginPage class constructor only? LoginPage(WebDriver driver) { PageFactory. initelements(driver, this); } In Test Case How we have to write assertion?
@Mukeshotwani9 жыл бұрын
+Manjunath B.N Hi Manjunath, yes we can intiliaze in this way as well. For assert you can directly write assertEquals method. Check below post for more detail. learn-automation.com/capture-error-message-in-selenium/
@jdp49997 жыл бұрын
Hi Mukesh ,I learn lots of things from your videos . Question . How and where to use visibilityOf Element method in Page Factory?
@samlawrence5417 жыл бұрын
i tried to run this but getting this exception : org.openqa.selenium.InvalidArgumentException.Expected [object Undefined] undefined to be a string...please i need help asap from anyone ,its running me mad.
@Mukeshotwani7 жыл бұрын
Hi Sam, I guess something went wrong with code . Kindly cross check once learn-automation.com/page-object-model-using-selenium-webdriver/
@satnam_India9 жыл бұрын
@Mukesh I am trying to implement POM. My application has registration link and clicking on the registration link opens a popup. So when you start the process, the popup will navigate to 3-4 screens as popup. Suggestion please do I need to create Pages for each of the popup . OR shall I define all the locators for the popup screens on the Registration page itself.
@Mukeshotwani9 жыл бұрын
+Satnam Singh Hi Satnam I would suggest keep it in Registration page only.
@rajeshrakam5805 жыл бұрын
Thank you Mukesh for giving these videos...how to find sequence of selenium videos
@Mukeshotwani5 жыл бұрын
Hi Rajesh you can find the order here learn-automation.com/selenium-webdriver-tutorial-for-beginners/
@satishbabuchaganti61636 жыл бұрын
In verifyvalidlogin class we need to pass url right then i was tried but am unable to get that startBrowser() method after BrowserFactory.
@nirmalanirmi89888 жыл бұрын
Hi Mukesh, Thank you so much for explaining Page Factory. I did your assignment but one problem. It does not identify the text body element where you write your post, giving 'nosuchelementfoundexecption', all other elements are working fine. Can you help me on this?
@Mukeshotwani8 жыл бұрын
+Nirmala Nirmi Please send me ur code to mukeshotwani@learn-automation.com
@harshilsaini30817 жыл бұрын
after passing the browser name and url to browserfactory class it not returning the driver object to the test case class and test case is not beign executed and it shows no error
@Mukeshotwani7 жыл бұрын
Can u Share ur code for review?
@amarsingh-cj7vz6 жыл бұрын
Nice Video... Thanks Mukesh
@Mukeshotwani6 жыл бұрын
Thanks Amar :)
@rincyjaison41107 жыл бұрын
Hi Mukesh, I am getting the error while adding @FindBy in page class.Please help The annotation @FindBy is disallowed for this location
@Mukeshotwani7 жыл бұрын
Hi Joseph, @FindBy can be used in Pages only.
@rincyjaison41107 жыл бұрын
Hi Mukesh, I used in Login page class.Please find the below. public class LoginPageNew { public LoginPageNew() { @FindBy(id="user_login") WebElement username; @FindBy(how=How.ID,using="user_pass") WebElement password;
@gowrisankarmuvvala67978 жыл бұрын
Hi Mukesh, This video is very useful for me to get start with POM. Could you please help me to understand what is the main differences bet ween normal approach and POM, in normal approach we will keep all the elements info in property file and we will call and use. What could be the main difference. Thanks.
@Mukeshotwani8 жыл бұрын
Both are perfect but in OR every object in same file so searching element would be difficult. In Page object model we would be storing based on functionality so it makes our test robust.
@pratibhasingh34324 жыл бұрын
Great job... its really helpful. Thnku so much
@pk41225 жыл бұрын
I would like to know how initElemt is avoiding StaleElementException? Because it also looks for webElement and performs an action, there are chances element is removed and reloaded between the process of finding it and taking action on it.
@anilkumaryadav1064 жыл бұрын
Mukesh, please answer this, I also wanted to know.
@kanikahans47464 жыл бұрын
Hi . can you please tell where you write the link for the demo site. I am not able to find. Thanks
@Mukeshotwani4 жыл бұрын
Hi Kanika, you can use any web application for automation. Here is the credentials for demo site Admin Page: s1.demo.opensourcecms.com/wordpress/wp-login.php Username: opensourcecms Password: opensourcecms
@evadimitrova32165 жыл бұрын
I have a question: I am trying to make Firefox to work with Selenium 3, follow all the instruction, but it doesn't start. Any ideas?
@Mukeshotwani5 жыл бұрын
Hi Eva what issues or error you are getting with firefox? Did you use Gecko driver? learn-automation.com/use-firefox-selenium-using-geckodriver-selenium-3/
@Jnana_Lahari9 жыл бұрын
Hi Mukesh, I am too getting same error as Akash, null pointer exception. Where to add the constructor. can please help me. I am working on salesforce application, but i am not able to click on "Split Button". please help me with this. thanks in advance,
@Mukeshotwani9 жыл бұрын
+Madhu Joshi Hi madhu is it solved? sorry for late reply I was on leave.
@Jnana_Lahari9 жыл бұрын
No I am not able to click on the button
@Jnana_Lahari9 жыл бұрын
Can you please send me hybrid frame work code if possible
@Mukeshotwani9 жыл бұрын
Will upload soon.
@shirishbhavani30096 жыл бұрын
Hi Mukesh, is there any video which includes entire framework like POM page factory , Data driven using excel ,TestNG reports, Maven with jenkins. Need to see an end to end flow ? It would be helpful .
@Mukeshotwani6 жыл бұрын
Hi Shirish uploading soon.
@umamanickam88576 жыл бұрын
Mukesh otwani Thank you..we are waiting for it
@samarpati46593 жыл бұрын
Hii sir, I m getting Null pointer exception even I followed as you said.can you explain what might be the reason?
@MrKellindill8 жыл бұрын
Hi Mukesh. Could you pls explain in two words, what is the advatage of this factory pattern/model comparing to simple page object model? In current example it seems like this is just more complicated and does not increase readability and maintenability, comparing to POM...
@amaan2592 жыл бұрын
Hi mukesh but this why browser factory necessary it's lot of confusion and u create a return type in that so confusion
@ashriths248 жыл бұрын
Hi Mukesh, i wanted to know one thing. Where would you put the quit method in this framework?
@Mukeshotwani8 жыл бұрын
I used in AfterSuite
@ashriths248 жыл бұрын
Mukesh otwani thanks a lot. Your videos really helped me clear one of the interview
@anjankumarsahu49697 жыл бұрын
Hii Mukesh ur superb the concept of POM now fully cleared but some extra things like how to use Loadable Component in POM can u pls elaborate it by creating a video...........pls help me out.
@iamme92508 жыл бұрын
Hi Mukesh, Why did you declare startBrowser as static? Can we declare it as ordinary method instead?
@Mukeshotwani8 жыл бұрын
So that I can call using Classname
@archanabisht97337 жыл бұрын
Hi Mukesh, I am little bit confused between '@FindBy(id="") and @FindBy(how=How.ID,using="")'. Which one is better to use. Can you please help me with the difference between these two?
@sundayjeremiah47118 жыл бұрын
This is very helpful ... Thank you
@Mukeshotwani8 жыл бұрын
Your most welcome Sunday Jeremiah
@karthikmanoharan67947 жыл бұрын
in POM, i have included the List as below @FindBy(how=How.XPATH, using=".//*[@id='customers']/tbody/tr") List Tablec; public List Tablec(){ return Tablec; } when i try to call the List Wbelement method in main program, i am getting the below error java.lang.NullPointerException at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69) at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
@mariovega74295 жыл бұрын
hello can you send me the video link explaining why we have to initialize webdriver drive in a constructor
@Mukeshotwani5 жыл бұрын
Hey Ramirez PageFactory link seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/support/PageFactory.html#initElements-org.openqa.selenium.WebDriver-java.lang.Object-
@sathishreddy75225 жыл бұрын
@@Mukeshotwani sir please give me your mobile number becaz I am having some doughts on software installation such that testing,Cucumber on that purpose I would like to contact to you
@GangaDevi-us4jr6 жыл бұрын
hi, am passing the folder path starting from location c drive. like C://folder. how to pass this as generic? thanks
@dimplebajaj71028 жыл бұрын
Hi Mukesh. Very good explanation for beginners. I am from California and looking for automation training. Is there any way to learn it from you other than the you tube videos you post. Thanks
@Mukeshotwani8 жыл бұрын
+Dimple Bajaj Hi Dimple Bajaj thanks a ton for nice feedback. Yes I have details which I want to share. Please send test email to my id I will share the details mukeshotwani@learn-automation.com
@harisherchan20033 жыл бұрын
Hi, Got this error Cannot invoke "org.openqa.selenium.WebDriver.manage()" because "Helper.BrowserFactory.driver" is null. Did same as you did on video but still got this error.
@SpiritnMind2 жыл бұрын
It’s suppose to be “WebDriver.Manager() not manage check ur webdriver setup
@guptaakash19899 жыл бұрын
hello mukesh when i tried this page factory method its giving me a null pointer exception why its happening plz tell me
@Mukeshotwani9 жыл бұрын
+Akash Gupta Hi Akash, Please use the constructor in Each page class to initialize driver.
@pavankumarchappidi64039 жыл бұрын
+Mukesh otwani Hi Mukesh. a). what does it mean to 'initialize' objects in page factory? b). And what is the advantage of using page factory(@FIND BY) instead of 'By' . Please clarify?
@Mukeshotwani9 жыл бұрын
PageFactory provides cachelookup which increase performance
@apekshasrivastava41018 жыл бұрын
+Mukesh otwani : Hi Mukesh, I am also getting the same error (null pointer exception), I have created the constructor in each page class but encountered the same error .Can you please suggest the solution?
@Mukeshotwani8 жыл бұрын
Apeksha Srivastava can u send me ur code I will check n reply mukeshotwani@learn-automation.com
@purushothammb90969 жыл бұрын
Hi Mukesh How locate the web elements which are inside the table While automating the login page of CRM APPLICATION username and password are inside the 3 table how to locate them please help me Zoho CRM APPLICATION
@Mukeshotwani9 жыл бұрын
+purushotham MB Below link will help you kzbin.info/www/bejne/mmLaZ3-HibuaZ9k
@rajeshkumar-no8sp4 жыл бұрын
Hi sir. I've a question. Using FindBy don't we need to use wait with FindBy? OR FindBY will always inspect the element properly without having wait. Means we'll never get exception of element not find or something
@Mukeshotwani4 жыл бұрын
No Rajesh FindBy another way to use driver.findElement.You have to use proper wait mechanism to handle sync issue.
@rajeshkumar-no8sp4 жыл бұрын
@@Mukeshotwani thank you so much sir!
@neetu83928 жыл бұрын
Hi Mukesh, thanks for the video. Your videos have been helpful! I have tried this scenario. Like others I am also getting nullpointer exception on the second page that I've created. I have created the constructer on each page. I am unable to resolve this issue. Please help! Thanks.
@Mukeshotwani8 жыл бұрын
+Neetu Hi Neetu can u please share ur code mukeshotwani@learn-automation.com I will fix the issue.
@neetu83928 жыл бұрын
+Mukesh otwani Looks like I lost the access to this demo site. Cannot learn on this application any more ):
@Mukeshotwani8 жыл бұрын
Hi Neetu I have another site for demo or practice demo.avactis.com/4.7.9/
@ragavibaskaran89947 жыл бұрын
I have a question on browser class. Why are we making it as static method? and quite not clear about return type.
@anjankumarsahu49697 жыл бұрын
Browser Class is Static because by using static keyword no object have to be create again then the return type is webDriver because in normal programs when ur creating webdriver object like(WebDriver driver = new fireFoxDriver(); let's say) then using that webdriver object(driver) ur launching the browser(driver.get("www.google.co.in");) and maximize the browser (driver.manage().window().maximize();)and accessing the webelement(driver.findElement(By.id("id of the webelement"));) write so same here when the return type is webdriver using the object of return type we can access the webelement and other option available in the program
@shreyanshjain23479 жыл бұрын
good video..informative..
@Mukeshotwani9 жыл бұрын
+Shreyansh jain Thanks
@vinith56723 жыл бұрын
Hi mukesh....how to find web element's' using @findby
@Mukeshotwani3 жыл бұрын
Hi Vinith can u try using By ?
@Mukeshotwani3 жыл бұрын
Please follow this updated playlist kzbin.info/aero/PL6flErFppaj0WwNOMFeXPVlNCDuJyPYFi
@dgdgtyey7 жыл бұрын
Hi Mukesh, How can handle Object Repository for Webtables in POM. Scenario like i need to read the users data from the data table and i need to create object for the datatable attribute in Object Repository. so how to handle in the Object Repository? Thanks in advance. Regards, Venkatesh
@twistedstyles2 жыл бұрын
findby and how seem to do the same things, whats the difference??
@Mukeshotwani2 жыл бұрын
findby is alternative. From Selenium 4 it is recommended to use By class which make scripts more stable.
@arkaimps7 жыл бұрын
Hi Mukesh.. Thanks for the efforts that put in for the videos. Its very really awesome.Trying to learn automation watching your videos only :) I have a quick question about the property file and PageFactory when i was thinking to co-relate in between the two. can it be done and will it give any advantage if we are already having @cache annonation in pagefactory model?
@avishekbehera6 жыл бұрын
Thank you for the amazing video..I have a query.. for example I want to implement fluent wait..and want to give a condition to wait for an element with a locator may be xpath. How would I do it? normally I do WebElement element = (new WebDriverWait(driver, 50)) .until(ExpectedConditions.elementToBeClickable(By.xpath(YC_compName))); here instead of By.xpath(YC_compName), what can be used?