首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Calabash android UITest停止错误

Calabash android UITest停止错误
EN

Stack Overflow用户
提问于 2016-06-22 15:13:17
回答 1查看 179关注 0票数 1

我为Android准备了使用calabash的UITest。测试在本地设备上工作得很好,但是当我尝试使用Xamarin Test Cloud时,我得到的所有信息都是Stalled:

代码语言:javascript
复制
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)

为什么会出现这样的错误?下面是我的calabash测试代码:

first.features文件

代码语言:javascript
复制
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文件

代码语言:javascript
复制
# 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
EN

回答 1

Stack Overflow用户

发布于 2016-11-30 21:22:45

我也遇到过类似的问题,请参考Facing "Stalled error " on Xamarin test cloud when Xamarin.ios Uitest ran from Xamarin Studio

当我在xamarin测试云设备选择上将设备phone更改为tablet时,我的错误解决了,但是我检查了项目的属性,这些属性指向通用设备(不特定于手机/平板电脑)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37960964

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档