2016-06-22 27 views
1

我已經爲Android準備了使用葫蘆的UITest。測試工作就好在本地設備上,但是當我試圖使用Xamarin測試雲我得到的停頓錯誤:Calabash android UITest失速錯誤

2016-06-22 09:03:13 +0200 Validating 
2016-06-22 09:03:23 +0200 Validating 
2016-06-22 09:03:34 +0200 Validating 
2016-06-22 09:03:56 +0200 Stalled error (support team notified) 
2016-06-22 09:04:06 +0200 Stalled error (support team notified) 

爲什麼我得到了這樣的錯誤?這裏是我的葫蘆測試代碼:

first.features文件

Feature: First run feature 

    Scenario: As a new user I can choose my region 
    Given I am on choose region page 
    When I press list item number 1 
    Then I touch the select button 
    Then I shold see info 

calabash_steps.rb文件

# encoding: utf-8 
require 'calabash-android/calabash_steps' 

Then(/^I am on choose region page$/) do 
sleep(1) 
end 
Then(/^I touch the select button$/) do 
touch("* marked:'selectButton'") 
end 
Then(/^I shold see info$/) do 
sleep(3) 
element_exists("* marked:'text1'") 
sleep(10) 
end 

回答

相關問題