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.
21,271
questions
0
votes
0
answers
14
views
Why my csv file comes blank when I use this python code? can not get data from indeed
I'm going to scrape job site the I have face some problem like when I scrape data from indeed website and save it to csv file. My csv file comes blank can some one correct me? whole code is below....
...
0
votes
0
answers
5
views
InstaPy stops after liking single image with KeyError graphql
This is the error I get:
INFO [2022-05-21 23:56:49] [<username>] --> Image...
INFO [2022-05-21 23:56:50] [<username>] --> Image liked!
Traceback (most recent call last):
File &...
0
votes
1
answer
29
views
How to insert a set of text to a particular line number of a file using Python
I am trying to write a python program that can input a set of text in dictionary format and also a line number. I need to add this set of text to a specific line number of a .yaml file.
I have a ...
0
votes
0
answers
9
views
How to stop puppeteer overwriting each screenshot
I wrote a simple script to take a screenshot each day but when I run tests instead of saving 2 different screenshots it overwrites the previous screenshot with a new screenshot. How do I stop this?
My ...
-1
votes
0
answers
15
views
Different origin href URL
trying to click a link that sends me to another domain
and cypress errors.
even though I already change domain once in the test using visit()
now that I'm doing it using an href it gives an error of ...
0
votes
0
answers
27
views
Playwright: Download via Print to PDF?
I'm seeking to scrape a web page using Playwright.
I load the page, and click the download button with Playwright successfully. This brings up a print dialog box with a printer selected.
I would like ...
-1
votes
0
answers
9
views
Turn rows of .cvs into .docx
I have a spreadsheet with 1 written article per row, each cell containing sections of the article. Is there a way to iterate over each row, append each value in each row to its own .docx and have 1 ...
1
vote
1
answer
22
views
Selenium select options in multiselect
I have a https://demos.telerik.com/aspnet-mvc/multiselect, and I tried to select options, so as documentation says, I did this:
Dim selectElement As IWebElement = driver.FindElement(By.Id("...
0
votes
1
answer
15
views
Powershell: Multiple subfolders named the same. Want all tied to Path variable
Is there a simple way of taking multiple subfolders under the same root and assigning it to a single variable?
My folder structure looks like the following
C:\Unsigned Items\City A\Jeff\Signed
C:\...
0
votes
0
answers
26
views
Wait for a program to finish installing before running the next line. CMD Batch file
I'm trying to automate an installation process.
I have been using start /wait to wait for the installations to complete before moving to the next.
The issue I have is the setup.exe opens another ...
0
votes
0
answers
6
views
Ansible install chocolatey Failed
I want to use Ansible to install chocolatey into a Windows 10 VM. I use Centos8 as Master. I manage to copy files, install .exe files from master repo, but when I use the following playbook I got an ...
0
votes
0
answers
24
views
How to get a labels value in Selenium Chrome Driver using C#
I am making a bot that list all the given assembled letters to make the players connect or build a word around that given value of assembled letters, im very new to selenium and still grasping the ...
0
votes
0
answers
6
views
is there any automation process for storing the file automatically into the database from the different web application
for storing the file automatically into the database from the different web application
without clicking the download link it should be downloaded automatically....
I have already tried to automate ...
0
votes
0
answers
16
views
Cypress| link to a different domain
I'm clicking a link inside an iFrame and the link is to another domain
cypress prints an error and say that the window is an unauthorized frame
this is the code I'm using to click the link
it('iframe',...
-2
votes
0
answers
14
views
Simulating a Motor with PLCs in Atumation studio
enter image description hereI'm trying to design a simple program to simulate the start and stop process of a motor using AB PLC using Automation studio p6 but I keep getting an error about the ...
0
votes
1
answer
13
views
How to rename the description of the jobs in Jenkins using python or Jenkins-python API
I am trying to update the description and name of the jobs in Jenkins using python . So how can it be done .
0
votes
0
answers
9
views
How to automate an Ionic form on an website?
There's this website with a form that I fill out every day with the same information is it possible to automate this? Using the dom I have found out they are using the Ionic framework and I have ...
0
votes
0
answers
10
views
Cypress | Access a link nested inside a table inside an iframe
I have a link I'm trying to access which is inside a table that is inside an iframe
its tricky to access and even after I manage that I need to make it open on the same tab
so far everything I've ...
-2
votes
0
answers
12
views
How can I make the apple "Shortcuts" to get everyday ABC or NBC news YouTube url link?
I really need some advice for making my Shortcuts on my iPad!!
Shortcuts picture
To get the "Top News | NBC News Play all" link
As the pictures show, I need to make the apple "Shortcuts&...
-2
votes
0
answers
19
views
Automating Keystrokes to copy text from PDF [closed]
I am trying to figure out how to automate the copying of all the text in a PDF on a windows computer.
In the past, I have simply done it manually by opening the PDF and keystroke CTRL+A. However if ...
0
votes
0
answers
20
views
automate elastic enterprise with ansible playbook
I would really like someone's help on this platform to help me with this.
Task:
I want to deploy with ansible playbooks elastic search deployment template, instead of creating it manually in the ...
0
votes
1
answer
10
views
Automatic reply in Viber/WhatsApp chat without bots
It is possible to implement automatic reply to messages when somebody has sending message to user? I am already implemented that for Telegram but cant find any solution for Viber and Whatsapp.
0
votes
0
answers
27
views
SQL Export to excel file
Okay, So i've been working on setting up a script to export some data into an excel file.
So far everythings working, I'm using an ssis package in a batch script calling dtexec and when I run the ...
0
votes
0
answers
15
views
Red bus test cases
1.Write Test cases for the Scenario - On an ecommerce site, A logged in Customer can place order for more than 10 or more items with free shipping free. For less than 10 items purchased, customer is ...
0
votes
0
answers
22
views
"Exists" keyword with false positive result - Robot Framework with Sikuli
The "Exists" keywords is it assertive?
I added this keyword in my test (the objective is failed test, because i put a different image of the displayed screen), but the status is passed!
...
0
votes
0
answers
17
views
I got an error while using cy.origin() and trying to execute any command on the new context
I've been trying to use cy.origin() to access a new origin in the same test, and I'm being able to! However once inside I'm getting this error. Also I do have the Cypress.on('uncaught:exception') ...
0
votes
0
answers
6
views
From where can i downlaod UIA Verify
Need to do desktop automation using UIA ,hence need a link to download the exe from.
The resource provided at this page is not working https://docs.microsoft.com/en-us/windows/win32/winauto/ui-...
0
votes
0
answers
24
views
Programmatically toggle MS Edge device emulation from developer options
Is there a way to programmatically toggle the device emulation from MS Edge's developer options. I'm currently using selenium and so far I am able to get MS edge to open with dev options by passing ...
1
vote
0
answers
23
views
How to change System Language with Powershell
I have a PowerShell script that intends to change the System Locale on a Windows 10 Machine, but it doesn't really change that much, it just "downloads" the language but doesn't set it to ...
0
votes
1
answer
18
views
Can't open a link at the same tab using Cypress
I'm trying to open a link in the same tab using cypress
I tired using
cy.get('a').eq(0).invoke('removeAttr', 'target').click()
but it didn't work. after checking the HTML file I saw that there is no
...
0
votes
0
answers
25
views
Active Batch - Using variable inside a SQL active variable
I am trying to set up automation for a process in which I want to use SQL variables. There is no problem with this part of it as long as I use this script, I can run the jobs in one environment.
...
0
votes
0
answers
12
views
How to upload a Webdriver IO project (JavaScript) to a cloud service
I am trying to find a way to run Webdriver IO automation tests (JavaScript) on a cloud service, so that I can upload the code there and trigger it by 1 API request.
I see alternative 2 approaches to ...
0
votes
0
answers
4
views
Integration and automatic download
how can i download a file automatically from a website to store that file into database
strong text
<a href="./directory/yourfile.pdf" download="newfilename">Download the pdf</a>
...
0
votes
2
answers
31
views
click on href without id or class cypress
I'm trying to click an href element using cypress I've wondered if I can access it by its content ex:
<a href=example.com>CONTENT</a>
but I couldn't find anything online.
I've tried using ...
0
votes
1
answer
11
views
How to take runtime input in selenium while automation testing?
I'm trying to take data from user at run time while automating a Webapplication. I have searched a lot but I couldn't find anything. I have tried this method. (code mentioned below)
Scanner ...
0
votes
0
answers
4
views
Tools to automatically record manual test scripts in English
The most time consuming task in the Testing Life cycle is writing Manual Test scripts. Are there any tools which will record / write the test scripts (in English) while the Tester navigates through ...
0
votes
1
answer
33
views
How to scroll down properly in selenium C#
I have used actions class to scroll down but when it scrolls down click code is not working:
driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
Actions actions = new ...
-4
votes
0
answers
16
views
In linux server need to get CPU and Memory information to Excel sheet everyday [closed]
In Linux server need to get CPU and Memory information to Excel sheet everyday and data will be appended one date after another date
0
votes
1
answer
27
views
Issue assigning phone number to new user MS Teams Powershell : Set-CsPhoneNumberAssignment
I am writing a script to automate the creation of resource accounts in MS Teams using PowerShell and by retrieving infos from Excel file.
After creating resource accounts and assigning licenses, i am ...
0
votes
0
answers
9
views
I want to insert member in google groups using Admindirectory.members.insert, but i am getting "Resource Not Found: groupKey"
I have created a google form, if anyone has the link and he fills it, then he will automatically added in a google group. for this I have used Admindirectory.members.insert. No success till now.
Is ...
0
votes
1
answer
15
views
Cypress + Cucumber - Cypress automatically reloads page for each It in Describe
Hi I have strange problem. There is dialog window for which I've added data-cy attribute.
I have scenarios in cucumber like:
Scenario: Users open dialog window
When user click open dialog button
...
-1
votes
0
answers
11
views
Create .docx from rows in .csv or .xlsx
I have a spreadsheet in which each row contains paragraphs for an article.
E.g. column 1: article title, column 2: headline, column 3: opening paragraph, etc.
I want to create word docs out of each ...
1
vote
1
answer
15
views
Automatizing GitHub workflow that involves 3rd party repo
I have a GitHub repo myRepo that scans the contents of another repo theirRepo and converts them to JSON files. The details aren't really that important, just so much that myRepo uses nodeJS and holds ...
0
votes
0
answers
21
views
Can we login into tiktok using selenium? How to avoid "Too many attempts. Try again" error message
I am getting this error when using selenium to login into ticktok account.
enter image description here
0
votes
0
answers
10
views
Is there a way to automate screenshots of multiple components of a word document?
Not sure where to target this question, so any answers or wacky solutions welcome.
I have a collection of Microsoft word documents, each with two repeating styles of questions contained within. See ...
0
votes
1
answer
31
views
How do I start and stop several IIS Applicationpools at once with a PowerShell script
I would like to create a PowerShell script that can Start and Stop several IIS Applicationpools at once.
I already found a similar article about this: How to start and stop application pool in IIS ...
0
votes
0
answers
6
views
Cypress SSO - cannot install dependencies to run
I am having an issue with cypress SSO.
So I tried to download dependencies by running npm install
I got the following Error (see below).
I'm honestly super confused right as I'm 100% certain I ran ...
0
votes
0
answers
12
views
Implement Zabbix Mainternance for MongoDB Backup
The solution I found was with the code below, but just for the configuration a maintenance window for now (for example).
But this solution does not serve to configure maintenance windows for certain ...
1
vote
0
answers
24
views
Crontab not working, but works manually for python call
That's my first ask on StackOverflow, wow !
I have to build a program for a project about network, for my last studying year in France.
The project itself is (almost) written in Java, except for a ...
0
votes
0
answers
22
views
Click button unresponsive
So recently I started learning cypress, and I started automating this e-commerce website called flipkart.
So firstly I have started by testing the add to cart option.
describe('flipkart', () => {
...