protractor

    0熱度

    1回答

    從列表中選擇項目時會獲得超時。該項目被選中,但測試以錯誤消息結束。有誰知道我應該改變什麼? app.e2e-spec.ts it('applications - select item from list',() => { page.scroolPageDown(); page.clickLastPage(); page.selectItemFromList(); page.scroolP

    0熱度

    2回答

    配置中使用: OS : Windows 7 Node : 6.11.3 Protractor : 5.1.2 NPM : 3.10.10 我無法運行,因爲下面的錯誤的量角器測試。 C:\Users\Admin>protractor conf.js [14:45:16] I/launcher - Running 1 instances of WebDriver [14:45:16] I/hosted

    0熱度

    2回答

    量角器版本:5.1.2 節點版本:6.9.0 角版本:2.4.10 OnPrepare功能我做browser.get('/')。在此之後,我正在登錄it。 第一個問題是它會引發錯誤的異步函數不叫。做一個失敗的研究後,我加入browser.sleep(500)那麼上面停下來和執行登錄it情況。 之後,我必須點擊一個按鈕,登陸頁面,然後導航到另一個頁面,並單擊另一個button.Here也失敗說沒有元

    0熱度

    1回答

    我想爲元素定位器使用變量;我定義這個數據結構: CreatorSearch: { ... inCreatorItem : element (by.xpath('//span[contains(text(),invalue)]')), ... } 然後在功能我試圖在XPath這樣使用參數: CreatorInput : function (crea

    0熱度

    1回答

    多行數據在我的應用程序需要在該領域的一個輸入多行數據。使用JSON文件如何傳遞量角器腳本中的數據?

    0熱度

    2回答

    我想在我的本地Windows工作站上運行量角器E2E測試,但我不斷收到此錯誤。 webpack: Compiled successfully. [07:50:41] I/file_manager - creating folder c:\repos\polo-buyer-ui\node_modules\protractor\node_modules\webdriver-manager\seleni

    0熱度

    2回答

    我想測試此代碼,它被發現here文件上傳上傳: var path = require('path'); var fileToUpload = '..\\..\\files\\avatarPicture.jpg'; var absolutePath = path.resolve(__dirname, fileToUpload); var fileElem = element(by.css

    -2熱度

    1回答

    如何在python 3.4.2中同時在cmd中寫入多個字符串?如同,你有兩個併發運行的函數,並且都需要不斷更新和寫入字符串到屏幕。在我的情況下,我有一個下載器,在搜索時下載它,並更新下載的百分比。我希望能夠直接進入下一個搜索,以便在上次下載完成時查看我正在輸入的內容。

    1熱度

    2回答

    我開發了Tour of Heroes Angular tutorial應用程序。之後,我寫了組件的測試。應用程序和組件測試都很好。現在我想用量角器開發E2E測試,我無法讓它們運行。 我每次運行ng e2e在命令行中,我得到以下的輸出:關於我的設置 $ ng e2e ** NG Live Development Server is listening on localhost:49152, ope

    1熱度

    1回答

    我們有AngularJS量角器測試。這個過程是建立在爲了執行這些步驟: $ npm install $ webdriver-manager update --ie32 --ignore_ssl $ gulp 我遇到的問題是這種設置適用於所有的人在我的球隊,但時間的100%,我收到此錯誤: [11:42:33] I/local - Starting selenium standalone s