Skip to content

not found frame for calculator #116

Description

@SaveliyShur

Hello, i am begginer qa, and i wrote small application for calculator, but my code don't found my "frame"

        var dc = new DesiredCapabilities();
        dc.SetCapability("app", @"C:/windows/system32/calc.exe");
        var driver = new RemoteWebDriver(new Uri("http://localhost:9999"), dc);

        var window = driver.FindElementByClassName("CalcFrame");
        window.Click();
        var resultField = window.FindElement(By.Id("150"));
        resultField.GetAttribute("Name");

        driver.Quit();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions