Handling Input Box in Robot Framework || Selenium with Python.

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • In this video we have shown you how to handle Input Box in Robot Framework.
    We have shown how to input a text in the Input Box and how to clear the Input Box and give any other text as input. We have also shown how to deal with the locators in Robot Framework, with the help of Xpath and ChroPath.
    In order to cater to the needs of our viewers we have dedicated playlists on programming languages such as Python, Java, C Programming, Html & CSS, Robot Framework, and much more.
    So stay tuned for much more content to come in this playlist...All the best from the entire Coders Arcade Team.
    Thank You And Happy Learning.
    👉Check Out Our Other Playlist As well:-
    💻HTML & CSS for CBSE: • Playlist
    💻C programming For Problem Solving (VTU):
    • C Programming Tutorial...
    💻Java Tutorial For Beginners: • Java Tutorial For Begi...
    💻Python Tutorial For Beginners: • Python Course (English)
    💻Application Development Using Python (VTU): • Application Developmen...
    💻Robot Framework Tutorials using Python:
    • Robot Framework Using ...
    💻Git Tutorials • Git Tutorial for Begin...
    💻 SQL Tutorial For Beginners: • SQL Tutorial for Begin...
    💻Microsoft Office Utilities || Microsoft Excel: • Microsoft Office Utili...
    💻Interview Questions For Freshers || • Interview Questions Fo...
    📕 Want To Learn From us:
    Certification Courses: forms.gle/9MjJ...
    Discord: / discord
    Blog on Medium: / codersarcade
    Facebook: / coders.arcade
    Instagram: / codersarcade
    👍 Subscribe for more Amazing tutorials like this: / @codersarcade
    * framework tutorial
    * robot framework with python
    * robot framework beginner tutorial
    * robot framework pycharm
    * robot framework tutorial for beginners
    * robot framework step by step
    * how to use robot framework
    * python robot framework tutorial
    * robot framework selenium tutorial
    * what is robot framework
    * python robot framework
    * robot framework selenium
    * robot framework for beginner
    * how to install robot frameworkrobot framework in python
    * n robot framework
    * robot framework tutorial
    * robot framework with python
    * robot framework beginner tutorial
    * robot framework pycharm
    * robot framework tutorial for beginners
    robot framework,robot framework with python,robot framework tutorial,robot framework beginner tutorial 1,web automation using robot framework
    #robotframework #selenium #automation

КОМЕНТАРІ • 20

  • @macwansteven69
    @macwansteven69 2 місяці тому +1

    To stop auto close of browser use below tric: options=add_experiment_option("detach", True)

  • @ramshah6733
    @ramshah6733 3 роки тому +4

    I believe chropath is deprecated and SelectorsHub is the updated version.

  • @loveme7717
    @loveme7717 Місяць тому

    Your videos were very helpful for me to navigate my knowledge into learning RobotFramework. I had been using selenium with eclipse IDE and Java language now I got a new job where they use Robotframework with Pycharm IDE. I have been following your videos so far and I didn't get the same results as you run your codes. there is google cookies where I have to accept it all or reject it all. How do I handle cookies?

    • @CodersArcade
      @CodersArcade  Місяць тому +1

      Happy to hear that our videos are helping our audience...!!!😊💗
      To handle cookies in Robot Framework, you can use the `SeleniumLibrary` to interact with the cookie consent pop-up. Here's an example of how you can handle the "accept all" or "reject all" cookies options:
      1. Install the necessary libraries:
      Ensure you have `robotframework-seleniumlibrary` installed. You can install it using pip if you haven't already:
      pip install robotframework-seleniumlibrary
      2. Write the Robot Framework script:
      Below is a basic example script that navigates to a website and handles the cookie consent pop-up by clicking the "accept all" or "reject all" button.
      *** Settings ***
      Library SeleniumLibrary
      *** Variables ***
      ${URL} www.example.com # Replace with the actual URL
      *** Test Cases ***
      Handle Cookie Consent
      Open Browser ${URL} chrome
      Maximize Browser Window
      Wait Until Element Is Visible xpath://*[@id="accept-button"] 10s
      Click Button xpath://*[@id="accept-button"] # Replace with the actual XPath or selector of the accept button
      # Alternatively, you can use the reject button
      # Click Button xpath://*[@id="reject-button"] # Replace with the actual XPath or selector of the reject button
      Close Browser
      In the script above, make sure to replace the `xpath://*[@id="accept-button"]` and `xpath://*[@id="reject-button"]` with the actual XPath or selectors that match the cookie consent buttons on the website you are testing.
      3. Run the Robot Framework script:
      Save the script to a file, for example, `HandleCookies.robot`, and run it using the Robot Framework:
      robot HandleCookies.robot
      This script will open the specified URL in a Chrome browser, wait for the cookie consent pop-up to be visible, and then click the "accept all" button. If you want to click the "reject all" button instead, just uncomment the appropriate line and comment out the "accept all" line.
      By following these steps, you should be able to handle cookie consent pop-ups in your Robot Framework tests and get the same results as shown in our videos.

    • @loveme7717
      @loveme7717 Місяць тому

      @@CodersArcade Thank you so much for taking time to reply my queries. I really appreciate your time. You are indeed a great instructor/educator.👏

  • @SelectorsHub
    @SelectorsHub 3 роки тому +1

    We would love to see tutorial with SelectorsHub. :)

  • @user-ql2wh8fc2f
    @user-ql2wh8fc2f 10 місяців тому +1

    Your videos are great 🙂

    • @CodersArcade
      @CodersArcade  10 місяців тому

      Thanks for the feedback 😃

  • @MeeraAlgundewar
    @MeeraAlgundewar 2 місяці тому +1

    Hi, I followed your video. But I am not getting auto suggestions for the keys which I am entering. Like when I enter open in Test cases section, it should show me 'open browser'. But I cannot see auto suggestions. Please suggest me

    • @CodersArcade
      @CodersArcade  2 місяці тому

      Please use the intellibot plugin. It should resolve your issue.

    • @CodersArcade
      @CodersArcade  2 місяці тому

      If it doesn't work let us know.

  • @Dutch79
    @Dutch79 Рік тому +1

    Google doesn't have buttons anymore. You now need to hit ENTER. What's the best way to implement such a keypress using selenium?

    • @Dutch79
      @Dutch79 Рік тому

      Nevermind: it's simply 'press keys [xpath] ENTER'

    • @CodersArcade
      @CodersArcade  Рік тому

      You can use the Keys class in selenium. The Keys class is dedicated to keyboard actions in Selenium.

  • @ChambaTheHiddenTreasure
    @ChambaTheHiddenTreasure 2 роки тому

    how to print invalid message show

  • @vipuljain215
    @vipuljain215 Рік тому

    AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'