[Postcondition(1, "NA")]
public static async Task PasteSelection_METHOD()
{
- CreateEntryPage("PasteSelection");
- _entry.Text = "123456";
- _entry.SelectAll();
- _entry.CopySelection();
- _entry.CursorPosition = 6;
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
+ {
+ _testPage.UnlockUIButton();
+ Assert.Pass("Not Supported");
+ }
+ else
+ {
+ CreateEntryPage("PasteSelection");
+ _entry.Text = "123456";
+ _entry.SelectAll();
+ _entry.CopySelection();
+ _entry.CursorPosition = 6;
- _button1.Clicked += OnClickedByPasteSelection;
- // Waits for user confirmation.
- await ManualTest.WaitForConfirm();
- _button1.Clicked -= OnClickedByPasteSelection;
+ _button1.Clicked += OnClickedByPasteSelection;
+ // Waits for user confirmation.
+ await ManualTest.WaitForConfirm();
+ _button1.Clicked -= OnClickedByPasteSelection;
+ }
}
[Test]