#96 POM Framework - Part 3 | Playwright with Python and Pytest | Page Object Model Design Pattern

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025
  • #playwright
    #pytest
    #python

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

  • @SonaliSalave-o9k
    @SonaliSalave-o9k 2 หลายเดือนก่อน

    )
    E playwright._impl._errors.Error: It looks like you are using Playwright Sync API inside the asyncio loop.
    E Please use the Async API instead.
    /opt/homebrew/lib/python3.13/site-packages/playwright/sync_api/_context_manager.py:47: Error. I am getting this error when I am using POM class. can anyone help?

  • @shalinigupta5399
    @shalinigupta5399 2 ปีที่แล้ว +1

    At time 17 mins, you are returning other page after doing login. What will happen in case of invalid credentials?

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

      For invalid credentials nothing will happen as we will not be storing that productlist page object. I have covered the same in later part of the video

  • @gopikrishnasp2688
    @gopikrishnasp2688 11 หลายเดือนก่อน

    Where can I download the code that you have created. It will be used for my reference.

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

    Ive got an error: ImportError while importing test module. Hint: make sure your test modules/packages have valid Python names. from automationneemo.src.pages.LoginPage import LoginPage
    E ModuleNotFoundError: No module named 'automationneemo'

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

      I too getting same error, any help to fix this @Author or @lehuydat2608.

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

    when I try this way and set the property for the object , I get an error , "object has no setter"

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

      here as well
      AttributeError: 'Playwright' object has no attribute 'get_by_placeholder'

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

      have you got the solution

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

    It will be helpful if you can help me to solve this import pom_framework.pages.LoginPage as LoginPage
    E ModuleNotFoundError: No module named 'pom_framework' error.

  • @NehaSharma-l4d3e
    @NehaSharma-l4d3e 11 หลายเดือนก่อน

    How i can overcome error "AttributeError: 'NoneType' object has no attribute 'fill' " getting at login page line 14. please help.

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

    Can you share your project code in videos?thanks

  • @thelayer5211
    @thelayer5211 6 หลายเดือนก่อน

    Useless session