Giter Club home page Giter Club logo

Comments (4)

Nepitwin avatar Nepitwin commented on May 25, 2024

@Muthuvenaktesh

What i can see is that currently robotframework-flaui does not implement the methods from keyboard.cs to make such a operation like a press, sleep and release usage.

https://github.com/FlaUI/FlaUI/blob/master/src/FlaUI.Core/Input/Keyboard.cs

Additional new keywords could implement for example:

  • Press Key
  • Release Key
  • Press Key And Wait

So this could fill your testing scenario to use the directive keyword Press Key And Wait or a directive usage like flaui to simulate your own Press Key, Sleep and Release Key syntax.

from robotframework-flaui.

Muthuvenaktesh avatar Muthuvenaktesh commented on May 25, 2024

@Nepitwin

I think this could be part of mouse click. The attached keypad is part of a application, it should long press the button in the application.

If its possible with Keyword like ClickAndHold with argument as identifier and microseconds to wait.

from robotframework-flaui.

Nepitwin avatar Nepitwin commented on May 25, 2024

@Muthuvenaktesh

By mouse handling probably a keyword like you mention can easily implemented like ClickAndHold XPATH DURATION_IN_MS

https://github.com/FlaUI/FlaUI/blob/master/src/FlaUI.Core/Input/Mouse.cs

I would implement a Press operation by a timeout and afterwards Release it by Down

from robotframework-flaui.

Nepitwin avatar Nepitwin commented on May 25, 2024

Keywords are implemented for long press usage by robotframework 2.0.5 release

from robotframework-flaui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.