automation

Toad: 10.6: Seek clear instructions on automating reoccuring excel reports

血红的双手。 提交于 2020-01-01 21:54:17
问题 I am new to Toad 10.6.1 and have a question about running a SQL script and email data as an excel file on a scheduled basis. How do I run script and save as excel format and email as excel file to automatically? Thank you for your time. Below is what I've done so far but dont think its correct as I get "ORA-00911: invalid character" on step #5 . Select Utilities | Automation Designer menu option Select DB Misc tab from right side pane Last icon in this tab is Execute Script, double click on

Need to mock google OAuth2 service

烈酒焚心 提交于 2020-01-01 21:54:13
问题 Need to virtualize google OAuth2 for testing a web app that uses OAuth for user sign in, Any ideas ? Currently using Java/TestNG/Selenium, I tried with Hoverfly but I am still analyzing request/response pairs to figure out how to make simulation succeed. (I have a web application under test ( black box ) where I need to automate tests of some activities made by a google-signed-in user, so first step is to login with google account, I currently do this with (selenium) actual google account but

Automate telnet port testing on Windows 7 using batch script

你说的曾经没有我的故事 提交于 2020-01-01 16:12:15
问题 I am using Windows 7 x64. Using a bat script, I need to check whether I am able to connect to some specific ports on a server using telnet. If successfully connected, the server displays a menu, or else a message like this : Connecting To xxxxx...Could not open connection to the host, on port xxxxx: Connect failed. For my purpose, the server has several ports to be tested and I don't want to complicate things by logging in or navigating menus. I just want a simple output indicating whether

Automate telnet port testing on Windows 7 using batch script

对着背影说爱祢 提交于 2020-01-01 16:09:27
问题 I am using Windows 7 x64. Using a bat script, I need to check whether I am able to connect to some specific ports on a server using telnet. If successfully connected, the server displays a menu, or else a message like this : Connecting To xxxxx...Could not open connection to the host, on port xxxxx: Connect failed. For my purpose, the server has several ports to be tested and I don't want to complicate things by logging in or navigating menus. I just want a simple output indicating whether

Excel range usage question (cell error checking)

三世轮回 提交于 2020-01-01 12:47:31
问题 I have the following error for every cell: "the number in this cell is formatted as text or preceded by an apostrophe" To duplicate the error: I have to store this results that come from a Web services as strings array: Sample: (3 by 3 array) $402,568.03 26.2% 30,052 $107,719.59 7.0% 55,176 $81,370.35 5.3% 54,365 let values be the string array holding sample (string[,] values) Let r be the range to target (Excel.Range r) If I do: r.Value2 = values; I would like to know how to get rid of it.

In Base SAS, how can I auto refresh the explorer?

穿精又带淫゛_ 提交于 2020-01-01 10:58:07
问题 I'm fairly sure this must be something that has bugged others and so there must be a solution. I write my code and want to quickly check the dataset, but it isn't there. I need to select the window, click View and click refresh. Is there a keyboard shortcut I can use or a macro I can write that does this for me? I know this is lazy but it bugs me. Any thoughts are appreciated. J 回答1: You could do this programmatically using: dm "next explorer; refresh"; Or assign it to a shortcut key (eg F2)

Is it possible to automate a ClickOnce deployment?

我的梦境 提交于 2020-01-01 10:13:35
问题 I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time a user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box). One of our client wants to be able to automate the installation of the client on the users' machines. Is there a way to install the ClickOnce application without any user interaction, in

LegacyIAccessible in Windows.Automation

試著忘記壹切 提交于 2020-01-01 09:37:11
问题 How to obtain LegacyIAccessible.State and others LegacyIAccessibles of AutomationElement with C# ? just like Inspect.exe from tools makes it. 回答1: The LegacyIAccessible is new and is not available in the .NET level as is in .NET 4.0. But there is a project on CodePlex that has a newer implementation that in change set 38718 added support for this. Be beware that you have to compile the project from source, the latest binary release is too old to contain this unfortunately... What you want to

Programmatically convert SVG shapes to paths (lineto, moveto)

坚强是说给别人听的谎言 提交于 2020-01-01 09:04:48
问题 I have an SVG file coming from Inkscape, Illustrator, or any other application. I want to convert the shapes to lineto , moveto , curveto format. What I want is something like: ./Appname svgfile outfilewithpath I will give the SVG file as an argument, then my application will convert the object into the respective paths. 回答1: Inkscape has a command-line interface. Use the Inkscape man page along with the verb source for reference: The ObjectToPath verb converts an object to a path: inkscape

selenium not setting input field value

淺唱寂寞╮ 提交于 2020-01-01 08:06:08
问题 Let's say we have this website https://www.coinichiwa.com/ which has a BET AMOUNT input box. It's html is: <input autocomplete="off" id="betFa" name="a" maxlength="20" value="0.00000000" class="betinput" style=""> I need to add some value into it. Here is my code: browser = webdriver.Firefox() browser.get('https://www.coinichiwa.com') browser.find_element_by_id("betFa").send_keys("0.00000005") print browser.find_element_by_xpath("//input[contains(@id,'betFa')]").text But it's neither setting