Code Monkey home page Code Monkey logo

winappdriver's People

Contributors

ejhollas avatar kfrajtak avatar vladyslavkhvorostianyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winappdriver's Issues

Where the full list of supported capabilities could be found?

Hello Karel,

I'm was trying to bind the stuff, which is present in the official WAD documentation at https://github.com/microsoft/WinAppDriver/blob/master/Docs/AuthoringTestScripts.md and the current source code. Unfortunately, I am unable to find the described capabilities, like for example appArguments or appTopLevelWindow in the source code of the current handlers, but only in the tests. Although, I could see some undocumented caps, like mode or mainWindowTitle inside https://github.com/kfrajtak/WinAppDriver/blob/master/WinAppDriver/CommandHandlers/NewSessionCommandHandler.cs

Could you please help me to find a correct place where I could look for the actual implementations? Or could it be that this source and the one used/documented by MS are different?

modal dialogs and blocking

in my test app there is a modal app that i want to bring up

and then to be able to test it as well

but currently the driver blocks on clicking a button that starts a dialog ( i think by design )

i tried t take out the WaitOne in ClickElementCommandHandler

which gt it past it, but still seems to be a block in the task scheduler or gui thread as when i make further calls, eg find they don't run until the modal dialog goes

Modal windows are blocking the execution

When a button is clicked and a modal window is displayed waiting for user's confirmation, the execution is blocked. This was partially solved by calling `InvokePattern.Invoke()' method in a thread, but it does not work all the time.

Also handler add to handle WindowOpenedEvent is not invoked (or is but only sometimes).

Can I use the repo for WinForms App in Windows 10?

Hello:
I found your repo., it looks good,
But I want to know if I can use the repo in a WinForms App project target .NET 5.0/6.0.
I am using Visual Studio 2022 on Windows 10 PC.
For example: if I want to launch a Chrome browser. Then use repo to connect to the running Chrome, and navigate to https://www.google.com/, then input search string in the input box, like "UI Test", then press Enter key.
If for WinForms not possible, then target .net framework is also OK.
Thanks,

Which windows systems are supported for this project?

I noticed that Microsoft/WinAppDriver only supports Windows 10 (Home and Pro) and Windows Server 2016. So does this project support other systems?
In addition, why does Microsoft/WinAppDriver only support Windows 10 (Home and Pro) and Windows Server 2016? Does it not depend on Microsoft UIAutomation ?
Please tell me, Thanks bro.

Usages

Hello @kfrajtak ,

I want to help you with developing the WinAppDriver. But I need it for testing a commercial application,
can I do it with Salesforce license?

Can you add some usages of the driver like in https://github.com/Microsoft/WinAppDriver,
because I didn't get how to set up a test with it?

splash screens

doesn't handle splash screen popups well, same as msofts

adding in a delay after the start of the process or the like might be the way to go

        Logger.Info($"MainWindowHandle {process.MainWindowHandle}");
        System.Threading.Thread.Sleep(10000);
        process.Refresh();
        Logger.Info($"MainWindowHandle {process.MainWindowHandle}");
        int delayCount = 10;
        while ((int)process.MainWindowHandle == 0 && delayCount > 0)
        {
            Logger.Info($"Wiating for a MainWindowHandle");
            System.Threading.Thread.Sleep(500);
            process.Refresh();
            delayCount--;
        }

webdriver w3c Endpoints

Hello,

Just having a look to see if I can investigate using this as a viable alternative to winappdriver (official)... Do you have a list of endpoints from w3c driver that are supported? I couldn't see from the documentation. I wondered if I might be able to see how to integrate this in replacement of the official driver with appium solution if I can't resolve issues from the black-box offering...

Many thanks!

remove need for admin running

just seems to need the line
hostConfigs.RewriteLocalhost = false;
in host.cs

means you don;t have to run as an admin user

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.