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="//[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
> 
> 
> 

-- 
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.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to