I need to set a cookie in IE to execute some specific flow. I tried using the following code
ieb = Watir::IE.new
ieb.document.cookie="rememberme=foobar;Path=/; Domain=sometestdomain.com"
# Bring up browser and do bunch of stuff
However, I see that when the IE comes up, rememberme cookie is not set. Am I doing something wrong here?
...
Does anyone know if it's possible to configure CodeCollaborator to submit the changelist when the code review for it is complete? The SCM is Perforce.
Bonus points for appending the code review ID to the changelist description.
...
Hi all,
I've been using Delphi and the Adobe Acrobat 9 API. I'm simply opening a PDF and printing it, followed by closing it without saving anything.
I'm having an issue while opening some PDFs though. If the PDF is password protected the Open method displays Adobe's "Input password" prompt. My application is running in an automated fa...
Can Any One explain this Language how we converted to CFG
Give a CFG for the CFL: {ai bj ck | i ≠ j or j ≠ k } //ai mean a^i
I have the answer but I need an explaination (Step By Step)
The answer :
S --> S1|S2
S1 --> A Eab|Eab B|S1 c
A --> a|aA B--> b|bB
Eab --> Q|a Eab b
S2 --> Eac C|A Eac
C --> c|cC
Eac --> ...
(Followup to this question)
After surviving the first wave of incoming shipments (9 hours of copy/paste), I now believe I have all the requirements.
Here is the updated workflow:
Monkey collects email attachments (4 Excel spreadsheets, 1 PDF)
Monkey creates central database, does complex calculations (right now this is also an Excel ...
Hi, I'm just starting with Propel and for more rapid development I'm curious if there is anything like automatic forms. Something like default administration in Django.
I want to be able to output a form or to get all information I'll need. Even in the objects I didn't find all information which should be necessary to have everything for...
I need my .net program to send rich emails (usually containing table data, around 20 columns x 10 rows) using the user's mail infrastructure, allowing him to review/edit the mail before sending it, and storing the mail in his 'sent items' folder.
mailto: seems the obvious choice, but unfortunately, it doesn't support neither attachment...
Hi all,
I have a long and annoying process which is using three different applications and I must do this every week I'm looking for a tool to automate all these steps .
all my applications are winform applications , basicly I need to open applications simulate button clicks or left clicks .
I have done the same thing for webforms using...
I am trying to run the following code (which I got from here). The code just creates a new "Output" pane in Visual Studio and writes a few lines to it.
Public Sub WriteToMyNewPane()
Dim win As Window = _
dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput)
Dim ow As OutputWindow = win.Object
Dim owPane As OutputWind...
hello,
I have a little problem using c# to find tables inside Word textboxes.
Using this method (abstractDoc.Tables.Count) I get only the number of the main tables.
What would be the solution to reach the tables that are inside textboxes ?
I thank you in advance.
...
In my models I often use text fields that are intended to contain large pieces of textile-formatted input. I'd like to automatically obfuscate any email addresses that are entered into these text fields, so that when they're printed in a template they're not visible to spiders.
Is there a smart way to do this?
Update:
Based on lazersc...
I've created a Winamp-like music player in Delphi. Not so complex, of course. Just a simple one.
But now I would like to add a more complex feature: Songs in the library should be automatically rated based on the user's listening habits.
This means: The application should "understand" if the user likes a song or not. And not only wheth...
I am having a lot of issues trying to automate downloading from an ftp site. I know the folder the file will be in, and I know that it will be a .zip file. However I do not know what the files will be named.
So I have code that works if I know the file name...for example:
$sourceuri = "ftp://myFtpSite/test/myZipFile.zip"
I would ...
The following program returns error : e2035 not enough actual parameters in 2 places (lines 39 and 45) and is not compiling. Can someone please help me out?
Can I put 0 or null in place of parameters here?
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,ComObj,shdocvw,a...
Hi,
Is it possible using Python COM to select files inside of the windows explorer? For example, I am trying to get all "*.txt" files inside of windows explore highlighted without having to select them with the mouse, or without other keyboard gymnastics.
thanks in advance.
...
I want to use WatiN with IE in a parallel setting, i.e. work with dozens/hundreds of pages at once. I've tried sticking it into a Parallel.For loop only to see the whole thing crash, so I'm thinking opening multiple tabs in the browser is the way to go. Can someone suggest how this can be done using WatiN (or just some IE-related API) or...
I have a fairly large CSS file developed by my web designer.
There are, of course, plenty of IDs, classes and tag properties assigned therein. Are there any tools to automatically generate HTML based on a CSS source file?
For example:
#basicInfoHead{
background:url(../images/leftHeaders.jpg) no-repeat;
margin-left: 0px;
w...
I want to automate the process of plone3_buildout.
Explanation:
The default(the one I use) way of building a plone site is using paster, like so:
paster create -t plone3_buildout
This asks me a few questions and then create a default buildout for the site.
What I want:
I want to automate this process using buildout. My buildout will...
I'm looking for an ETL solution that we can create a configure by hand and then deploy to run autonomously. This is basic transformation, it need not be feature heavy. Key points would be free or open source'ed software that could be tailored more to suit specific needs.
In fact, this could be reduced to a simple DB migration tool that ...
i have this page displaying statement every 2 second (using javascript), at the end of it there is a link which the user can click.
with IE it will click the link before javascript generated statement is completed.
when i use Link.Click()
(with Firefox it will throw exception, which is fine with me)
is there a way to wait for javascri...