[Webtest] Asynchronous requests: how to track?
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Tue, 28 Aug 2007 23:48:29 -0700 (PDT)
Hi,
I couldn't really try it, the app said that the Excel file was invalid, even
the one that it generated! ;-(
Do you know how the asynchronous processing is performed? AJAX call,
setTimeout?
Marc.
Andrew Sickorsky wrote:
>
> 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="//div[@id='upload']//input[@type='file']"
> fileName="${analysis-test-web.dir}/testdata/${excel.name}"/>
> <clickElement xpath="//div[@id='upload']//input[@class='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:andrew.sickorsky@texunatech.com
> 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
>
>
>
--
View this message in context: http://www.nabble.com/Asynchronous-requests%3A-how-to-track--tf4334027.html#a12381464
Sent from the WebTest mailing list archive at Nabble.com.