享受學習的樂趣

  • Home

  • About

  • Tags

  • Categories

  • Archives

Docker 常用指令

Posted on 2017-06-05 | In Note , Docker

記錄一些會常用到的指令

在講其他指令之前,先記錄一件事情,有什麼不懂的指令,
只需要在 docker command 後面加上 --help 就會有說明可以參考。

Read more »

Lambda Expression 的學習筆記

Posted on 2017-05-07 | Edited on 2017-06-05 | In Note , C#

上課筆記:C# Advanced Topics: Take Your C# Skills to the Next Level

Lambda Expression

  • It is an anonymous method (匿名函式).
    • No access modifier
    • No name
    • No return statement
Read more »

Delegates 的學習筆記

Posted on 2017-05-01 | Edited on 2017-06-05 | In Note , C#

上課筆記:C# Advanced Topics: Take Your C# Skills to the Next Level

Delegates

  • An object that knows how to call a method (or a group of methods)
    • 在 invocationList 中可以看到要委派的 Method
    • 而因為 delegate 是繼承 System.MulticastDelegate,因此可以知道說我們要委派給誰
  • A reference to a function
Read more »

用 IEDriver 噴出 NoSuchWindowException

Posted on 2017-01-22 | Edited on 2017-01-23 | In Note , Web Testing , FluentAutomation , Selenium

情境

在測試專案中執行測試,希望用開啟 IE 來執行測試的腳本

遇到的問題

遇到紅燈,看一下錯誤訊息:


Read more »

用 Selenium WebDriver Firefox 找不到 Firefox 的問題

Posted on 2017-01-19 | Edited on 2017-01-23 | In Note , Web Testing , Selenium

情境

在測試專案中執行測試,希望用開啟 Firefox 來執行測試的腳本

遇到的問題

不僅僅遇到紅燈,測試也沒有正常運作

結果 StackTrace:
於 OpenQA.Selenium.Firefox.Internal.Executable..ctor(String userSpecifiedBinaryPath)
於 OpenQA.Selenium.Firefox.FirefoxBinary..ctor(String pathToFirefoxBinary)
於 OpenQA.Selenium.Firefox.FirefoxDriver..ctor()
於 SeleniumTests.Loginfailed.SetupTest()
結果訊息:
OpenQA.Selenium.WebDriverException:
OpenQA.Selenium.WebDriverException:
Cannot find Firefox binary in PATH or default install locations.
Make sure Firefox is installed. OS appears to be: Vista。

Read more »
1234
ajdfajdfl

ajdfajdfl

16 posts
20 categories
68 tags
RSS
GitHub Twitter
© 2016 – 2019 ajdfajdfl