1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-13 22:28:36 +00:00

Merge pull request #27 from jimboatarm/skype-mute-mic

Mute microphone during Skype call
This commit is contained in:
jimboatarm 2016-05-27 10:58:00 +01:00
commit 2ce3233398
2 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ public class UiAutomation extends UxPerfUiAutomation {
String description = video ? "Video call" : "Call options";
UiObject callButton = new UiObject(new UiSelector().descriptionContains(description));
callButton.click();
callButton.clickAndWaitForNewWindow();
UiObject muteButton = new UiObject(new UiSelector().descriptionContains("Mute"));
muteButton.click();
sleep(duration);
if (video && dumpsysEnabled) {