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.
121 questions
3
votes
2
answers
124
views
Multi processing or multi threading for pywinauto?
I am trying to automate an old GUI tool which requires filling in some data from a CSV and selecting appropriate tree item values based on it. I need to do this in multiple instances of the ...
7
votes
3
answers
388
views
How to test the parts of an application that cannot run in a test harness
I'm working on a program that runs as a sort of plugin to the Windows UAC prompt (and other similarly difficult environments). The testing situation is a bit abysmal. End-to-end tests are not possible,...
1
vote
1
answer
231
views
How to deal with outdated PowerShell and Azure PS in Azure Automation?
Azure Automation is a service for running scripts in the cloud, intended for the automation of administration tasks. While using it, I came across strangely outdated technologies being used under the ...
-1
votes
1
answer
128
views
How can I simplify deploying game server on hosting
I'm an online game developer.
I've written my game server using c++ on visual studio on windows 10 OS.
My hosting machine is run on CentOS 8.
Every time I make a change on server, I transfer all the ...
-2
votes
2
answers
193
views
Monitor newly released code without real traffic
As new code is released to production, without enough direct access to production execution environments I rely only on user traffic for monitoring. However not all use cases get covered via user ...
1
vote
2
answers
383
views
How best to securely store a password for automated access (no user interaction)?
I'm facing the classic chicken/egg problem of where to store the keys to the kingdom.
I'm building an application for retail distribution that will rely on receiving a cadence of regularly-issued Let'...
2
votes
2
answers
182
views
When writing automated tests for a website relying heavily on a template language, how do I gain confidence while maintaining fast feedback?
I'm working on a website that, for all intents and purposes, functions as a Choose Your Own Adventure book rendered as a single page app (SPA). Starting at the left, this is the user experience:
Each ...
0
votes
3
answers
241
views
Separation of Concerns between test automation engineer and manual QA engineer? [closed]
I've been working as a test automation engineer for almost two years now. As expected, most of my job involves ensuring that the automation (primarily written in Python) is operational and reliable. ...
2
votes
4
answers
4k
views
How do you deploy and test a hotfix repo branch in different environments, Git Flow variants
I have done thru where do bug fixes go in git flow and the git flow and github flow pages.
There are scenarios many times when we need to show demo of new functionality and on same day fix issues of ...
-4
votes
2
answers
238
views
Does Jenkins essentially function like a package manager for your software product?
I'm a relatively new IT Ops guy in a software (web) development company. Recently I deployed a virtual machine on OpenStack, because some developer needs it, and then I installed their application (...
0
votes
0
answers
152
views
Sole software engineer for a small company. How to handle deployment?
I'm the only software engineer for a small company and I want to make my deployment process more robust because I can't work away from my dedicated workstation with my current process. I only make ...
-1
votes
1
answer
388
views
Best way to keep development and testing in synch
We have 1 frontend developer and 2 backend developers and 1 QA. QA is responsible for writing the end-to-end tests using Cypress. FE developer writes the unit tests. Backend developers write the unit ...
-3
votes
3
answers
614
views
How do you test that an API wasn't broken by a change?
I have an infrastructure package that multiple projects depend upon. This package is supposed to be a stable API shared by those projects.
I want to know if a change made in the package has broken ...
-1
votes
1
answer
2k
views
To lint on the client, or the server?
I am debating two strategies for setting up a linter for my team's github repository. Is strategy #1 standard practice, or not?
#1 - Set up a pre-commit hook that runs the linter
#2 - My team will ...
7
votes
2
answers
479
views
The "real and effective" GIT CI/CD strategy
I've started in this new company a few weeks ago, this is the CTO CI strategy:
Current: Developer team has the repo prod/master and they merge everything into master (no branching strategy).
Once the ...
2
votes
4
answers
287
views
What is needed to safely enable non-technical users to trigger automatic deployments?
The Background
I have a friend (no, really!). This friend works in the layer between IT and end users. Something like a business analyst or consultant. This friend does not have a technical or IT ...
1
vote
2
answers
107
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
0
answers
113
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
0
answers
293
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
3
answers
186
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
2
answers
65
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
1
answer
352
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
0
answers
179
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 ...
-2
votes
2
answers
6k
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
2
answers
841
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 ...
3
votes
1
answer
972
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
4
answers
594
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
0
answers
161
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
1
answer
754
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
2
answers
95
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
1
answer
255
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
3
answers
3k
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
4
answers
263
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
1
answer
184
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
1
answer
674
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
3
answers
1k
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
1
answer
66
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
1
answer
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
1
answer
944
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
2
answers
1k
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
4
answers
4k
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 ...
70
votes
13
answers
17k
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
1
answer
99
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
2
answers
251
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
1
answer
767
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
1
answer
550
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
1
answer
62
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
2
answers
1k
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
2
answers
2k
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
2
answers
338
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 ...