Example #1
0
 public void AddMemoWordAndStartInteraction()
 {
     Browser.Wait(TimeSpan.FromSeconds(3));
     Browser.ClickElementWhenItVisible(By.Id("dPAYes"));
     //MemoElement.Click();
     InteractElement.Click();
 }
Example #2
0
    public List <InteractElement> a()
    {
        List <UINode>          list  = x.a();
        List <InteractElement> list2 = new List <InteractElement>();

        foreach (UINode current in list)
        {
            GameObject      gameobject      = current.gameobject;
            Rectangle       bound           = current.bound;
            InteractElement interactElement = new InteractElement();
            interactElement.nodetype = AutoTravelNodeType.BUTTON;
            string name = global::g.b(gameobject);
            interactElement.name          = name;
            interactElement.instanceid    = gameobject.GetInstanceID();
            interactElement.bound.x       = bound.x;
            interactElement.bound.y       = bound.y;
            interactElement.bound.fWidth  = bound.width;
            interactElement.bound.fHeight = bound.height;
            list2.Add(interactElement);
            GameObjectManager.INSTANCE.AddGameObject(gameobject);
        }
        return(list2);
    }
Example #3
0
 public void StartInteraction()
 {
     MemoElement.Click();
     Browser.WaitForVisibilityOfElement(5000, "action1");
     InteractElement.Click();
 }