Part 23- Page Object Model (POM) Pattern in Robot Framework | Selenium with Python

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

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

  • @shriniwasalle911
    @shriniwasalle911 3 года назад +7

    This series of Robot framework is simply awesome, nice way of teaching sir. Loved it.

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

    Superb session and well explained .

  • @swatzcrafts18
    @swatzcrafts18 2 года назад +1

    This series is very useful thanks 🙏

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

    Very well explained sir. Could you please post a video on how to extend robot framework capabilities using Python coding.

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

    Hi Pavan, what is the advantage of creating the locators in a .py file instead of creating them in a .robot file? By the way this is a great video, thank you!

    • @sdetpavan
      @sdetpavan  5 лет назад +5

      Normally we create page elements separated from test cases to make maintenance easy and we can re-use those elements in multiple tests.

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

    Hats off to you sir

  • @cleracrasta2751
    @cleracrasta2751 13 дней назад

    Hi, i followed the steps and got below error
    "Maximum limit of started keywords and control structures exceeded."

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

    love the way you teach

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

    Instead of creating .py file can we take all locators in keywords files as variable so that one file will minus and reduce complexity also

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

      It will increase maintenance cost … POM is that each page will have its own repository

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

    hello. thanks for a wonderful explanation. i followed all the steps but unfortunately my test didn't run. is any way you could help?

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

    Hi, i just want to ask what if we define an element in the resource file, can't that element also be called in other testcases?

  • @RJ-zd5ep
    @RJ-zd5ep 9 месяцев назад

    open my browser and close browser these keywords are defined in both resource file , can we do it in one file and import both the file

  • @YaseenKhan-gf6pn
    @YaseenKhan-gf6pn 2 года назад

    Code suggestion not displaying Properly while coding, anything specifically to download and also how to change the colour of the Screen and code/words colour on Pycharm

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

    hi sir, how can I run both the tc files login and registration together which u mentioned
    above in video

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

    Thanks 😁😁

  • @YaseenKhan-gf6pn
    @YaseenKhan-gf6pn 2 года назад

    How can i run multiple TC files at a time (More than one .robot file)

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

    @SDET Keeping in mind the POM pattern, couldn't we just resource loginKeywords.robot into RegistrationKeywords.robot and reuse "Open my Browser" keyword from loginKeywords. Instead of writing it again inside RegistrationKeywords.

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

      Or better yet, separate all browser related keywords into another file and have the others resource it in.

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

      you can set up those keyword in tear setup as well so it will call every time before each testcase execute. you can also include login cases

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

    How do read data Excel file by using reboot frame work? Could please make one video sir.

    • @sdetpavan
      @sdetpavan  5 лет назад +2

      ruclips.net/video/V9GMaX-y4pQ/видео.html

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

      you can use json file for same for data driven framework

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

    Hi ,
    When using DataDriver with the POM design model.. would this run on your Keywords files ?

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

      I understand using sheets with DataDriver pathToFile sheet_name=sheet1
      Using POM, how would you handle using sheet1 as registration data and if registration data[i] = success; then login with the same data[i] ?

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

    Hello Sir
    Can you please let me know how to do below in robot framework
    webdriver.ActionChains(self.driver).move_to_element(self.logout_button_linkText).click(self.logout_button_linkText).perform()

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

    Hello Sir , this error appear to me : failed: Importing variable file 'C:\Users\media\PycharmProjects\pythonProject1\PageObjects\locators.py' failed: Modu
    leNotFoundError: No module named 'locators'
    i write >>
    Variables ../PageObjects/locators.py
    in LoginKeywords.robot

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

    Hello Sir
    Actually I am getting below ...
    ElementNotInteractableException: Message: element not interactable
    (Session info: chrome=83.0.4103.97)
    Can you please let me know how to resolve it

  • @MohitYadav-xh4tr
    @MohitYadav-xh4tr 4 года назад

    How can we execute the test case for invalid credentials?

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

      please try to get the server side validation message and locat that element. if that element is located and indetified then just get aseert on that and print message . about invalid credenitals.

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

    hi sir where to mention chrome driver

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

      chrome driver should be in project folder or either in python folder where installed. make sure your browser version and driver version is same. or near by

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

    100

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

    Hi Pavan can you please share GitHub url of all robot framework program ?

  • @naaffzz
    @naaffzz 8 месяцев назад

    Hi, i followed the steps and got below error
    "Maximum limit of started keywords and control structures exceeded."

    • @harikrishnan7702
      @harikrishnan7702 7 месяцев назад

      Did you resolved it? Even i got same. Any idea how to resolve it?