automation

Clicking submit button of an HTML form by a Javascript code

此生再无相见时 提交于 2020-01-12 06:30:06
问题 I don't know much about WEB probramming, so feel free to ask if I'm missing any details. There is a certain website which I'm visiting very frequently, and it requires users to log in every time they visit. For the login page of this website, I'm trying to write down a userscript which will automatically log me in. I managed to fill in the form fields, but don't have any idea how to click the submit button by JavaScript. The below is a condensed version of the original login code. How can I

Does DDE still matter? Which are the alternatives?

南楼画角 提交于 2020-01-12 04:51:09
问题 I'm working on a stock exchange information platform and we are thinking in provide a link between our platform and home-made Excel files. The financial market is still bound to the old DDE server approach, now does it still matter today? Which are the alternatives to make automatic online data updates on Excel files, OLE DB queries? I wonder if anyone has any example of implementing an OLE DB provider in C# and .NET. Our API will be completely online and RESTful, there is any Web Services

Calabash: Select a date from a UIDatePickerview

最后都变了- 提交于 2020-01-11 13:51:07
问题 In Calabash Automation testing on iPhone. I need to select a date from a date picker. Please guide me with a ruby step definition. I want something like Then I scroll datepicker to date "2002-10-22" 回答1: I made a solution after some research. This code is not bulletproof but it works fine for me. I guess someone will get a help from this. if anyone knows how to improve this. please add it here. In step definitions I add.. Then /^I scroll datepicker to date "1985-01-01" # Date Format "1985-01

Perl: Win32::OLE and Microsoft Outlook - Iterating through email attachments efficiently

最后都变了- 提交于 2020-01-11 05:37:27
问题 I'm an intern and very new to this... My boss gets an email with two attachments every Monday which he has to turn into wiki code and put it on our internal website. The process takes roughly 20 minutes every Monday due to the amount of information to transfer. I've been asked to stream line this process. I have code which will parse the file and break it up into components, and I have code to grab all the attachments out of his inbox. The issue I am facing is that my script starts at the

Is there a .Net interface to Oracle SQLPLUS?

荒凉一梦 提交于 2020-01-11 05:09:06
问题 I'm developing some automation to control the execution of SQL scripts. The scripts are run through SQL*PLUS and contain PL/SQL calls in them (hence I can't run them through ODP.NET ). I was wondering if there was a .NET interface to SQL*PLUS ? If so has anyone used it? 回答1: You can do it in C# with this piece of code: public int execString(string scriptFileName) { int exitCode; ProcessStartInfo processInfo; Process process; int timeout = 5000; processInfo = new ProcessStartInfo("sqlplus.exe"

What would be an ideal way to list existing objects to read and alter their properties?

∥☆過路亽.° 提交于 2020-01-10 05:22:05
问题 I'm trying to develop an application in Delphi XE2 that will be able to read and alter object properties between different applications. Currently, our only target applications are one developed in Delphi XE, to which I have the source code, and one done in VB6, which we have no source or information. Main objects we are looking for are Labels and Edits, but ideally I'd need to almost design an object viewer, listing every object as well as their properties, being able to read and alter those

How to Login without prompt?

谁都会走 提交于 2020-01-09 12:39:10
问题 I tried following commands to get a noprompt faster login experience but each time i find login popup. I even tried using the certificate initially but since that didn't prove working, attempting with tenant id. Any help or suggestion on how to have seamless and faster login instead of interactive. Login-AzureRmAccount -SubscriptionId 1238154XXXXfd-1c4121796e58 -TenantId 754XXXXXXXXXXX5d10d8XXX Add-AzureRmAccount -Tenant "754XXXXXXXXXXX5d10d8XXX" -SubscriptionId "1238154XXXXfd-1c4121796e58"

Import newest csv file in directory

懵懂的女人 提交于 2020-01-09 11:48:05
问题 Goal: - Import the newest file (.csv) from a local directory into R Goal Details: - A csv file is uploaded to a folder daily on my Mac. I would like to be able to incorporate a function in my R script that automatically imports the newest file into my workspace for further analysis. The file is uploaded daily around 4:30AM - I would like this function to be run in the morning (no earlier than 6AM so there's plenty of time for leeway here) Input Details: - file type: .csv - naming convention:

TableView add a new Label that changes automatically

两盒软妹~` 提交于 2020-01-07 09:33:14
问题 Ok so I was recently helped by Darren to solve a problem that my tableview data wasn't showing. I will leave a document here which I am going to be reffering to. Download File (3.12mb) In the storyboard, at the end there are 3 object and 2 of them are automatically changing dependening on what item is chosen on the tableView. I would like to add another label (alread did in the project) and se it so some information will appear here depending on what item was chosen in the table view. Just

Moving data based on information in one column and then sorting by data in another

前提是你 提交于 2020-01-07 07:59:10
问题 Ok so best way to explain this, I have a spreadsheet that is produced monthly. It needs to be automated. From the report that gets shipped into excel I need to take all the data from the project number column and move it to another workbook. In this workbook are worksheets for 2012 and 2013. I need all of the projects starting 300, then 400, then 500 etc to move into the new workbook and then the 2012 projects to go into one worksheet and 2013 into another. How would I go about automating