Questions tagged [automation]

Automation is the use of machines, control systems and information technologies to optimize productivity in the production of goods and delivery of services.

Filter by
Sorted by
Tagged with
1
vote
2answers
74 views

Automate clearing everything (database tables, log files, etc.) and starting from a fresh state during development?

The Issue When I'm fixing a bug during web development projects, I often find myself cleaning out the existing (tainted) database records, clearing out log files, etc. I do this so that I can start ...
2
votes
0answers
34 views

Initializing Cassandra schema

Recently I have started working on a project in which we are using Cassandra. It's a quite a new project, so we haven't decided how to initialize the schema. We are using Docker and Kubernetes. I've ...
2
votes
0answers
80 views

How to “orchestrate” a multi-repository installation

Suppose I'm working on software to be installed on a Linux machine (not mine). Say the software consists of applications the user might start independently; an application which will likely be started ...
-2
votes
3answers
47 views

How to identify scope of end-to-end automation testing?

We are struggling in deciding scope of end-to-end tests. As per our understanding, we have automated the form exactly the way users interact with it. below are the steps user perform while submitting ...
-4
votes
2answers
38 views

Partially Automated Migration of Monolith to MicroService

I am struggling to find some methods / concepts or even implementations of partially automated processes to split a monolith into microservices. Of cause I do not expect any solution that will make ...
4
votes
1answer
80 views

PowerShell performance when running Excel macros

I run on a daily basis a set of VBA-rich Excel files. Most of them include MS Office application cross-talk, but also employ third-party applications and MySQL. Due to the fact of running those files ...
1
vote
0answers
32 views

What approach can be used to automate SQL views generation?

Let's say I have to create tons of different SQL views. Having actual and target table DDLs, is it possible to programmatically automate view creation? Example: I have 2 table DDLs: CREATE TABLE ...
-4
votes
2answers
375 views

How to automate data entry into a website

I'm asked to input 15 to 25 sets of data into a website once daily. It requires logging into the website, clicking a button, then selecting 2-7 checkboxes, clicking button, selecting up to 3 more ...
1
vote
2answers
198 views

How to convert from TDD scripts to BDD?

There are TDD automation scripts ready and running. TDD tests are written in granular level(class, functions, module) and BDD is written in Behavior level. Is it feasible convert this TDD script to ...
1
vote
1answer
235 views

Azure Key Vault vs Automation Account Variables for password storage

In Microsoft Azure one can store secret values like passwords in Azure Key Vault, but also as encrypted variables in Azure Automation (these ones are stored in an Azure-managed Key Vault behind the ...
2
votes
4answers
319 views

Does linting without auto-correction make sense?

In our Ruby on Rails projects we use a linter for our slim templates: slim-lint. It doesn't support any automatic fixes, not even the easiest ones. So I'd like to abandon it because I don't like to go ...
3
votes
0answers
65 views

Can/Should I make an automatic installation of new python libraries after a git pull?

Imagine the following situation: I'm working on a python project, and I install the library antigravity with pip. I add the function fly() which uses the library, and I commit and push the changes. ...
1
vote
1answer
323 views

Problem in creating a correct finite-state-machine for a given short text

I like to create a finite-state machine for the given text below. While solving this, I came accross with several problems I listed at the bottom. (This example is in terms of testing (where you later ...
-5
votes
2answers
71 views

Authenticate Git Pulls on a Compromised Machine [closed]

I may have a tough one for you. I have a machine in the wild that is and will probably continue to be compromised. The machine is owned by a user who will be unable to keep it secure. I must have ...
2
votes
1answer
193 views

Is it possible to layer an API (REST, GraphQL, etc.) in front of data that is currently only accessible via an enterprise desktop GUI?

Currently, my thoughts are that GET requests would be feasible by using the concept of screen scraping combined with a cron job that runs at a set interval to scrape data from the GUI and sync to my ...
1
vote
3answers
2k views

Why only scripting languages for automating tasks? [closed]

To automate tasks, I have only heard of people using scripting languages. Why don't people use compiled languages to automate tasks? What can scripting languages do for automating tasks that ...
0
votes
4answers
235 views

What exactly caused the recent increase in automated testing?

Recently I've heard a lot about automating test is taking away manual jobs from the QA sector. When I look at example of what it is about most of it is just running a sequence of functions over and ...
4
votes
1answer
71 views

How do I automate build-publish tasks for my web server?

I'm developing a node.js web server which will have built source code of server and client part at once. I mean, my web server is on the isomorphic level. this means editing source code of client part ...
-2
votes
1answer
608 views

Auto test with random keys from dict with added values equal to a certain number

I have a list (23 items) of choices and I've transformed it into a dictionary in order to have a value for each choice. I need to select 3 random choices from that dictionary each time I run the test ...
2
votes
3answers
570 views

What advantages do daily builds provide specifically over continuous builds in practice?

I have seen this question and do not believe this to be a duplicate What software models are appropriate for daily builds and continuous integration? . I don't fully understand what advantage ...
0
votes
1answer
49 views

How do automation rules systems monitor for triggering actions?

I'm beginning to sketch out an automation rules system (e.g. letting users define "when X happens, do Y"), and I'm not sure how to monitor for triggering of those rules. How do apps like, for ...
2
votes
1answer
2k views

Organizing Jenkins around SVN branches and deployment environments

Current setup We currently have one Jenkins server that automates deployments for about 15 different Java web applications. Each application has three deployment environments on separate Linux boxes. ...
0
votes
1answer
404 views

Automated Hotfix Release with Semantic Versioning based off of Master Branch

I have a Python script that lives in my CI pipeline that is responsible for publishing branches and tags, publishing AAR's to our Maven Artifactory, uploading Javadoc, etc. We used to follow a ...
1
vote
2answers
296 views

What are Workflows? And how do workflows eases work of the consumer? [closed]

With a little googling I could find workflows - which automates the business process - to meet some business needs. i.e.; All I could find is it is a piece of software which allows us to split the ...
2
votes
4answers
3k views

Where to run automation UI Tests - Build server or Test machine

We are having a set of selenium UI tests for our application. We are deploying the application in our test machines in our QA environment. We are using TFS 2015 for continuous integration and ...
69
votes
13answers
16k views

Would it be a bad idea to periodically run code formatters on a repository?

I'm thinking of creating a cron job that checks out code, runs code formatters on it, and if anything changed, commits the changes and pushes them back. Most projects that use autoformatters put them ...
2
votes
1answer
74 views

Separations of concerns and dependency management in automation project

I'm working on an automation project in C# and it has 2 wrappers: DesktopAutomation and BrowsersAutomation. The first has a dependency on UIAutomation.dlls (access to the MS desktop elements) and the ...
3
votes
2answers
223 views

how to handle small change requests in the automated deployment process

I've setup a Gitlab server to manage several different Laravel Apps. I'm also able to configure the Gitlab CI to deploy the code to the development and production sites. Everything is kind of ...
-1
votes
1answer
607 views

Adobe Acrobat folder level scripts

I am trying to find ínformation on how and where to write folder level scripts for Adobe Acrobat and Adobe Photoshop. This is what I found from Adobe: https://acrobatusers.com/tutorials/...
2
votes
1answer
458 views

Using Selenium in a Web Service

Given that a local copy of the Selenium server and web drivers are required to run an automation test, i.e... junit-4.10.jar selenium-chrome-driver-2.0a4.jar selenium-java-2.53.0-srcs.jar selenium-...
1
vote
1answer
47 views

(Mobile automative testing) what exactly should I test for?

I have been writing some automation test scripts for a mobile application. Thus far my tests are very basic, I am struggling to know exactly what to test. An example of a test I have written: Enter ...
4
votes
2answers
346 views

How do you adapt to changes to product specifications during development?

Problem Changes to product requirements/specifications during the development cycle are inevitable in a professional setting. In particular, I'm constantly dealing with changes to the specification ...
-2
votes
2answers
1k views

Translation of a project from one language to another

If I wanted to turn a Java game into Lua, how could I do it? I'm thinking that you could have a program read the assembly language behind two programming languages, find the patterns, attach them to ...
-2
votes
2answers
246 views

what is the utility to a REST API for SIP trunk's?

Why does Twilio offer: Trunking REST API docs - Provision, configure, and modify SIP Trunks and phone numbers with the REST API. What are the top usages for this API? I appreciate that the process ...
1
vote
1answer
2k views

Best Practices for Automating Word Documents [closed]

I recently started at a company as a Automation Developer. My job is to automate periodic reports (in Word) for all of our customers (~50), one for each. Each report is slightly different, so I am ...
0
votes
3answers
601 views

Automation testing strategy with changing test cases

Say, for example, you have a program that sends a message to a server and that server validates it. Note: The server validation process can have additional test cases due to it being implemented in ...
0
votes
1answer
290 views

Is it feasible to scale UI automation tests for load testing a web application?

We have UI automation test framework based on selenium web driver. We are in the early stages of building out load tests and are wondering if it is possible or recommended to use a browser based UI ...
1
vote
1answer
73 views

Speed up my delivery pipeline

I have a solution with many components with different deploy iter: WebAPI backend (on IIS) AngularJS frontend (on IIS) A process manager (as Windows service) A projection engine (as Windows service) ...
9
votes
1answer
9k views

How to have TFS automatically add certain tasks to new work items?

We use TFS at my workplace to manage our source code and track development. Whenever we have a bug or work to do, we always have to do the following two tasks as a minimum: Test the work, or decide ...
0
votes
2answers
59 views

Is there such a thing as the testing of automation?

I know that it's possible perform automation of testing. That is, take tests that are manual, and make them automatic. However, is there such a thing as the testing of automation? That is, checking ...
4
votes
3answers
710 views

Automatic code correction, Good or Bad? [closed]

We have a large team comprising of developers, interns who write rails and backbone js code with large codebase. We already have tools like JSCS and code climate to analyze the code and report ...
11
votes
3answers
3k views

How to monitor a long-running program programmatically

What I've currently got can be summed up with this pseudo code: public static void Main(string[] args) { var listOfObjects = Database.GetObjectsToUploadToOnlineService(); Parallel.ForEach(...
0
votes
1answer
19k views

How do I actually use Selenium to automate UI testing? [closed]

We have a large inventory system where we work and making changes has the possibility to break things in other areas. This happens a lot, and it is hard to manually test for everything every time ...
3
votes
2answers
131 views

Is it reasonable to have grunt/gulp build phases in javascript dev environment

Nowdays it's goes to be very fancy to have grunt/gulp build phases who concatenate and minify and organize javascript code. And I agree that this is important for production. But as a developer, I ...
-2
votes
1answer
1k views

How to make a mobile application that interacts with a website [closed]

I am looking to make a mobile application (iOS and Android app) that will interact with a website. The app will need to log in with a provided username and password and also get some information from ...
1
vote
1answer
437 views

How to detect subtle changes in a website?

My friend and I were discussing a script for automating a certain task and the solution involved using Selenium to automate the pressing of certain buttons. However when we click the send button of ...
1
vote
2answers
326 views

How to deploy software automatically over SSH?

I am dealing with a distributed application which is going to mange a network of Linux-based servers spread among different places. Having the SSH credentials (as the most supported connection ...
60
votes
12answers
18k views

Is there any logical reason to auto-generate code documentation? [closed]

Automatic documentation generation can be done with a variety of tools, GhostDoc being one of the more prominent. However, by definition, everything it generates is redundant. It takes a look at ...
3
votes
3answers
2k views

How do I test my code in Python other than by doing it by hand?

I am used to user testing in Java, and I also manually test each section of code I write, but now, I want to automate it. There is no GUI for this project, so user testing is not required and I can ...
3
votes
2answers
134 views

What's a good way to make sure that locally serialized data can be deserialized in newer code?

Context: I'm working on an HTML 5 game without persisted state. Every time you refresh the page, you start at the beginning. People are requesting that they can start where they left off if they ...