How do we download a file by using Selenium? [closed] - selenium

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How do we download a file by using Selenium?

Selenium doesn't recognize windows based components and hence would not interact with "Save As" dialog boxes. To do that you need to use a 3rd party tool that would handle these dialog boxes. I would suggest using AutoIt. Its a free script writing tool and will handle all the dialog boxes. For more info, visit http://qtp-help.blogspot.com/2009/07/selenium-handle-dialogs.html
Let me know if you are looking for something else.
Regards,
Vamyip

Related

VB2010 How can i clear cookies webbrowser with button? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
VB2010 How can i clear cookies webbrowser with button ?
I created my webbrowser on vb2010 but i have problem; how can i clear Webbrowser cookies & cache? Its been answered 1k times but i still didn't find working solution...
You may have to do this before you actually run the web browser.
Temporary Internet Files
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8")
Cookies
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 2")
History
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 1")
Hope this helps.

Show notification in Visual Basic.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Using Visual Basic .Net, I would like to receive a notification from Windows whenever either a new program or a shortcut is created in a particular path (let's assume for example: C:\Users\name\AppData\Roaming\...\Programs\Startup).
How can I achieve this?
You could use a FileSystemWatcher for that path and handle the Created event.
FileSystemWatcher-Tutorial

How can i perform Print on a pdf which i have cretaed [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have created a method for generating the pdf and use this as mail attachment.But i want to use the same pdf for the print purpose.How can i do this?thanx in advance.
See if Adobe Reader Command Line Reference fits your needs.
If you don't have Acrobat Reader (maybe in server environment) you can try How to print PDF on default network printer using GhostScript (gswin32c.exe) shell command

how to capture editor data with help of selenium? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i am working on one application which have third party editor (ck editor).
I am not able to record action perform on editor using selenium IDE.
Please suggest me solution so that i can able to record those action.
You can use the ckeditor library javascript to set the content of a ckEditor instance. I've used the solution below
runScript
CKEDITOR.instances['body'].setData('<p>testContent</p>');
change "body" for the name of your ckEditor instance

asp.net/ C# screen scaping done easily? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
whats the simplest way to do screen scraping using c# and .net 4.0?
are their libraries i can reuse? i think i heard of an html tool pack for this but can not find it now...
The parsing should be done with the HTML Agility Pack. I've never used it so I don't know if it will connect to the web pages for you or not. If not, you should be able to use the WebClient class.