Why didn't i find your channel before! Your videos are so helpful. Really appreciate the effort you have put in to make the tutorials so easy to follow. Thanks!
Hi Mukesh, I have sent u a mail to seek some help on a website I am currently testing. Could you please provide me appropriate solution to my query. Thanks
Hi mukesh, at 5:09 I noticed that using following::a is showing element which are written before element having id='menu-dashboard' as well(as u can notice scroll bar position). Then how following:: is showing only elements coming after id='menu-dashboard' element?
Hi Abhay if you are getting multiple nodes then you have 2 solutions. 1- Add some more property to get unique element. 2- You can use index as well to get all values.
if, id is dynamically changed, we can use starts-with(), contains() //input[contains(@id,'123')] or //input[starts-with(@id,'123')] if id is getting changed completely, then we have to choose another property instead of 'id' or better to use following concept
this nice tutorial How can I check the presence of element (Button) for many flight on listing there is so many flight how can we check the presence of button for many flighy give some example related to this
Hi Mukesh, your videos are great. How to get all the values of “Month” drop down for creating new Gmail account? I do not find any select tag over there. Thanks
Hi Mukesh, thanks for your response. I should have used findElements instead of findElement. Now the problem is solved. findElement returns single WebElement
//label[text() ='Username or Email Address']//following::input[1] This XPath should highlight only one textbox. But it will return 2. Why? Currently I am using ChroPath. The only problem with label-tag. It will work fine with input-tag.
Hi Prajkta, many time you will face hidden webelements. I have dedicated video on this which will help you to deal with such scenario ruclips.net/video/2eEr0jtmpwE/видео.html
Hello Sir, when I pass XPath like "//span[@class='select2-selection select2-selection--single']" selenium throws me error like "FAILED: register org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "span" , what should i do.there is only class which is not working when created Dynamic xpath
+Raju M Hi Raju you can press F12 which will start inspector the use CTR+ F it will start xpath search window. Then you can try your xpath which you want to search.
Sir, can you explain why there is a dot before every xpath expression in firefox ? , eg .//* .cant we not give directly // and then the expression ?In real time if we write on any ide like eclipse, how do we write it ?
Hi , latest version of firefox doesn't support firebug or firepath , since we use developer tools to inspect elements , can u please provide details on how to work on developers tools .
Hi Naved The normalize-space function strips leading and trailing white-space from a string, replaces sequences of whitespace characters by a single space, and returns the resulting string.
sir i am working on salesforce technology, my website has developed on cloud, and it's a very tricky site, all elements having only single locator and i.e., class, or either id, i am not able to do automation, i have tried with so many xpath but none of them working, i am fadup now.
Hi Mukesh, Nice Videos. I tired using //*[id='c errontent-label']/label//following::textarea , it did not work. I got an Error'Element info: {Using=xpath, value=//*[id='content-label']/label//following::textarea} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
In Chrome, hit F12 to open dev tools. Select 'elements' tab. Type Ctrl-f for find. Enter your xPath then . Element(s) will be highlighted with the count.
Hi everyone, any one help me, I am stuck with dynamic xpath which change its value after every execution PFB example for your reference //*[@id='dataTable']/tbody/tr[21]/td/div/i //*[@id='dataTable']/tbody/tr[22]/td/div/i //*[@id='dataTable']/tbody/tr[23]/td/div/i //*[@id='dataTable']/tbody/tr[24]/td/div/i so on .... please let me know know i can handle it thanks and waiting for positive response
Hi Mukesh here i its the xpath value. of compose the mail in gmail account. //div[@id=':gi']/div/div @id='This value is changed dynamic' every time how to handle this in selenium ide.also if we click on To label text in text also id is frequently changed. so plz help for the same.
Please take it as a feedback, a lot more could be done preparation part before presenting this video. You are switching to different concept while explaining something else, lack of good examples, objective of examples is not clear .
For Ex : at 1.33 min, you took example of tag text area and suddenly switched to content text area and Xpath of content label is written aready and you just wrote "following" function to find the text area.But the Xpath of content does not match with any of the attributes mentioned in the html code
Why didn't i find your channel before! Your videos are so helpful. Really appreciate the effort you have put in to make the tutorials so easy to follow. Thanks!
Thanks a lot for the video.......Ur way of explaining is simply fantastic.......Please share the link of part 3 of this video series
+Swayam bikash Thanks Swayam will upload soon.
thanks mukesh , u did a great job , hats off!!
Thanks Gandharav keep visiting and let me know if you need any help from my side.
Nice video for Xpath, Thank you.
+Pavan kumar Sharma thnx Pavan
nice video, please post video tutorial on "Selenium Grid". Thanks! :)
+Shreyansh jain so many video's in pipeline will upload soon :)
+Mukesh otwani i also waiting for "Selenium Grid".
Thanks Mukesh....Many Questions get answered....
Welcome Kiran. Happy Navratri.
Hi Mukesh,
Excellent videos mate!!! Great help.....
+Harsh Bhasin thx Harsh
Hi Mukesh, I have sent u a mail to seek some help on a website I am currently testing. Could you please provide me appropriate solution to my query.
Thanks
Mukesh you are using //following:: but as per the syntax we should use /following:: and even i have used with /following and its working
Great Videos!!!
Thank you so much for nice tutorials ....
Welcome Shashikala :) Happy Navratri.
Nice video Mukesh...
One clarification, for every element on a page if possible we can create multiple relative xpath.am I right?
Thanks! HELPED ME A LOT!
+ravi gupta Thanks Gupta ji
thnx , really helpful...........
+Hum Tum Thank you :) Keep visiting
Thanks for this video...learned so much from it :)
+Madhu smita Thanks Madhu hope next tutorial will also give deep insight of Selenium
Thank you bro...realy nice tutorial..!
Welcome Ashok.
Very useful and interesting. Thanks!
+fran ferris Thanks Fran keep visiting
Thank you from Pakistan
This video helped me a lot. Thank you so much..
Nice explanation Sir thank you then without using fire bug how we use these following, ancestor, preceding Sir can you make video for that?
Thanks for nice tutorial
Welcome Krishna :) Keep visiting.
thanks mukesh, Also plz suggest me how to click auto suggestion box?
Hi Raju use mouse hover event
Hi mukesh,
at 5:09 I noticed that using following::a is showing element which are written before element having id='menu-dashboard' as well(as u can notice scroll bar position). Then how following:: is showing only elements coming after id='menu-dashboard' element?
how do i create xpath for below
I did create //input[@type='text' and @placeholder='Filter value...' ] and 4 matching.
Hi Abhay if you are getting multiple nodes then you have 2 solutions.
1- Add some more property to get unique element.
2- You can use index as well to get all values.
hi Mukesh
Could you please make a video for identifying elements in nested tables in IE
Hi Bibhuti any examples for this?
Nice vedio. I want to ask if there is no locator for you how to identify the element on web page.
Hi Neha in that case you can use Text as well
thanks alot ......
+jayesh Hoondlani Thanks jayesh
Thank you so much for nice tutorials
id is Dynamically changed.how to Write the Xpath
if, id is dynamically changed, we can use starts-with(), contains()
//input[contains(@id,'123')] or
//input[starts-with(@id,'123')]
if id is getting changed completely, then we have to choose another property instead of 'id'
or better to use following concept
Hi bro,first time id=123 and second id=654 continuous changed how to handle
another property is not there
this nice tutorial
How can I check the presence of element (Button) for many flight
on listing there is so many flight
how can we check the presence of button for many flighy
give some example
related to this
Hi Mate, you can use findElements.
Hi Mukesh, your videos are great. How to get all the values of “Month” drop down for creating new Gmail account? I do not find any select tag over there. Thanks
Hey mahbub yes in that case get all elements in List and then iterate using loop and then click.
Hi Mukesh, thanks for your response. I should have used findElements instead of findElement. Now the problem is solved. findElement returns single WebElement
@@mahbubkhoda4615 right
thank you Mukesh
Welcome Mahajan
Can you build a bdd framework from scratch and please execute some projects in some short videos
//label[text() ='Username or Email Address']//following::input[1]
This XPath should highlight only one textbox. But it will return 2. Why?
Currently I am using ChroPath.
The only problem with label-tag. It will work fine with input-tag.
Hi Prajkta, many time you will face hidden webelements. I have dedicated video on this which will help you to deal with such scenario ruclips.net/video/2eEr0jtmpwE/видео.html
@@Mukeshotwani thank you🙂👍
Thank you for the video!
Welcome Mate :)Keep learning.
Hi Mukesh,
Have u work on ext. Js UI framework, all elements in the dom are dynamic so can you please suggest me any other option
Hi Paresh no experience on ext.js framework
What is the difference between Ancestor or Precedent and Following or Descendent? Please explain with example. Thanks in advance
Hello Sir,
when I pass XPath like "//span[@class='select2-selection select2-selection--single']" selenium throws me error like "FAILED: register
org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "span" , what should i do.there is only class which is not working when created Dynamic xpath
HI Jayanti, you can use following,preceding,parent properties to find xpath.
nice video, can u plz tell me how to access footer element in chrome?
+Raju M Hi Raju you can press F12 which will start inspector the use CTR+ F it will start xpath search window.
Then you can try your xpath which you want to search.
Sir, can you explain why there is a dot before every xpath expression in firefox ? , eg .//* .cant we not give directly // and then the expression ?In real time if we write on any ide like eclipse, how do we write it ?
Hi , latest version of firefox doesn't support firebug or firepath , since we use developer tools to inspect elements , can u please provide details on how to work on developers tools .
Hi Mukesh Could you please upload videos on selenium web driver 3.0 step by step
Hi Abdul, sure will make soon..
Hi Thanks Buddy...
Hi Shrinu welcome :)
thanks
+Shreyansh jain :)
Thanks!
welcome keep visiting
Hi, Mukesh
Can you please help with Error communicating with the remote browser. It may have died. error?
Hi Ketaki always call quit or close method at last.
Hi Mukesh what is the normalize-space please check this xpath //a[normalize-space()='Create a new account'] i m not understand this
Hi Naved The normalize-space function strips leading and trailing white-space from a string, replaces sequences of whitespace characters by a single space, and returns the resulting string.
@@Mukeshotwani Thank you so much Mukesh Sir
Thanks :)
Welcome Sharma ji :) Keep visiting.
One more question
div
span id 1
span id 2
div
div
span id 1
span id 2
div
need to traverse from up to down and down to up .
let me know the xpath
sir i am working on salesforce technology, my website has developed on cloud, and it's a very tricky site, all elements having only single locator and i.e., class, or either id, i am not able to do automation, i have tried with so many xpath but none of them working, i am fadup now.
Hi sir, can you recommend any good tutorial site on java or do have one that i can learn from?
+Zainub Behl I have almost 10 videos on Java on RUclips.. for rest javatpoint is best
Thanks sir
Hi Mukesh, Nice Videos. I tired using //*[id='c errontent-label']/label//following::textarea , it did not work. I got an Error'Element info: {Using=xpath, value=//*[id='content-label']/label//following::textarea}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Is it matching with nodes?
yes, i used word press website as in the video,but used chrome browser instead of Firefox
Hi Mukesh, Thanks for the Video. Now Firepath is no longer available, is there any other way to write and evaluate my Xpath
Hi Install the previous version of FF and disable auto update . Firepath is supported for 55.0 and older versions
In Chrome, hit F12 to open dev tools. Select 'elements' tab. Type Ctrl-f for find. Enter your xPath then . Element(s) will be highlighted with the count.
ChroPath is amazing for Chrome
Hi Mukesh,
For exe:
HTML
Body
Div
Name
Div
Body
HTML
Kindly let me know the different xpath pattern to reach Name
//name/following:div
Please give me the above word press site link
Hi everyone,
any one help me,
I am stuck with dynamic xpath which change its value after every execution PFB example for your reference
//*[@id='dataTable']/tbody/tr[21]/td/div/i
//*[@id='dataTable']/tbody/tr[22]/td/div/i
//*[@id='dataTable']/tbody/tr[23]/td/div/i
//*[@id='dataTable']/tbody/tr[24]/td/div/i
so on ....
please let me know know i can handle it
thanks and waiting for positive response
Great video
Could you please provide the admin username and password
username :admin
password: demo123
For God's sake,
I can not find this dummy website.
Please send me the link
you can use this website demos1.softaculous.com/WordPress/wp-admin/ username:admin password:pass
Could you please give me the usename and password for the demowordpress
admin and demo123
previously it was working but not now.
username :admin
password:demo123
is not working...couldn't working ?please provide me username n password
Hi Mukesh
here i its the xpath value. of compose the mail in gmail account.
//div[@id=':gi']/div/div
@id='This value is changed dynamic' every time
how to handle this in selenium ide.also if we click on To label text in text also id is frequently changed.
so plz help for the same.
Hye Hitendra use text instead of ID
Please take it as a feedback, a lot more could be done preparation part before presenting this video. You are switching to different concept while explaining something else, lack of good examples, objective of examples is not clear .
For Ex : at 1.33 min, you took example of tag text area and suddenly switched to content text area and Xpath of content label is written aready and you just wrote "following" function to find the text area.But the Xpath of content does not match with any of the attributes mentioned in the html code