Dynamic XPath in Selenium using Different Approaches

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 222

  • @aishwaryapathak553
    @aishwaryapathak553 7 лет назад +1

    Hi Mukesh ,
    Just wanted to appreciate the way of teaching and explaining you do.
    I enrolled for selenium class room training but your online sessions proved to be more effective.
    Thanks

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Hi Aishhwarya,
      Thank you so much :) I am glad it helped you. Keep visiting and Happy Weekend.

  • @gnreddyk7866
    @gnreddyk7866 8 лет назад +1

    Dear Mukesh,Investing your time to fulfill our minds with these concepts is Awesome task..We are grateful to your time..With folded hands ..thanks alot .

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Your most welcome mate :) Kindly share with your friends too.

  • @MyGreatAchievers
    @MyGreatAchievers 8 лет назад +1

    My hunt for XPATH ends here Mukesh...u r simply awesome.....Disappointed as there are only 29k views....deserves more...

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Thanks Rao :) Views are less but user attention is high. Keep visiting

  • @vamsi476giet
    @vamsi476giet 8 лет назад

    The most important thing in selenium is to find the element and thanks for explaining it in very detailed manner

  • @karthickshiva2671
    @karthickshiva2671 6 лет назад

    Once I thought I can never learn Selenium, now you are also one of the reason where i started automating some web pages. thanks brother you are awesome

  • @towhidskynet
    @towhidskynet 7 лет назад

    12:15, 16:00, 9:00, 20:50,25:00
    Very good examples of :
    1. how to see number of matching nodes
    2. use of and or logic
    3. use of text() and contains(), starts-with() method.
    4. use of following

  • @vrjosyula
    @vrjosyula 8 лет назад +1

    Thanks a lot Mukesh. This video cleared a lot of my doubts and gave a lot of insight.

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +vrjosyula let me know if any help from my side.

  • @mohammedmoosasharieff1816
    @mohammedmoosasharieff1816 5 лет назад +1

    Thanks Mukesh...
    Wanted to learn writing xpath since months!
    The video has been helped a lot.

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Thanks Moosa, I will glad you understood Xpath concept.

  • @siyarsahar9954
    @siyarsahar9954 5 лет назад

    Dear Mukesh Thanks for all the videos you make! in 23 rd minute, you talk about if id is dynamic, so we use starts-with, but you forget to write starts-with and you write contains.

  • @abhisheknimbalkar8509
    @abhisheknimbalkar8509 9 лет назад +2

    Thanks Mate... Xpath was never so easy to understand. Keep up the great work ...

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Abhishek Nimbalkar Thank you Abhishek :)

  • @AbhishekGupta-kn8pv
    @AbhishekGupta-kn8pv 9 лет назад +1

    It was quite knowledgeable...waiting for another one..However I would request to upload a video on CssSelectors also...Thanks.

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +abhishek gupta CSS will updoad next weekend

  • @chinmayachittaranjanjena2575
    @chinmayachittaranjanjena2575 9 лет назад +1

    Good Tutorial, understood how to make xpath

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Chinmaya chittaranjan jena Thanks Chinmaya

  • @saiputlur
    @saiputlur 7 лет назад +1

    thats very precise and clear explanation. easily understandable. thanks a lot.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Hey Krishna Thank you :) I am glad it helped you. Keep visiting.

  • @PradeepChauhan17
    @PradeepChauhan17 6 лет назад

    Very informative video. Thank you for this.
    Few questions: 1. (Ref:17:48) At some place you mentioned @name='value'. At another you mentioned @href, 'edit.php'. The = is not mandatory? Where all it's used?
    2. (Ref:17:40) How to find how many methods (like contains, text, etc.) are available?
    3. On FireFox 59 (Quantum) how do I per a search for the XPath ? Do I see a similar search box like I see in FireBug/FirePath which is incidentally not supported.

  • @tarunakalra8993
    @tarunakalra8993 4 года назад +2

    Hi Mukesh ..Your sessions are really helpful but it would be good if you write sequence number of sessions for beginners.

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Thanks Taruna, sure I will make them is sequence soon.

  • @najeebzahed6348
    @najeebzahed6348 6 лет назад

    For the example you used on 16:27 here's the XPath I use able to use today:
    //td[@class='t posts']//a[contains(text(),'Posts')]

  • @ajaysuresh3781
    @ajaysuresh3781 4 года назад +1

    Thanks Mukesh. Your tutorials are really helpful and informative

  • @seetalbachu758
    @seetalbachu758 9 лет назад +1

    Very good tutorial. Easy to understand.

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Seetal Bachu Thanks Seetal keep visiting :)

  • @AJAUTOMATION
    @AJAUTOMATION 4 года назад +2

    Brilliant job Mukesh..I have learnt a lot from you..
    #AjAutomation

  • @rekham9489
    @rekham9489 9 лет назад

    Very Nice and easy to understand....best tutorials. Thank You Mukesh Sir :-)

  • @pinkisukhwani9600
    @pinkisukhwani9600 7 лет назад +1

    Hi Mukesh,
    you are doing great ...!! can you pls make video on "Parameterizing xpath"

  • @santosh830
    @santosh830 7 лет назад

    In hybrid driven framework,why did you use local driver in homepage.your explanation is excellent.thank you

  • @arijitbhattacharjee5243
    @arijitbhattacharjee5243 7 лет назад +1

    Hi Mukesh Sir,
    Thank you so much. Its really helpful. But i have one query:
    How to handle auto-suggest search drop down in selenium webdriver?
    Can you please guide.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      You can use findElements method and list concept in Selenium to handle autosuggestions.

  • @seemaahuja1750
    @seemaahuja1750 7 лет назад +1

    Thanks a lot mukesh for this excellent vedio

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      +Seema Ahuja thank you Seema keep visiting and let me know if any help required from my side.
      Happy weekend

  • @pratikkhakria6319
    @pratikkhakria6319 7 лет назад

    Wonderful Mukesh.
    This video is awesome.
    :)

  • @nikhiltinku3232
    @nikhiltinku3232 4 года назад +1

    Thankyou Mukesh, your videos are really helpful.

  • @rd669
    @rd669 7 лет назад +1

    very useful video. Thank you so much Mukesh!

  • @MdAlam-ie7fg
    @MdAlam-ie7fg 7 лет назад +1

    Hey, Mukesh thank you very much, its really helpful

  • @grijeshmnit
    @grijeshmnit 7 лет назад +1

    Thanks Very much. You saved my lots of time and efforts (y)

  • @piyushratnam5490
    @piyushratnam5490 8 лет назад

    Hi Mukesh,
    Thanks for this Video, you have nicely explained everything, learnt a bit more about writing XPATHs. One thing stroked my mind - Does HTML have a tag as well, got confused with below example, Syntax : //tagname[starts-with(@attribute-name,’’)]
    e.g. //id[starts-with(@id,’’)]

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Hi Piyush,
      HTML is the parent tag but it does not have any id. Xpath examples will be applicable for other elements.

  • @mykyramylife
    @mykyramylife 7 лет назад +1

    Thanks Mukesh, very useful.

  • @ramgupta4567
    @ramgupta4567 7 лет назад

    Nice video on Xpath.Thanks Mukesh

  • @gavishwa
    @gavishwa 7 лет назад +1

    Nice One Mukesh.Thanking you for sharing the info. From FireFox v 57 we do not have support for Fire Bug. Could you please share more info on how to get the x path by using fire fox v 57..

    • @praveen420ify
      @praveen420ify 7 лет назад

      1. Open mozila Developer window.( Press f12)
      2. Spy on required Element.
      3. right click on Path comes in Developer window after spying element
      4. Click COPY option and then U can select xpath( Or other locator options)

  • @asmarazaq9122
    @asmarazaq9122 5 лет назад +1

    Thankyou Mukesh, it was really helpful

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Most welcome Asma... keep learning.. Happy to see that you are learning over weekend 😃

  • @and7998
    @and7998 8 лет назад

    Awesome video! keep up the good work. Can you also upload a tutorial on how to work with s and windows handles in selenium?

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Anu Dube Hi Anu for frames will upload tomorrow. For window handle please refer below link.
      Note- Please use headphones for this video voice is very low.
      ruclips.net/video/IcAD_eI50v8/видео.html

  • @chaitanya2590
    @chaitanya2590 8 лет назад

    Video was very helpful , Thank you!

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Chaitanya G.A Your most welcome let me know if any help from my side.

  • @MukeshKumar-iw7rr
    @MukeshKumar-iw7rr 6 лет назад

    Hi Mukesh, thanks for this video. Can you upload videos on how to find xpath for SVG and AngularJS as well.

  • @LINGAREDDYSabbasani
    @LINGAREDDYSabbasani 7 лет назад

    Very good explanation thank you !!

  • @bobin1619
    @bobin1619 7 лет назад +1

    good explanation..

  • @dbvs007
    @dbvs007 8 лет назад

    Very useful thanks Mukesh

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Bhanu Surendra THanks Bhanu keep visting

  • @sajeerkunnoth6630
    @sajeerkunnoth6630 6 лет назад +4

    In this video, 16 second's you are explaining how to use contains, but it's not working because you have used "//input[contains(@name='post_title')] " In my understanding if your using contains you have to use coma. Eg: //input[contains(@name='post_title')]

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      Hi Sajeer Thank you for correcting me.

  • @atulthorat5670
    @atulthorat5670 4 года назад +2

    Thank you Mukesh..!

  • @nihardash9619
    @nihardash9619 4 года назад +1

    Hi Mukesh,the website you are using for example not working in google chrome(wordpress),can u use some other geninue websites which are working in google chrome and explain the same things .Thanks for your videos

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Hi Nihar, you can use this application for testing opensource-demo.orangehrmlive.com/

  • @SagarKumar-rg8xc
    @SagarKumar-rg8xc 6 лет назад

    very well explained, good learning from you

  • @muthuvel2390
    @muthuvel2390 8 лет назад

    hi mukash thanks for your video it is very helpful and i have one doubt if xpath values are changed dynamically interviewer asked that question so i dont know how to answer ths question so please.

  • @khyatisingh404
    @khyatisingh404 3 года назад

    Sir I love you !u have given me a solution thank you!

  • @ppatel332
    @ppatel332 6 лет назад +1

    Thanks sir. This video is really useful.

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      Welcome, Parthiv... Please keep visiting...

  • @tomg2982
    @tomg2982 7 лет назад +1

    Hi Mukesh, This is really good tutorial, thank you.
    Could you please explain how to find xpath for elements which are repeated several times in several the same tagnames ex:
    for odds in bet365 : the following sentence :
    10/1 is repeated over 10 times.
    How to write xpath for the one interresting me?
    Regards: Tom

    • @ravikumar-sharma-k
      @ravikumar-sharma-k 7 лет назад

      Tomasz G use xpath like this:WebElement element = //*[@class=gl-Participant_Odds].It will find all elements with that class.

    • @ravikumar-sharma-k
      @ravikumar-sharma-k 7 лет назад

      Tomasz G use xpath like this:WebElement element = //*[@class=gl-Participant_Odds].It will find all elements with that class.

  • @luckywithpooji-telugu
    @luckywithpooji-telugu 5 лет назад +1

    can u upload all ur selenium clases in sequential mannaer we not able to find ur all videos regarding selenium

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Hi Lakshmi I will rearrange them soon

  • @Deliquesent
    @Deliquesent 5 лет назад +1

    What is the need of using OR and AND functions in Xpath. If we can find a webelement with 1 unique attribute, then is there a need to specify the other attribute too?

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Hi Sakshi, in case if one attribute changes so other will be used for identifying web elements.

  • @momomeshtv7318
    @momomeshtv7318 3 года назад +2

    can we find the xpath of facebook video / post comments? it appears to be a list or something that needs to click before it expands out.... furthermore it doesn't show ALL the comments you have to click on the view more to get all.... is that doable with selenium?

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hi Buddy please check this www.selenium.dev/documentation/en/worst_practices/gmail_email_and_facebook_logins/

  • @Iceeboltt
    @Iceeboltt 3 года назад

    Hey Mukesh so what is wrong if we use the same xpaths why we need to customize xpaths what is the benefit in that for a tester ?

  • @kokilajs7796
    @kokilajs7796 3 года назад +1

    Hello sir, I have to write the dynamic xpath so that everytime it should increment and pass that value to xpath and this xpath finding can go upto 2 or 3 pages

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Yes Kokila what issue you are facing?

  • @KevinLi-wx1kq
    @KevinLi-wx1kq 9 лет назад +1

    Any info about how to handle svg object/graph (using css/xpath) in Webdriver?

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Kevin Li Hi Kevin,
      Any example of SVG objects?

  • @mastanmmr374
    @mastanmmr374 7 лет назад +1

    hi mukesh'
    when to use absolulative & relative xpath

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      It is up to your requirement I use combination of both.

  • @sankassasenevirtha2049
    @sankassasenevirtha2049 4 года назад +1

    Really helpfull

  • @shivuvali
    @shivuvali 7 лет назад +1

    hi mukesh..what is the version of the FF you have used in the above tutorial.

  • @nitingupta82
    @nitingupta82 9 лет назад

    Another excellent video Mukesh! But please help me explain the difference when we are using the text() method.
    There are 2 ways it shows for text() ' = ' & ' , ' .
    One form is //a[contains(@href, 'edit.php'')][text() = 'Posts'] and other is //a[contains(text(), 'Dismiss this message')]
    Am not sure which method should we follow = or , after text() method.
    Is there any standard that must be followed or it's more of hit n trial in particular for text() method?

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад +1

      +Nitin Gupta Hi Nitin let me clear it
      Text()- This will chek for exact text and if found then only it will return result.
      while
      contains(text(),'')- it only check partial text

  • @sangeetham3533
    @sangeetham3533 5 лет назад

    Hi mukesh, how can i compare string value and webelement in if condition ,suppose i want to compare actual and expected ,actual is string and expected is of type webelement.please suggest me

  • @chandanrai6302
    @chandanrai6302 6 лет назад

    hi sir thanks for your video,please clear my one doubt if in web table duplicate name is available and unique transation id is available then how to verify the data on the basics of the transation id please let me know
    REPLY

  • @prc6075
    @prc6075 6 лет назад

    Hi Mukesh
    What will be the xpath for getting the dynamic id of the radio button.
    Here i enter data (4 text boxes) and click on add button, the data is added and displayed with a radio button.
    If i add 2 times then 2 rows of data added with radio button for each row of data (e.g. radio0 and radio1).
    so to delete that row i have to selet radio button and click delete button.
    Now how to select radio1 and delete that row?? I tried with xpath but not able to do it.

  • @manishrajurkar8161
    @manishrajurkar8161 6 лет назад +1

    HI Mukesh, In Salesforce Lightning mode, with AURA framework, there are no unique attributes identified. we are taking reference of the preceding /following and taking index number element to generate XPath. However, there are still more challenge, the XPath you design will not work next time on UI index get changed. are there any best practice to deal with this situation?

    • @Herrmann2k
      @Herrmann2k 5 лет назад +1

      I am also facing the same issue using Salesforce Lightning, the index gets changed after a few runs. can you please suggest how do we deal in this?

    • @lorenzovidaurre1491
      @lorenzovidaurre1491 5 лет назад

      Hola a todos!! me sucede lo mismo, si tiene alguna ayuda comenten, por favor

    • @lorenzovidaurre1491
      @lorenzovidaurre1491 5 лет назад

      con este Xpath //a[@class='select' and @xpath='1'] puedo encontrarlo en ChroPath el elemento buscado, pero cuando lo ingreso en el Xpath muestra error Select drpCountry = new Select (driver.findElement(By.xpath("//*[@class='select' and @xpath='1']")));

  • @srinivastrully3789
    @srinivastrully3789 7 лет назад

    HI Mukesh, Is XPATH value depends on the browser ? I have heard that, xpath found in FF is different to the one in IE; Is this true?

  • @siddeshwarmithbavkar4232
    @siddeshwarmithbavkar4232 7 лет назад +1

    Really awesome!!

  • @ravi_nelluri
    @ravi_nelluri 9 лет назад +1

    In my application I have two fields say Email id and Conform Email id . For both of them id,class name everything is same. In this situation who can i find specific test box

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Ravi Nelluri in part 2 I have covered this scenario please visit part2

  • @keshojukavya2830
    @keshojukavya2830 4 года назад +1

    Hi Mukesh, How do we create xpath in chrome? Because there is no firebug in firefox now. Please help

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Here is the link ruclips.net/video/9N7ERYWbjuw/видео.html

  • @vishavgupta3717
    @vishavgupta3717 4 года назад

    Thank you very much

  • @joshnaranimohapatro4132
    @joshnaranimohapatro4132 4 года назад +1

    please give me the link ,for learn automation for dynamic x path

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Hi Anjali, here is the link learn-automation.com/how-to-write-dynamic-xpath-in-selenium/

  • @dilshodalikiulov2150
    @dilshodalikiulov2150 7 лет назад +1

    Thanks

  • @parulisha
    @parulisha 7 лет назад +1

    Hi
    Can you help writing the code if there are 100 text fields on one Page and we want to count the number of such fields which are purgent?
    Thanks

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад +1

      Hi Parul nice question you can use findElements and then size method to get the count learn-automation.com/difference-between-findelement-and-findelements-in-selenium-webdriver/

    • @parulisha
      @parulisha 7 лет назад

      Thanks Mukesh.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Cheers

  • @himanshuthakur1605
    @himanshuthakur1605 7 лет назад

    hi mukesh . An interviewer ask me how to handel if there is suppose in one row display ''himanshu'' as link and next to column again ''himanshu'' as a text and below this row in another row written ''himanshu'' as text and next to another column ''himanshu'' as link. then how will be locate ''himanshu'' in 2nd row first column then click on link ''himanshu'' in 2nd column with out using xpath or other locator? this kind of scenario was there? Pls help me

    • @nmkkannan1256
      @nmkkannan1256 7 лет назад +1

      Use findElements(By.linkText()). Use index to specify

  • @90ankush
    @90ankush 8 лет назад

    Hi Mukesh,
    In other video you explained the exception which comes when we use FF 47 and selenium 53. So as per you i degraded FF to 46.0. It worked perfectly fine for a day or two. But again it started throwing org.openqa.selenium.firefox.NotConnectedException.
    Could you please help here .
    Thanks !!
    Ankush

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Stick to 45 and Selenium 2.53 which will make test stable.

  • @Jayakrishna-ly3ei
    @Jayakrishna-ly3ei 3 года назад +1

    4:38 hi sir,
    1st we write username, we gave a tab button, now we are in password textbox,we send data now in this . how to write the program for this ?

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      You can use sendKeys with Keys option or Actions class.

    • @Jayakrishna-ly3ei
      @Jayakrishna-ly3ei 3 года назад

      @@Mukeshotwani I tried sir I am not getting. Can u send me that 4 or 5 lines code sir ?

  • @lavanyaaparamanandham4088
    @lavanyaaparamanandham4088 4 года назад

    Hi Mukesh, I am new to selenium, I am practicing to write my own xpath in your blog. I am trying to mouse hover to automation tools tab, I am trying to create my own xath for that, but I am getting error. can you please help me action.moveToElement(driver.findElement(By.xpath("//a[contains(text(),'Automation Tools')]"))).build().perform();. the error I am getting is unable to locate element.

  • @towhidskynet
    @towhidskynet 7 лет назад

    do you still have this workdpress site? if so, could you please post the link ? Thanks

  • @mitanayak4401
    @mitanayak4401 8 лет назад

    its really helpful,but how to get the firepath in our browser?

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Hey Mita, you can use default firefox profile so when you will start the test you will get the firepath plugin too.

    • @mitanayak4401
      @mitanayak4401 8 лет назад +1

      Hi Mukesh,ya i got it,its an extra addon i ve to install.Learnt something new,really helpful.Thanks.

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Cheers

    • @Yuvaind
      @Yuvaind 7 лет назад

      Mukesh otwani pls send me ur mail id:
      My mail id: yuva.raj19@gmail.com send me empty mail

  • @bibhutijha1113
    @bibhutijha1113 7 лет назад

    Hi Mukesh ,
    Basically I am QTP tester and i have started learning selenium recently .
    So i would like to know if there is any like register user function which is used in QTP through which we can check the object existence or perform any action without writing the codes again and again we have to write a single function then we have to pass the object to that function and the required action is performed .
    So can we do it in selenium ?
    let me given an example :-
    WebElement UserName = driver.findElement(By.xpath("//*[@id='user_login']"));
    if (UserName.isDisplayed()){
    UserName.sendKeys("admin");
    }
    So i want i dont have to write these 3 above line . i will just pass xpath , value , varaible name.
    please help

  • @luckywithpooji-telugu
    @luckywithpooji-telugu 5 лет назад +1

    if we dont use firebug addin how derive xpath with our wonself

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Hi Lakshmi we have new plugin for xpath now ruclips.net/video/kjTsGnkPQEc/видео.html

  • @arundhathimurthy3176
    @arundhathimurthy3176 7 лет назад

    contains function(16:03) didn't work because of wrong syntax. //input[contains(@name,'post_title')] should work.

  • @vvkkumar3691
    @vvkkumar3691 6 лет назад +1

    "org.openqa.selenium.ElementNotInteractableException: Element is not reachable by keyboard" . I am getting this error could you help me.

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      HI Kumar please check below link learn-automation.com/invalidelementstateexception-in-selenium-webdriver/

  • @sudhakark8386
    @sudhakark8386 8 лет назад

    Hi mukesh I am unable identify the drop down element.
    I.e //div[@class='mclc' and text()='002region']
    how to identify this one..
    could you please help me.

  • @sudheer1330
    @sudheer1330 8 лет назад

    Hi Mukesh,
    While adding Assert, am getting error "This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.". could you please help.

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      You can attach SRC jar then this error wont come

  • @mushfiquazaman9597
    @mushfiquazaman9597 8 лет назад

    Helo Mukesh,your videos are so wonderful, But I cannot access learn-automation.com site. isn't it open for everybody. Please help. Thanks.

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Thanks Zaman, There was some maintenance so blog was down,

  • @RajuDas-zn3gx
    @RajuDas-zn3gx 6 лет назад

    Mukesh, for my application I have written a xapth to identify a label as //td[text()=‘CK_SUM’] and this works good for chrome but does work for ie. can you please help me to fix this?

    • @vishwa2433
      @vishwa2433 6 лет назад

      Xpath for ie some time change, check the unique identifier for parent /grand parent and find the child td

  • @tapaskhandai
    @tapaskhandai 4 года назад +1

    Which browser u r using?

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      it is Firefox earlier we have firebug and firepath where we used to write xpath.

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      Hi Tapas here is the link for updated video ruclips.net/video/kjTsGnkPQEc/видео.html

    • @tapaskhandai
      @tapaskhandai 4 года назад

      @@Mukeshotwani Thank you

  • @Bujji28243
    @Bujji28243 7 лет назад +1

    we have two fields username and password ,but our attribute both r same example id=ABC, both username and password attribute s r same then how we can pass text only one field username???how to write xpath???

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Hi Nagu,
      You can use findElements and get the index and play with web elements.

    • @Bujji28243
      @Bujji28243 7 лет назад

      Thanks for giving a reply but little bit confusion, how to perform index number can you write sample code for me, please......

  • @dbvs007
    @dbvs007 8 лет назад

    Syntax seems incorrect when we want to use multiple attributes(video @11:14 min) , @ symbol is missing for the 2nd attribute.... Thanks

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Bhanu Surendra I will make changes

  • @narasimhareddy1103
    @narasimhareddy1103 7 лет назад +1

    Nice Video Mukesh. I am facing difficult in identitifying the xpath for an element called "My Account" button in the home page of the url "www.phptravels.net/".
    I have tried using Firebug and absolute Xpath. The problem is in webpage the Web Element is highlighted but during run time the WebDriver is unable to Identity the button. Please Help.

  • @julyuser1030
    @julyuser1030 4 года назад +1

    Good

  • @swatimishra6781
    @swatimishra6781 4 года назад +1

    Sir please explain how automate pie chart in using selenium python.

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Hey Swati, I wont recommend to automate pie chart.

    • @swatimishra6781
      @swatimishra6781 4 года назад +1

      @@Mukeshotwani sir
      Than how to read data in side of pie chart using selenium python?
      How to validate pie chart data?

    • @Mukeshotwani
      @Mukeshotwani  4 года назад

      Hi Swati as I said this won’t be stable plus in Automation reading chart graph bar code and images don’t automate.

  • @baldygaming2226
    @baldygaming2226 7 лет назад

    Hi mukesh, im having trouble with xpath, my issue is this. it works perfectly fine with firefox but then it comes to chrome it gives me this kind of error
    org.openqa.selenium.WebDriverException: unknown error: Element ... is not clickable at point (1364, 408). Other element would receive the click: ...
    im just confused why?
    Thank you again mukesh have a blessed day

  • @prasanthsp7694
    @prasanthsp7694 3 года назад

    How to take XPath for this text (Today's Deals) by using text XPath.

  • @subhasisrupali
    @subhasisrupali 7 лет назад +1

    Hey Mukesh - Any idea if firebug has been merged with firefox developer tool? I have FF 51 on my laptop and firebug 2.0.18 is deactivated. There is no way for me to check the xpath. Can someone please help on this.

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад +1

      Hi Subhasis, Kindly use FF 48 or 50 then install firebug from add on it is working for me.

    • @chetu19
      @chetu19 7 лет назад +1

      ftp.mozilla.org/pub/firefox/releases/ Firefox release versions.

    • @prashanttiwari5855
      @prashanttiwari5855 7 лет назад +1

      Hi Subhasis, you have install the older version 50.1.0 for FF. the latest version is not supporting firebug.

    • @pushpaksharma9906
      @pushpaksharma9906 7 лет назад +1

      Hi Subhasis,
      Please perform the below steps
      1. Open a new tab in the browser
      2. type about:config
      3. Now search for browser.tabs.remote.autostart
      4. Toggle the value to False
      Hope this will work

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Use FF 46

  • @nmkkannan1256
    @nmkkannan1256 7 лет назад

    How to locate Xpath by text if the text is 'I'm Feeling Lucky'

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      +Inty Uyghur haha very nice 👍🏻 Inty

  • @sayari_sachanji
    @sayari_sachanji Год назад +1

    In this video, we don't have Mukesh voice

  • @hakan.tektas
    @hakan.tektas 6 лет назад +1

    How do I capture dynamic id.

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      Hi Tektas any example so that I can show you the solution..

    • @hakan.tektas
      @hakan.tektas 6 лет назад

      I can't share the code, but there is a situation. The input screen also changes the ID page every time you refresh.

    • @kalyantpv
      @kalyantpv 6 лет назад +2

      I had a similar situation where the id was changing based on the data that shows up on screen. However, it was based on a particular logic.. so the id was being suffixed by an id in database etc.. so I wrote code to first figure out what that value would be depending on input data and then dynamically figure out the id. Maybe your situation is even more dynamic?

  • @purusingh2793
    @purusingh2793 7 лет назад

    i am not getting the html content pls help me..........

  • @neelamchakraborty9062
    @neelamchakraborty9062 7 лет назад +1

    How to get xpath of watermark .

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Any example or demo site for this ?

    • @neelamchakraborty9062
      @neelamchakraborty9062 7 лет назад

      Don't know was asked in interview. How to get an xpath of a watermark. if you find something please share. I guess this is a transparent object such as company logo.

  •  7 лет назад

    how i get this addon to firefox ??
    please help me

    • @arsaurabh6044
      @arsaurabh6044 7 лет назад

      www.techbeamers.com/use-firebug-and-firepath-in-firefox/

  • @lalitkumar2855
    @lalitkumar2855 7 лет назад

    Hi Mukesh, can you please help me get xpath to log into Paytm?