Hello, all!
I've experiencing some problems with testing asynchronous jobs: in our
sysiem under tests (SUT) user can choose file to upload, and than this
file is uploaded in asynchronous manner. This process reflects on the
float div and finishes with corresponded message. Is there any way to
trac this process and track the finel message? For now I try to use
<sleep > in a <retry> construction to wait proper message, but this
makes no sence:
<clickLink label="Import from Excel" description="Open dialog for
additional Excel upload"/>
<setFileField xpath="//[EMAIL PROTECTED]'upload']//[EMAIL PROTECTED]'file']"
fileName="${analysis-test-web.dir}/testdata/${excel.name}"/>
<clickElement xpath="//[EMAIL PROTECTED]'upload']//[EMAIL PROTECTED]'upload-button']"
description="click on upload button"/>
<sleep seconds = "3"/>
<retry maxcount="25" description="wait while spreadsheet is importing">
<not>
<verifyText text="Please wait while your feed is being imported."/>
</not>
<sleep seconds="6"/>
</retry>
To clarify the problem you can look into http://demo.bitcut.com
(pre-beta release, feel free to test it, nothing terrible happens) and
try to upload excel with several columns
begin:vcard
fn:Andrew Sickorsky
n:Sickorsky;Andrew
org:Texuna Tech Ltd.
adr;dom:;;Magistralnaya street, 5 - 33;Moscow
email;internet:[EMAIL PROTECTED]
title:Tester
tel;work:+7 495 9809067
tel;cell:+7 909 9070328
x-mozilla-html:TRUE
url:www.texunatech.com
version:2.1
end:vcard