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.

0
votes
0answers
8 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
0answers
10 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
10 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
27 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
21 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
23 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
36 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
18 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
17 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
15 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
53 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
0answers
29 views

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
40 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
24 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
13 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
11 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
32 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
22 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
17 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
36 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 ...
2
votes
1answer
41 views

Dropdown Menus with VBA

I need to select a specific option from a dropdown menu using VBA. How can I do this? https://clinicaltrials.gov/ct2/results?cond=&term=Medpace&cntry=&state=&city=&dist= link to ...
-4
votes
0answers
29 views

Any pointer for Mainframe Automation? [on hold]

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 ...
0
votes
2answers
49 views

how to construct regex pattern of any string if we know type of each character?

I need to construct regex pattern for any string , given we get the type of each character coded in the below format. N- Numericals A- Alphabets S- Special characters. I will be given an string ...
-3
votes
0answers
14 views

How to deploy selenium bot on cloud

I have recently created an Instagram bot keeping in mind all the community guidelines which will make my insta bot hard to track. But in order to do that, I have to keep my PC on 24/7 which I can't. ...
-2
votes
0answers
43 views

Unable to switch window once child window closed automatically [duplicate]

1- Opened webapp >> clicked on a link which opens in new window.Then applied switch window method from another file mentioned in the code. 2- after switch window, added some data and click on button ...
0
votes
1answer
20 views

Jenkins giving error while running selenium project through git repositry: org.apache.maven.surefire.util.SurefireReflectionException [on hold]

I am running selenium project on Linux using git repository from jenkins. and getting below error.it seems like error with srfire as when i was running it manually from maven it was working fine.even ...
2
votes
1answer
48 views

Creating a program to establish connection to PLC through PVI and another program

As the title says I need help writing a program that will connect to PVI and another program(I am not sure if it is possible to establish communication with a program like this that was written by the ...
0
votes
1answer
14 views

Rest Assured: Fail to deserialize json response to its POJO

I have the following returned JSON from Azure login REST call: { "token_type": "Bearer", "expires_in": "3600", "ext_expires_in": "3600", "expires_on": "1560857196", "not_before": "...
-1
votes
1answer
20 views

New records are not being entered using selenium script

I have written a selenium script which is working fine, the script is being used to login in to the web app and then create a record. On executing script I get the message record has been created ...
0
votes
0answers
23 views

sent ping but didn't receive pong within 1000ms in jenkins

when running a jenkins pipeline job, there sometimes a sockettimeout error. "sent ping but didn't receive pong within 1000ms in jenkins", i have checked blog like this, but there is no specific ...
-1
votes
0answers
34 views

Crontab not executing script

I'm trying to display a message on every Logon on my Ubuntu system, the issue is that Crontab neither executes the script nor it shows off any error messages. I've checked the status of crontab ...
-3
votes
0answers
21 views

Framework to read android layout of the open activity on screen

I'm searching for a framework to read the layout ( e.g. xml) of the current open android/ios app. I know that there is Java Appium to read the layout, but I want to use the framework in a mobile app ...
0
votes
1answer
14 views

Pywinauto automation fails when there is no user session

I am working on program automation (program named SEO indexer). I wrote the automation using python's library name pywinauto. Everything works just great when I am running the automation over RDP ...
1
vote
1answer
26 views

Is there a better way to utilize redshift, python, and powershell to automate my report?

I'm automating my current reports and need help getting up and running. I have a PS script that first fixes a csv file and then calls a python script. Within the python script I am importing modules ...
0
votes
1answer
35 views

Press on link inside table with vba on webpage

I figured out how to navigate to the webpage and make it search for my specific input and so fourth. However when i get the list with the result i am not able to make vba click on it. I have tried ...
0
votes
2answers
36 views

Remove all files in s3 bucket but not all directories

So I wrote a nifty script to delete everything in an s3 bucket, which I've shared below. Only issue is this script delete directories too. I have a data ingestion bucket that needs to keep its ...
0
votes
1answer
14 views

How can I apply apply filter to 3 different Colums of a worksheet

I have to apply filter to column J,F and AE of a worksheet, but when I ran the code all the filters are deselecting. Here is my Code: Worksheet("sheet").Range("J:J").AutoFilter _ Field:=1, ...
-1
votes
0answers
15 views

iOS App Automation is possible with iOS Enterprise Account( With Distribution certificate)

I am not able to build my webDriverAgent using my iOS Enterprise account with Distribution certificate not I am able to test my app. But the Same account is working when I am using Developer ...
0
votes
2answers
34 views

What is the correct config settings to automate test in parallel using Protractor?

Here is my settings. Is there a correct setting for angular/non-angular application test in parallel? Sometimes, either my firefox or chrome hangs while the other one is running. Is it the ...
-1
votes
2answers
30 views

how to select data from a array sequentially

I have 3 emails String[] emails = {"[email protected]", "[email protected]", "[email protected]"} I want the code to select [email protected] first, [email protected] second, and [email protected] third, and plug it into this command :...
1
vote
2answers
46 views

Content Description of Alert Dialog buttons

I'm displaying an AlertDialog as follows: private void showAlertDialog(String message){ new AlertDialog.Builder(MainActivity.this) .setMessage(message) .setPositiveButton(android....
0
votes
0answers
26 views

Cannot click on specified element on UI-Windows Tree using G1ANT Robot

I'm trying to use UI addon command-click. After looking for an element in windows tree I decided to use that tool to choose a specific button, which opens in the dialog window on my desktop ...
0
votes
1answer
18 views

using az functionapp start --name MyFunctionApp --resource-group MyResourceGroup in Automation Runbook

We are looking at using az functionapp start --name MyFunctionApp --resource-group MyResourceGroup in Automation Runbook. As part of documentation its clearly stated that Azure CLI commands are ...
-6
votes
0answers
28 views

Want to learn Structure for Automation Project using eclipse [closed]

I want to learn how to make a good structure Project with different class,methods etc
0
votes
1answer
32 views

how to specify appium to one device only

I am automating an android device, my target is to automate everything and keep physical maintenance to a minimum. I have two devices with USB debugging on but, when I turn the appium server on it ...
1
vote
2answers
53 views

Google Drive : Delete FOLDERS older than 1 day

I’m searching some help with AppScript. I want to delete any FOLDERS which are older than 1 day. Here’s my situation I got a main folder that contains folders that contains files > Main Folder &...
-3
votes
0answers
15 views

Automate Wireless Links Checking

I work in an ISP company with many Wireless links from different vendors (Huawei, Mimosa, UBNT, Mikrotik, Bridgewave, Xtron). I need to check the signals and capacities of the links regularly in a ...