Questions tagged [automation]

Automation is the process of having a computer do a repetitive task or a task that requires great precision or multiple steps, without requiring human intervention.

1
vote
0answers
12 views

Using Java, how can I implement an UI cucumber scenario that gives entry data to the Webdriver while maintaing ability to run locally and remotely?

I have a .properties file that gives input data for instantiating the WebDriver inside the ServiceHooks class. How can I change this logic to use a cucumber .feature file to drive the parameters that ...
0
votes
0answers
9 views

How can I make a document that run always in my server?

I am developing a notice-screen, but I need to create a program that is able to check if it is working or not, and if it is updated or not, so if it doesn't work it send me a mail that we need to ...
0
votes
0answers
13 views

python script to play back terminal commands

I would like to use a program (python or something else) that will display a terminal and a sequence of commands on that terminal as if I was actually typing in the commands. This is for a tutorial....
0
votes
0answers
8 views

How can I run JS-code automatically in the google chrome console (and it should stay after navigation)?

I'm trying to make my own Supreme Bot with JavaScript. I have the seperate Files (pick the item, put item into cart, checkout) but i don't know how to automatically run the code in the google chrome ...
0
votes
1answer
27 views

i need to make a batch file run every few seconds. How do i do it?

im on Windows 10. I want my script to run every few seconds or, if even possible, every second. I need it so i can get Every Picture on my FTP Server as soon as possible without any delay I have ...
0
votes
0answers
27 views

How to automatically change functions in a M-file that have been removed/changed between two releases of Matlab?

I’m seeking help with automation of a process. In short, I have a list of Matlab codes/applications (30 of them in total) written in the 2011a and 2018b. This means over 100 000 files with .m or .p ...
0
votes
0answers
4 views

dynamic credential allocation in aa client 11.3.2

I need to use credential for log in to a system in AA for a bot that may run on different machines with a technical user for the system associated to each machine/bot. Lets say the system is ...
0
votes
1answer
29 views

Search for all the if conditions in a python file and adding a print statement in the next line

I have to edit a python file such that after every if condition, i need to add a line which says if condition_check: if self.debug == 1: print "COVERAGE CONDITION #8.3 True (condition_check)" ...
0
votes
0answers
14 views

How to set runs on TestNG to exclude similar test group names

I am using java and testNG. I have multiple tests running by groups and they are running fine BUT when I have group names with similar string like SearchTests and GeneralSearchTests, tests for the ...
0
votes
1answer
23 views

How do I run a python code on a cloud service to automate it's run for 5 days

I am working on a web scraping project using python and an API I want the python script to be ran everyday for 5 days for 12 hours as a job I don't want to keep my system alive to either do it in CMD ...
-3
votes
0answers
10 views

How to build an automated document signing app with python 3 and selenium [on hold]

Trying to figure out how to use selenium and python3 to read a document or document image that needs to be signed from an email attachment or text and automate taking that information and filling out ...
0
votes
0answers
11 views

Aborted click in Selenide

I write some automation code in Selenide for practice. I have following problem: i don't know whats going on, but sometimes on method clickFillExpertsApplication Selenide clicks on localized button, ...
0
votes
0answers
14 views

Problem with Mailchimp “Recurring Dates” automation when the value of the merge field it is based on changes

I have a Mailchimp list whose contacts are members in an organization. One of the merge fields is the renewal date of the member's membership (memberships are yearly). I'm trying to setup a "...
0
votes
1answer
28 views

Infinite loop on a supreme bot

I have a problem with some code, I got a function with a loop scanning all in the source code and redirect to the right link but the redirect is not stopping i really don't know why. function ...
-3
votes
0answers
11 views

Automation of third party API in Selenium [on hold]

I have a scenario that I want to automate using Selenium and manual steps are as follows: 1) Open Facebook page to write a post. 2) Submit the post. 3) Open postman in my system and hit the api to ...
0
votes
0answers
11 views

Getting Error while installing botium-cli in ubuntu

I want to install botium-cli in ubuntu. but getting access denied error. Have tried with below command sudo npm install -g botium-cli [email protected] preinstall /usr/lib/node_modules/...
-1
votes
0answers
11 views

Performance and Architectural comparison of nodejs and chrome extention

I have to perform a task on web sites checkout page, one way is to create a chrome-extension, user will install it and at checkout page extension will work and send the data to our server , other way ...
0
votes
0answers
25 views

Selenium Null pointer using Threadlocal and Extent Report

I am trying to use extent report with thread local so I can run in parallel. Running my classes in parallel. Trying to execute the test in parallel, the problem is I am making some mistake in ...
0
votes
0answers
37 views

Python as scripting language in own C# application [on hold]

I have a C# application for image processing. Now I want to offer some kind of scripting editor and language within my application to control the application itself (some kind of automation) and the ...
0
votes
0answers
13 views

Use python to connect to Java GUI read and control the Interface

Hi I'm fairly new to this but I thought I would try and ask if there is a way for python3.7 to read information from a java based UI. I want to control center buttons, read values and configure ...
1
vote
0answers
24 views

Automate apt-get install php7.2-tidy without prompting user [on hold]

Is there someone able to explain why this command: sudo apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install php7.2-tidy prompt me while all ...
1
vote
1answer
23 views

Copying data from Excel workbook to another workbook, specific rows and columns need to be selected

I have been able to open up the workbook and save it, but I can't seem to copy and paste specific rows and columns. I would like to be able to use this for multiple sheets and append the data to data ...
0
votes
0answers
13 views

Creation of a PPT automatically is not working on Windows server when scheduled in Task Scheduler

I am facing a problem in the creation of a PPT file automatically when the user is not logged in by task scheduler. I have written the code in python which will create a PPT file and in turn will send ...
0
votes
0answers
14 views

DevOps last mile: fully automating containers launch and configuration

In the context of our small development organisation, we are trying to automate as much as possible the deployment / updating of several services. Those services are mainly in Docker containers (and a ...
-1
votes
0answers
12 views

Downloading a file failing when done with automation

Download error. We have a program that uses protractor to screen scrape and download files from website. But now it is showing download error. It is implemented with protractor and navigation works ...
0
votes
1answer
14 views

How to run e2e tests automatically?

I really don't know how to ask question to Google about this, so I excuse me that it is naive. Our team is developing SPA application in ReactJS. We also do back-end programming for NodeJS. Our ...
0
votes
0answers
27 views

How to find the element text which are not visible on screen using pywinauto

I have a grid with horizontal and vertical scrolling and I want to print the complete data of this grid but I am unable to get as it is not visible onscreen. Finding elements via scrolling doesn't ...
-1
votes
1answer
25 views

Extracting data from SAS data set based on values with different length

I am looking to automate a process which has a sales dataset and a specific column named SALES CODE which is of 5 letters. Based on the input given by the user I would like to filter the data but the ...
0
votes
0answers
15 views

TestNG - no tests were found

I have a problem with my code. I want to test some elements on a website but after run the tests, TestNG throws the error: "No tests were found". I have already tried to create a new testng.xml but ...
-1
votes
0answers
12 views

How to add .crt and .key file using java code for one of the service automation

I have to automate Services. To hit this service one security certificate(.crt file) and one Key file has to be added as mandate. What is the procedure for this as I am not able to add both the file ...
0
votes
1answer
34 views

Executing page scripts before retrieving it's contents

I've a page where i need to automate some tasks and scrap some data, but the page runs some JS after loading to inject some data into the DOM; that i cannot intercept (not in a good format anyway), I ...
0
votes
1answer
22 views

How to view the address of the POST request made when an HTML button is clicked?

I am creating a project involving web scraping and web automation. I would like to first submit this form (http://rgsntl.rgs.cuhk.edu.hk/rws_prd_applx2/Public/tt_dsp_timetable.aspx) then once you ...
0
votes
1answer
25 views

how to use expectedExceptionsMessageRegExp inside test method

I would like to use assert exception type and message in testng @test , where my requirement is to pass the expected message from outside data source which looks not easy to passing as parameter with @...
0
votes
1answer
38 views

Install software from a list using Powershell

I am building a script to automate computer build and configuration: The idea is that from WDS it comes as clean as possible, automatically runs this script which will check the serial number, query ...
0
votes
1answer
19 views

How to configure Junit in Jenkins with Maven

I have a maven project with many Junit tests. It's actually a regression test repository. So now I want to build a Jenkins job to run the regression test automatically when building instead of ...
0
votes
1answer
19 views

Excel: sum only the values which have certain tag

Im selling products to different countries in the world and Im using an excel table to document how many items I sold at a day and to which country the products will ship. I made an example of that ...
0
votes
0answers
17 views

Python Automation for Adobe AIR app - Can't find working library for that

I am trying to automate a program named - Market Samurai. It's using Adobe AIR - as I am not sure how adobe air works I don't understand how to automate it. From what I found in google, Adobe air is a ...
0
votes
0answers
20 views

How to build automation like salesmanago or getresponse

I want to build simple version with automation. I need automation process based on events and conditions something like: when something triger some action wait some time or ask condition what to do ...
0
votes
0answers
6 views

Pi is sending automated keystrokes. Any way to send notification on Mac from this Pi keyboard?

I am using raspberry Pi for sending keystrokes. In other words, pi is emulating keystrokes and now I want to send a notification from Pi to the notification center of the macOS.
0
votes
4answers
62 views

Validate element is selected; Cannot find unique element

I cannot find the unique element for me to validate if this element is selected. Need help. see attached image for the elements possible. var attr = findElement(By.xpath("//theme-item[@class='...
0
votes
1answer
49 views
+50

My Protractor Script Error - Object Expected

Im learning the automation testing for angularjs application but im encounter object expected error on line 4 which point to first line of my script. describe("Homepage", function() { it("...
2
votes
2answers
43 views

Why is UI testing at the top of the test pyramid?

I've been asked by an interviewer the following questions about the diagram below: Why should less effort be required for UI testing? Is the test pyramid meant for programmers or testers? Thanks ...
0
votes
0answers
26 views

How can I detect a successful login on a separate application?

I am making a automation script on python to read a dump of accounts from a .txt file and trying each of them onto the application. The script works so far but after a log in is successful the program ...
0
votes
1answer
15 views

Using code to automatically click a mouse

I'm working with a Bloomberg data sheet and I need to export this sheet into Excel. The only way of doing so is through clicking the "export" button in the Bloomberg window. Is there any way to use ...
1
vote
0answers
12 views

Android SDK player automation

I am automation the android SDK player. My Video player is Android SDK player not HTML5 or Flash. How can we perform the below scenarios on Android SDK player. Subtitle detection inside the video ...
0
votes
0answers
33 views

How do I fill out a textbox generated by the chrome browser itself?

I cannot figured out how to fill out a form that is generated by the chrome browser itself, since I cannot inspect any elements of the form I do not know what value to pass into "find_element_by_name"....
0
votes
2answers
23 views

Excel VBA Internet Explorer Onclick to click drop down menu

I am attempting to click a drop down type menu in Internet Explorer using Excel VBA code. Here is the HTML code: <div class="treeNodeStyle" id="trMenu_14" nowrap="" style="visibility: visible;"&...
0
votes
0answers
18 views

Finding and processing newly inserted data in postgresql without primary keys

I have a large database table (80+GB) and I need to detect newly entered data, daily, and then process it and determine if it meets quality standards. This table has no primary key or timestamp column,...
0
votes
0answers
37 views

How to write a bash script to set up working environment?

I want to write a bash automation script to set up my working environment. Like every day I need to open 7 tabs of the terminal with each service running different command and I also open eclipse and ...
-4
votes
0answers
33 views

Any pointer for Mainframe Automation? [closed]

I want to automate mainframe using selenium. I am unable to do so. My requirement is that the script should be able to run some specified set of jobs. But I am unable to think how to do so as I have ...