private static void OnClickedByGetCursorContent(object sender, EventArgs e)
{
- if (_entry.Text.Substring(1, 1) == _entry.GetCursorContent())
+ if (_entry.Text.Substring(11, 1) == _entry.GetCursorContent())
{
ManualTest.Confirm();
}
[Property("CRITERIA", "UIBH")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
[Precondition(1, "NA")]
- [Step(1, "Click Run TC.")]
- [Step(2, "Input 't', and it will show 'Tizen'.")]
- [Step(3, "Input 'a', and it will show 'a'.")]
- [Step(4, "if it is, click Pass, or Fail.")]
+ [Step(1, "Turn smart input off(Setting->Input->Keyboard->Smart Input)")]
+ [Step(2, "Click Run TC.")]
+ [Step(3, "Input 't', and it will show 'Tizen'.")]
+ [Step(4, "Input 'a', and it will show 'a'.")]
+ [Step(5, "if it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
public static async Task AppendMarkUpFilter_METHOD()
{
[Property("CRITERIA", "UIBH")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
[Precondition(1, "NA")]
- [Step(1, "Click Run TC.")]
- [Step(2, "Input 't', and it will show 'Tizen'.")]
- [Step(3, "Input 'a', and it will show 'a'.")]
- [Step(4, "Click RemoveMarkUpFilter button, and input 't', and it will show 't'.")]
- [Step(5, "if it is, click Pass, or Fail.")]
+ [Step(1, "Turn smart input off(Setting->Input->Keyboard->Smart Input)")]
+ [Step(2, "Click Run TC.")]
+ [Step(3, "Input 't', and it will show 'Tizen'.")]
+ [Step(4, "Input 'a', and it will show 'a'.")]
+ [Step(5, "Click RemoveMarkUpFilter button, and input 't', and it will show 't'.")]
+ [Step(6, "if it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
public static async Task RemoveMarkUpFilter_METHOD()
{
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
[Precondition(1, "NA")]
[Step(1, "Click Run TC.")]
- [Step(2, "Put the cursor between 1 and 2.")]
+ [Step(2, "Put the cursor between d and e.")]
[Step(3, "Test case result will be shown automatically.")]
[Postcondition(1, "NA")]
public static async Task GetCursorContent_METHOD()
private static void OnDeleted(object sender, EventArgs e)
{
- _button.Text = "deleted event invoked";
+ Assert.True(true);
+ ManualTest.Confirm();
+ }
+
+ private static void DeleteObject(object sender, EventArgs e)
+ {
+ _evasObject.Unrealize();
}
private static void OnPost(object sender, EventArgs e)
_evasObject = new Polygon(_window);
_evasObject.Deleted += OnDeleted;
CreateResultButton("Click me!! Test: Invoke Delete event " + _evasObject.IsRealized.ToString());
- _button.Clicked += Confirm;
+ _button.Clicked += DeleteObject;
// Waits for user confirmation.
await ManualTest.WaitForConfirm();
- _button.Clicked -= Confirm;
+ _button.Clicked -= DeleteObject;
}
[Test]