How to automate web pages with web elements without id's using excel macros?

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 99

  • @sunelidberg9503
    @sunelidberg9503 3 ปีที่แล้ว +1

    Very good

  • @venut3660
    @venut3660 3 ปีที่แล้ว +1

    Really helped your video,searching from last 2 days to get this methods

  • @jintubayan7471
    @jintubayan7471 3 ปีที่แล้ว +1

    Your videos are tuning as I am in search of..it is really beneficial to me

  • @mahimanasa1
    @mahimanasa1 3 ปีที่แล้ว +1

    This is really helpful.. I can get the data from the excel and submit. But how to repeat this for the 100 rows.??

  • @DigitalBankingIndia
    @DigitalBankingIndia 4 ปีที่แล้ว

    I want to use for Google chrome. Sometimes in dropdown list, macro select wrong name in list simitiar to our value, for example I want to select value AAAB from drop down, macro will select AAAA by mistake, how to select exact as any cell value in excel.?

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      For chrome browser refer below tutorial:
      th-cam.com/video/-GUw22ecRwI/w-d-xo.html

  • @kalpeshmewada7722
    @kalpeshmewada7722 2 ปีที่แล้ว

    Hi... I have a web page which has a hover section leads & it has two sub menus - submit & edit.... So basically I wanna click on leads & then on submit.... So how will I able to do that?

  • @mc24bk
    @mc24bk 3 ปีที่แล้ว +2

    Thanks for uploading this. Your tutorials are very easy to understand and has helped me to create a macro to make my work easier.
    I hope you can help me on this. Is there a way to click the button after opening the webpage, if the button has no ID, name, class assigned to it? All it has is

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      Glad it helped!
      Can you share the link of the page?

    • @mc24bk
      @mc24bk 3 ปีที่แล้ว

      @@AutomationMadeEasy unfortunately i can't share the page as it's work related

  • @Dog_Extreme_2000
    @Dog_Extreme_2000 4 ปีที่แล้ว +1

    Amazingly useful. I love you.

  • @Radog99
    @Radog99 ปีที่แล้ว

    What would the Set doc be = for Microsoft Edge? Thanks.

  • @Isuru8Hewage
    @Isuru8Hewage 4 ปีที่แล้ว

    Get element by id or name is it only for INPUT categories?
    What if we do not find and input line on webportal.
    The button need to click has only div, table, button.
    I hope you understood my problem, since i do not know technical terms. This is the first time i am doing these.
    Suceeds lot of thing but i have stuck on one point.

  • @ANNUETAWAHCRPF
    @ANNUETAWAHCRPF 4 ปีที่แล้ว

    Very good sir, maja aa gya dekhkr

  • @travellerschoice2118
    @travellerschoice2118 3 ปีที่แล้ว

    Can you please show to automate web page on Mac with M1 chips using Excel.

  • @sawdahjaulim700
    @sawdahjaulim700 4 ปีที่แล้ว

    This is very helpful. I have one question thou how can get element in cases where I only have “Class, and Ng init) please help. THANKS

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      Use the approach explained in below tutorial:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

  • @jadonsumit786
    @jadonsumit786 4 ปีที่แล้ว +1

    thanks dear thanks very much I'm learning from you, sir.

  • @er.shoaibkhan3823
    @er.shoaibkhan3823 4 ปีที่แล้ว +1

    How to execute it in already opened browser...

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      refer below tutorial:
      th-cam.com/video/qsU_9KVaYOU/w-d-xo.html

  • @MyTechOnlineSupport
    @MyTechOnlineSupport 3 ปีที่แล้ว

    Hello Sir, I am trying to autofill data in a web modal form but there is no id, no name, no classname.
    The link is like:
    How to can I click on the tag to open modal popup.
    Please help, it's like very urgent.

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      refer alternate approach explained in below tutorial:
      th-cam.com/video/9GbHCO4Lp-0/w-d-xo.html

  • @omkarmohanty846
    @omkarmohanty846 3 ปีที่แล้ว

    What will be the syntax,if drop down options are loaded after selecting the previous value? Please reply

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      Syntax will remain the same. You may have to put some delay to have the values populated in the dependent dropdown

  • @shivanipandey8453
    @shivanipandey8453 4 ปีที่แล้ว +1

    Hello! Can you please provide demo on API Testing ??

  • @luismartinez8337
    @luismartinez8337 4 ปีที่แล้ว

    Hello, when I select a value from the list using the code, it stays over it and does not select it, is like it needed press enter, thanks for help

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      Try alternate approch explained in below tutorial:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

  • @harish6268
    @harish6268 3 ปีที่แล้ว

    When I'm tricking to click option in getelementsbyclassname it's throwing error.... Is there any other option

  • @saikhomnit
    @saikhomnit 3 ปีที่แล้ว

    I got an error Runtime error - 80004005 , Method 'document' of object 'Iwebbrowser2' failed and changed it to Set IE = New InternetExplorerMedium, no getting ant error as Runtime error 91, Object variable or with block variable not set

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      Try on already opened browser. It is explained in below tutorial:
      th-cam.com/video/qsU_9KVaYOU/w-d-xo.html

  • @MohantyTapas
    @MohantyTapas 4 ปีที่แล้ว

    Hello There, Can you please help me to get the data when we have two HTML Sections? Path is like - HTML>FrameSet>Frames>HTML>Forms>Tables>Submit..... Now I want to click Submit Button. Able to get data from 1st section of HTML but unable to go into 2nd HTML section.

  • @jintubayan7471
    @jintubayan7471 3 ปีที่แล้ว

    Same method I am trying in another website but it is not working..if possible can you help me out

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      try below:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

  • @TanveshDabholkar
    @TanveshDabholkar 4 ปีที่แล้ว

    Can you make videos on Selenium web driver in excel, from which we can control google chrome.

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      refer below tutorial:
      th-cam.com/video/-GUw22ecRwI/w-d-xo.html

    • @TanveshDabholkar
      @TanveshDabholkar 4 ปีที่แล้ว

      @@AutomationMadeEasy Thanks bro

  • @angelzworld5007
    @angelzworld5007 4 ปีที่แล้ว

    Hi sir, Am getting on error while automating on web app .error 91..
    Object variable or with block not set

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      share ur code

    • @angelzworld5007
      @angelzworld5007 4 ปีที่แล้ว

      @@AutomationMadeEasy how to contact you

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      share ur contact info I will get in touch or write into info@automationandagile.com

  • @ednedn2326
    @ednedn2326 3 ปีที่แล้ว

    Any special reason for using the "without id's " approach?

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      many elements may not have id's. so these techniques come in handy

    • @ednedn2326
      @ednedn2326 3 ปีที่แล้ว

      @@AutomationMadeEasy Thanks a lot!

  • @luismartinez8337
    @luismartinez8337 4 ปีที่แล้ว

    Hi, how i find number's class name or name if the page is so big?

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      Numbering is sequential left to right top to bottom

  • @syedshafiulla3093
    @syedshafiulla3093 4 ปีที่แล้ว

    Bro when using ie, if there is no name, id, class how to select webelement

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      there shall be somethig in the html to identify it.

  • @anuishwarya6601
    @anuishwarya6601 3 ปีที่แล้ว

    Hi u are doing good, one request userid and password shd be automatically done and it after loggging it shd be navigated to next page

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว

      just apply the same logic for username and pswd and it will work

  • @travllingisfun6189
    @travllingisfun6189 4 ปีที่แล้ว

    HI,
    Can we automate firefox using vba.

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว +1

      not Firefox but you can automate edge and chrome. Refer below tutorial:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

    • @travllingisfun6189
      @travllingisfun6189 4 ปีที่แล้ว

      @@AutomationMadeEasy Thanks.

  • @GiridharPedapudi
    @GiridharPedapudi 4 ปีที่แล้ว +1

    How can I thank you man.... Thank you so much

  • @tpdakc7904
    @tpdakc7904 4 ปีที่แล้ว +1

    why error doc.Document ???

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      didnt get you. Please explain the issue in detail

  • @ravisankar1974
    @ravisankar1974 4 ปีที่แล้ว

    Hello Automation made easy.i need you help could you please help me how can i contact you?

  • @keerthikeerthi581
    @keerthikeerthi581 2 ปีที่แล้ว

    @automation made easy Your code is very helpful thanks for it 😀
    While executing code continuously sometimes I am seeing "Microsoft Visual Basic" pop up with Run time error showing buttons End Debug. Can you please help with automation code where whenever this pop up appears click on END button and continue with the script.
    Issue: I run the script on edge for 1000 rows but in between it shows runtime error saying elementid is not found at 101 row for example but it worked fine 100 times, when I click on End manually and run the script again it works perfectly fine. Instead of me manually clicking on END everytime if it can be automated it will be helpful.

    • @AutomationMadeEasy
      @AutomationMadeEasy  2 ปีที่แล้ว

      error occurs because of error at the execution time. Ideally the error must be properly handled but if you want to ignore it put On Error Resume next after Sub. Example given below:
      Sub test1234()
      On error Resume NExt
      '' code
      ''code
      End Sub

    • @keerthikeerthi581
      @keerthikeerthi581 2 ปีที่แล้ว

      @@AutomationMadeEasy thank you for quick reply I will try this 😃

    • @keerthikeerthi581
      @keerthikeerthi581 2 ปีที่แล้ว

      @@AutomationMadeEasy thank you so much this helped 🙏
      One more query added edge start as following can you also please help with command to close edge browser:
      obj. Start "edge", " "
      Scenario: I would like to close the browser whenever I see failed text and execute the code from start

    • @AutomationMadeEasy
      @AutomationMadeEasy  2 ปีที่แล้ว

      obj.close

    • @keerthikeerthi581
      @keerthikeerthi581 2 ปีที่แล้ว

      @@AutomationMadeEasy thank you 😀 code is successfully running as expected.
      I would like to add data to excel which is not coming from webpage while automation.
      EXAMPLE: element details are not available and webpage closes in fraction of seconds. In that case is there a way to just input value as "test" under Column H of excel. Please help
      I tried following:
      ThisWorkbook.Sheets("Sheet1").Range("H" & intRow).Text = "Test"
      In the else block

  • @gajananp83
    @gajananp83 3 ปีที่แล้ว

    This is helpful ... Thank you ..
    I am facing some issues and details mail to you, please check and suggest.

    • @AutomationMadeEasy
      @AutomationMadeEasy  3 ปีที่แล้ว +1

      refer below alternate approach:
      th-cam.com/video/AEp0Yeis9AM/w-d-xo.html

  • @mkv7595
    @mkv7595 4 ปีที่แล้ว

    Hello , All your tutorial videos are very useful and informative.
    But I am not able to write a script click a button for the following HTML .So could you please help me to write the script. I have mentioned the script which i have created.
    Header InformationHeader Information
    Sub copy_project_loop()
    Dim IE As Object
    Dim Doc As HTMLDocument
    Set IE = CreateObject("InternetExplorer.Application")
    Dim SHELL_OBJECT
    SHELL_OBJECT = "WScript.Shell"
    Set objShell = CreateObject(SHELL_OBJECT)
    IE.Visible = True
    IE.navigate "URL"
    Do While IE.Busy
    Application.Wait DateAdd("s", 1, Now)
    Loop
    Set Doc = IE.document

    'Click Header Information Tab under Time Study

    Doc.getElementById("docIcon47").Click


    Doc.getElementById("txtTimeStudyNbr").Value = ThisWorkbook.Sheets("data").Range("A2").Value
    End Sub

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      Try this:
      Doc.getElementsByName("docIcon47")(0).Click

    • @mkv7595
      @mkv7595 4 ปีที่แล้ว

      @@AutomationMadeEasy
      I Tried this i am getting Run-time error '91':
      Object variable or With block Variable not set

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      i will need to see the actual page to suggest a solution

  • @madhav3444
    @madhav3444 4 ปีที่แล้ว

    Amazing man, how can I contact you, insta, FB or whstapp?

    • @AutomationMadeEasy
      @AutomationMadeEasy  4 ปีที่แล้ว

      share ur contact info I will get in touch or write into info@automationandagile.com

    • @madhav3444
      @madhav3444 4 ปีที่แล้ว

      @@AutomationMadeEasy 8448774634 WhatsApp