コード例 #1
0
 private StubElement StubButtonToBeClicked(string locator)
 {
     var buttonToBeClicked = new StubElement();
     buttonToBeClicked.SetId(Guid.NewGuid().ToString());
     driver.StubButton(locator, buttonToBeClicked);
     return buttonToBeClicked;
 }
コード例 #2
0
ファイル: When_clicking_links.cs プロジェクト: glikoz/Coypu
 private StubElement StubLinkToBeClicked(string someLinkLocator)
 {
     var linkToBeClicked = new StubElement();
     linkToBeClicked.SetId(Guid.NewGuid().ToString());
     driver.StubLink(someLinkLocator, linkToBeClicked);
     return linkToBeClicked;
 }