Page 1 of 1

how to handle file download popup box

PostPosted: Tue Sep 15, 2009 12:16 pm
by madalvi
I have test case where :
1) Login into website and navigate through few pages in website
2) User selects the type of file format (.xls, .csv) from dropdown list
3) User clicks "download report" button and saves the file on desktop.
4) Log off from website
After recording the script in eValid, while executing step 3, eValid doesn't save the file however keeps the download popup box open and continue with the rest of steps....

Does any one know how to download the file?

Thanks in advance
Meghana

Re: how to handle file download popup box

PostPosted: Wed Sep 16, 2009 12:17 pm
by eValid
madalvi wrote:I have test case where :
1) Login into website and navigate through few pages in website
2) User selects the type of file format (.xls, .csv) from dropdown list
3) User clicks "download report" button and saves the file on desktop.
4) Log off from website
After recording the script in eValid, while executing step 3, eValid doesn't save the file however keeps the download popup box open and continue with the rest of steps....

Does any one know how to download the file?

Thanks in advance
Meghana


Without seeing the actual script and application all we can do is make a guess but it sounds like you are switching OUT of browser mode into either Application Mode or a Modal Dialog

Browser mode -- what eValid is best at -- means the parent browser and any and all sub-browser windows. All such activity is recorded and reproduced without difficulty.

But when you "...save the file on desktop" you have left the browser mode and you have to work at the desktop level. That means either Application Mode or Modal Dialog.

In eValid Application Mode is available with F12 or with the Record > Advanced Recording pulldown on the eValid GUI.

Modal Dialog recording is more complex, and you need to use the special Modal Dialog command recording proces that uses the "Insert > Modal Dialog Commands" option that is available in the Script Window.

Here is a link to an example that uses this latter mode...so you can see what is going on:

http://www.e-valid.com/Products/Documen ... Modal.html

That ought to get you going OK.

The eValid Team

Re: how to handle file download popup box

PostPosted: Thu Nov 05, 2009 10:37 pm
by nobig28
Utan att se det faktiska skriptet och tillämpning allt vi kan göra är att göra en gissning, men det låter som om du byter från webbläsaren läge till antingen Application Mode eller en modal dialogruta
Browser mode - vad eValid är bäst på - innebär att föräldern webbläsaren och alla eventuella sub-webbläsarfönster. All sådan verksamhet registreras och återges utan svårighet.
Men när man "... spara filen på skrivbordet" du har lämnat webbläsaren läge och du måste arbeta på skrivbordet nivå. Det betyder antingen Application Mode eller modal dialogruta.
På eValid Application Mode finns med F12 eller med Record> Avancerat Inspelning pulldown på eValid GUI.
Modal Dialog inspelning är mer komplex, och du måste använda den särskilda Modal Dialog proces kommando inspelning som använder "Infoga> modal dialogruta Kommandon" alternativ som finns tillgängligt i Script Window.