Robot Framework Selenium - Cannot reliably click/scroll in Flutter web canvas elements
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 18/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- flutter, python
- Bereich
- testing-qa, web-dev
Rechercherichtung
Es wird keine Repository-Datei, kein Test und kein Einstiegspunkt genannt; beginne damit, das im Issue beschriebene Szenario mit Anmeldung, Fokus und Scrollen in der Flutter-Webanwendung zu reproduzieren. Ein nützliches Ergebnis wäre ein bestätigter, projektspezifischer Workaround oder ein klar abgegrenzter reproduzierbarer Fehler, aber das Issue definiert weder eine Änderung am Repository noch einen Test für den Abschluss.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I'm internship QA testing and completely new to testing right now. I'm on Flutter web application with Robot Framework and Selenium Library. My task is to perform end-to-end (E2E) testing on a Flutter web app that heavily uses canvas structure. The test cases involve basic interactions such as clicking, pointing, focusing, and scrolling to elements. Initially, my team suggested using aria-label attributes as keys for identifying elements, which worked well for basic actions.
However, I've encountered several issues when trying a test scenario involving:
Logging in
Selecting a menu item
Editing profile data
Scrolling within a card
Returning to the homepage
The problem starts from the login step, where using standard Selenium actions (Click Element and Input Text) results in errors saying the elements are intercepted or hidden by Flutter. To bypass this, I used the Press Keys function to simulate typing and pressing the Enter key, which allowed me to log in.
After logging in, I was able to interact with menu elements using key presses, but the next major issue arose with scrolling. The website has a scrollable card component, and none of the methods I've tried (Scroll Element Into View, document.scrollIntoView(), or window.scroll) seem to fully scroll the element into view. They only scroll partially or don't scroll at all, leaving elements out of view.
Could someone experienced in Robot Framework and Selenium testing with Flutter web apps provide guidance or recommend workarounds to handle interactions reliably, especially control scrolling and focus Element within Flutter canvas structures?
of course, I'm trying asking ChatGPT ,Sonnet and OTHER AI b4 posting
Some error picture
- Vorherrschende Sprache
- Python
- Sterne
- 1.5k
- Forks
- 787
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus robotframework/SeleniumLibrary
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
robotframework/SeleniumLibrary#1941 · 3 Kommentare ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
robotframework/SeleniumLibrary#1833 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
robotframework/SeleniumLibrary#1436 · 5 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 58/100
robotframework/SeleniumLibrary#1993 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
robotframework/SeleniumLibrary#1992 · 4 Kommentare ·
Alle Issues in robotframework/SeleniumLibrary
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
stephrobert/dsoxlab#238 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
sublimehq/package_control#1780 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
nwg-piotr/nwg-displays#145 ·