Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressed shift key does not get released #162

Closed
simonmeggle opened this issue Feb 8, 2016 · 4 comments
Closed

Pressed shift key does not get released #162

simonmeggle opened this issue Feb 8, 2016 · 4 comments

Comments

@simonmeggle
Copy link

confirmed by c:L today...

@toschneck
Copy link
Contributor

@simonmeggle can you provide me code example, when this will happen. I have to rebuild the issue to solve it ;)

@toschneck
Copy link
Contributor

maybe #163 could solve this?

@toschneck
Copy link
Contributor

function startBSI ($u, $p) {
env.keyDown(Key.SHIFT);
screen.waitForImage("bsi_icon",100).rightClick();
env.keyUp(Key.SHIFT);   
env.sleep(2);
screen.waitForImage("anderer_benutzer",100).click();
screen.waitForImage("username_password",100);
var dialog = env.getRegionFromFocusedWindow();
//dialog.type("S\b").type($u).type(Key.TAB).type($p);
dialog.type($u).type(Key.TAB).type($p);
screen.find("button_ok").click();

screen.waitForImage("contact_center",100).highlight();

// Full screen
env.type(Key.SPACE, Key.ALT).sleep(1).type("x").type(Key.ESC).sleep(3);
testCase.endOfStep("Oeffnen der Applikation", 100);

}

@toschneck
Copy link
Contributor

@simonmeggle pleae test at the next installation by CL
Should be working now!

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

No branches or pull requests

2 participants