Handle Complex SVG Graph using Actions MoveToElement(Offset) - Selenium Interview Question - 8

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

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

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

    I was able to find the logic to solve it but couldn't able to implement it.. and here you video comes up... Thanks :)

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

    Thanks for sharing this @Naveen Khunteta....

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

    Really helpful👌 thanks naveen👍

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

    Hi navven, its Pavan from Bangalore,
    I have watched your videos its very awesome and good. My request is that, you have 8-10 yoe, may be you r team lead, attending so many projects, considering u r attending selenium with java project (in it company) u r chosen cucumber, pom, testing framework (combination) etc like this pls make video. May be my comments was confuse to you. Try to tell realtime(it) combination of frameworks.
    Pls make video for frameworks. Like in it industry. I have seen your profile that you have 8-10 years of experience but your videos helps fr beginners only

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

    Thanks naveen.. Really great👍

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

    Thanks Naveen for sharing this info:)

  • @avishekjana6230
    @avishekjana6230 3 года назад +3

    Hi Naveen, I have couple of observations in this solution. Can you please help me to clarify.
    1. Do we actually need to pass yOffset value as per you calculated? Even if we send yOffset value as hardcoded '0', will it give any incorrect result? Because we are moving cursor into X axis direction to get value for each date.
    2. Will it give data for all dates from 20-Mar-2020 if we iterate the axis based on days value from current date? As per days difference from 20-Mar-2020 to current date is 555 days. But if we look width of the element, it returns 620 as of today's date. So it will not iterate all dates if we pass daysDiff in loop. Hence I see your loop is executed till 2nd July 2021 only. Instead of that can we loop the cursor based on width(620) value?
    Please let me know if my logic is incorrect. It will help me to empower my logical ability.

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

      Yes saw now. Nice observation. Avishek how to prepare for interviews. I want to start from zero..need to make my logic-building ability strong..can you guide me?

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

      @@soumyajit443 There are multiple videos from Naveen and Mukesh on different type of interview's tricky questions. I would suggest you to go through all and get prepared yourself on basics also from other sources. In order to strong your logical ability, try to do exercises on challenging tasks which can be automated. In my opinion, keep focus on your algorithm irrespective of languages. If algorithm is logical, you can implement same thing in different languages also.

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

      Ya same issue i observed

  • @rupeshaujikar339
    @rupeshaujikar339 Год назад

    Thanks a lot for making this video , can you please also share how to just capture the data based on the date

  • @treetyfarahmand6470
    @treetyfarahmand6470 Год назад

    Hi Naveen Thank you for your channel and videos. All very helpful. I am struggling with getting a data from exact point on a graph. Would you kindly help, please? I have tried to use video 8 and 9. On the inspection page I get one element for my search which is good but it does not work in Visual studio. Many thanks

  • @kothagundlayuvasandeep6318
    @kothagundlayuvasandeep6318 Год назад

    Hi naveen, i implemented the samething for highcharts when using the moveToElement i am not able to see my driver going through the graph what might be the reasons

  • @shibashankar55
    @shibashankar55 Год назад

    thank you automating this ..plese guide on automating moneycontrol chart in the home page

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

    Hi Naveen. Thanks a lot for videos. can you please explain how to drag and drop the elements in SvG Graphs using selenium

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

    Hi Naveen!! Thanks a lot for your videos. Can you please explain how can we drag and drop when source and destinations are in different frames.

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

    Thank you so much ji 🥳🥳🥳🥳

  • @samrajbhowmik7996
    @samrajbhowmik7996 Год назад

    hi Naveen i have been trying to drag and drop an element the taget element is an svg element and i have tried with actions using offset it didnot work tried with java script as well still not working, would be great if you share something regarding drag and drop using java script executer

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

    Thank you for sharing ur knowledge. Could u please tell me the difference between stale element exception and no such element exception?

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

    @Naveen
    I tried the above program. I have few doubts. Can you please clear the below :
    1. Height of graph = 170 i.e. getTopLeftY = -85 , How does it work ? the pointer moves from (-310, -85) to (245,-85) i.e. (0,-85) refers to middle of the graph (Data for 21 Dec 2020)
    May be I need to read and understand offset. I have a concern how it works actually as yOffset is constant but xOffset only changes.
    2.The program do not run till today's date it stops at (245,-85)
    i.e. till the below Data appears in console.
    28 Jul 2021 7-day average
    Tests taken 1,672,529
    Positive tests* 38,468
    Positive % 2.3%
    please reply whenever you are free.

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

      I have raised same concern..you can see my comment.

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

      Hi, Pls use for (-2*(eleTopLeftX)) instead of diffInDays. Then you will reach till today's date. As diffInDays is less than the total x-coordinate length (taken in graph) i.e. difference between negative x-coordinate to positive x-coordinate.
      ex: for ( i = 0; i < -2*(eleTopLeftX); i++)

  • @udaynevase8364
    @udaynevase8364 2 года назад

    Hi @Naveen
    Thanks for this informative video I am able to automate bar charts using this. However in one of the similar graph secnario I am stuck because graph points are added in PATH tag and this tag is getting activated in DOM only when i hover on them manually.
    befor hovering the dom looks like this
    hope you got the question. i would really appreciate if could help/guide me in the problem
    thanks in advance
    Uday

    • @EshikaG
      @EshikaG Год назад

      Hi, are you able to get the solution?

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

    How to call non static concrete method of abstract class; when subclass override same non static
    CONCRETE method of abstract class.

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

    Hello Naveen ,
    Thanks for this SVG logic.
    is it possible from your end to publish a demo , can we integrate the automated selenium test scripts execution through ALM test management and accordingly it will provide us the results after test execution.
    Again thanking you in advance for your valuable feedback if any.
    Regards,
    Abhinibesh

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

      ALM is a19th century tool used by companies who are in 19 th century. Tell ur boss, ALM is crap

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

    Sir main aapke videos se selenium learn kar rahi hoon..par mjhe certificate chahiye hai..to main kaunsa or kiska certification join karu.pls suggest me sir i'm very confused

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

      Certificate bas ek paper hae. Agar tumko subject knowledge hae then tum khud ek color xerox banwalena kisi bhi institute ka. Knowledge hae to koi nai dekhega certifications. Agar tum local certificates ki baat kar rahi ho then sab waste hae koi utna dyaan nai dega uspe. Bas aap knowledge gain karo jitna hosake utna. Bhaar itna demand chalraha hae testing k liye ki koi puch hi nai raha kuch bas knowledge dekh rahe hae bas trust me.

  • @NagasaiMaddineni
    @NagasaiMaddineni 2 года назад

    Can you do it in bdd cucumber framework

  • @shibashankar55
    @shibashankar55 Год назад

    can any one help me automating Moneycontrol home page graph for nifty50...

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

    can you make a video on how to fix chrome driver it's not working, it won't run.

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

      Post the problem you are facing.
      Check the version of chrome driver.
      Update the chrome driver based on the latest version and configure the system properties with updated path.
      It will work

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

      It's not a big problem, you just have to update the binary. Search for details on stackoverflow.

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

    Not sure what I'll do if they ask such questions in interviews...