how to handle file download popup box

General discussion about eValid, its characteristis and applications.

how to handle file download popup box

Postby madalvi » Tue Sep 15, 2009 12:16 pm

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
madalvi
 
Posts: 1
Joined: Tue Sep 15, 2009 12:07 pm

Re: how to handle file download popup box

Postby eValid » Wed Sep 16, 2009 12:17 pm

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
eValid
 
Posts: 2395
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA

Re: how to handle file download popup box

Postby nobig28 » Thu Nov 05, 2009 10:37 pm

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.
nobig28
 
Posts: 1
Joined: Thu Nov 05, 2009 5:36 pm


Return to General Solution Topics

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons