Questions tagged [automated-testing]

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

Filter by
Sorted by
Tagged with
3
votes
1answer
283 views

Automating verification of sent EMAIL/SMS messages

I have been doing some research about how to do verification automation on sent emails - but haven't really found anything that has worked thus far. Here is what I need to test: We have a customer ...
3
votes
5answers
259 views

How to select option in a dropdown when the html-tag has a random id

I have a problem how to select a desired option (e.g. From, To...etc.) from list if 'datalist id' and 'select name' are randomly generated. This means that the ID and name has another value after ...
1
vote
1answer
33 views

Protractor E2E Test Cases migration from Angular 2+ application to React

If we have E2E test cases written for an Angular2+ application using protactor, if we migrate the Angular2+ application to React, how difficult it will be to migrate those E2E test cases to work ...
4
votes
1answer
234 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
1
vote
1answer
268 views

Add XPath parameter dynamically in Selenium

Is it possible in Selenium to add an XPath parameter dynamically? I have following code: @FindBy(how = How.XPATH, using = "//div[@class='boxes']") public List<WebElement> boxes; String ...
4
votes
4answers
52 views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
0
votes
0answers
15 views

Unit testing a native sql query

The project in question runs on Hibernate 5.4 for persistence, against MySQL when deployed. Unit tests are ran during the Maven build. I'm in the process of doing a feel-faster optimization. As such, ...
5
votes
1answer
891 views

How can I execute a stored procedure on sql server and get the result passing in 4 parameters?

How should I be adding this functionality into my test framework? Should I be using Hibernate or standard JDBC? I need to run a stored procedure which exists in one of my databases, pass in 4 ...
0
votes
1answer
307 views

Login with different Login ID's for native mobile application using JMeter

I know for different parameters I have to use a CSV DatasetConfig and create a .csv file, with the email id and password separated by a comma. For native mobile apps, we are using HTTPS Test Script ...
-1
votes
1answer
28 views

How or which tool can be used for automating Cognos dashboard testing? [closed]

I need to test 4 cognos analytics dashboard. This dashboard has many graphs and charts which can be customized by the user. Dashboards are built using Vertica database and for my manual testing, I am ...
0
votes
1answer
159 views

How to keep a single browser window open during multiple search for a website in the code?

I want to search for different items in a website multiple times and add the item to cart after each search and proceed to checkout after last search. Cucumber opens the new browser for every row in ...
1
vote
1answer
200 views

How to add row elements in selenium?

I want to add today's count. I am new to selenium, and am not getting how to add using selenium. Can anyone suggest a solution? This is my code: package testpk; import org.openqa.selenium.By; ...
0
votes
0answers
79 views
+100

Hardening of test cases in test automation

Details: In a discussion about maintainability of automatic test cases in the area Cucumber + Junit / Unitest the topic "hardening of test cases" came up. You know this topic from your ...
5
votes
2answers
3k views

How to run tests in parallel using Robot Framework Maven plugin?

I'm using the Robot Framework Maven plugin to execute my Robot Framework scripts. I'm using this plugin because some of my keywords are implemented in Java and packaged inside an external library. I ...
1
vote
1answer
28 views

How to implement seleniums LoadableComponent with a fluent API?

How do we implement LoadableComponent when we have a fluent api, lets create a basic set of classes, shown below: public class LoginPage { // @FindBy locators public DashboardPage login(...
0
votes
1answer
89 views

How to do one single script can automate the entire matches in the mlb site

I’m testing baseball reporter software.And its windows based application. I'm using winium tool with java lanuguge for automate the app. It’s a kind of reporter software, while a match going on, the ...
0
votes
2answers
92 views

Testing multiple browser configurations via Selenium WebDriver

When covering cross-browser testing using Selenium WebDriver, how do you provide the browser and version information to the tool (e.g. BrowserStack, Sauce Labs)? For example, you're wanting to execute ...
0
votes
0answers
1k views

Getting NullPointerException for different step definition files with cucumber and selenium

Browser utility: package com.gmsr.utility; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class BrowserUtility { ...
4
votes
3answers
116 views

Is there a way to automate tests to verify events being broadcasted?

Currently I manually verify events being sent and received in the console by opening the dev tools in chrome. The testing is going to scale up and be repetitive soon. Any idea on how I could possibly ...
4
votes
2answers
2k views

How to pass arguments to selenium from autoit script

Autoit has an order value, which I want to pass it to the database as an argument to get table contents of that order id. I tried passing from command-line, but I don't want the arguments to get ...
0
votes
2answers
61 views

How do I click on an element available in a specific row where dynamic row is added?

In the below pic, I need to click on the icon in a row which is newly added and column1 value is stored as global variables. Have used the below code, unable to find a solution. WebElement ...
4
votes
1answer
562 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
-3
votes
0answers
18 views

Where can i find a Good tutorial on using Apache POI library to read/write Excel sheets in Selenium? [closed]

I have many tutorials on the web that explain how to use POI libray to read/write from Excel sheets in Selenium. But most of them are too basic. Is there a course or reference material, which does in ...
4
votes
2answers
512 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where I need to click on the radio button but after many attempts, it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
4
votes
4answers
8k views

How to enter OTP code for verification using Tellurium?

Every time I verify mail through Gmail, it shows a page "Verify It's Your page". How can I be able to enter OTP code for verification as each time I run the test cases I get new OTP code? I ...
4
votes
2answers
2k views

Locate Elements through Shadow DOM in Chrome Selenium?

I currently have an automation tool built using Python. Currently, the tool serves the custom application my company has built on Salesforce. Salesforce released a Winter 2020 version, and implemented ...
4
votes
3answers
2k views

C++ app automation on multiple platforms

Need to automate C++ application testing on Web, Mobile (iOS, Android) and Desktop (Windows, OSX and maybe Linux). Searching for open source tools only and automated tests will be written using Java. ...
4
votes
1answer
562 views

RFT 8.6 : Failed to enable Firefox31.4 ESR and IE11 browser with JRE 1.7 on Windows 7 Professional SP1 ( 64bit)

I am trying to configure RFT 8.6 with the installed browsers but getting errors while doing it, below are the configurations details of my setup followed up with the error I am facing... RFT 8.6 on ...
4
votes
1answer
153 views

Approaches for testing huge data files in text format

My current assignment requires me to test data in a large number of text files ~ 200, usually ranging from 1GB to 20GB. The data is in the same schema with coordinates. As of now, the approach is to ...
4
votes
2answers
981 views

Desktop automation of c# applications

I have a desktop application for which I need to automate the smoke test suite consisting of 30 odd test cases. An application consists of 3 screens with some buttons and data grid. Major work in this ...
8
votes
5answers
10k views

How to test the REST API's effectively ( Complete )?

I want to know apart form verifying status codes ( 200, 400, 500 ) and json what else we can verify to make sure API's work as intended ? PS : I have little Idea about Schema validation as well. If ...
2
votes
1answer
299 views

In QTP 12.51, how to identify dynamical element generated using ajax/jquery form

In my Datatable three rows are present. After clicking on Add button new row is generated and I need to put input values from datatable. Problem: How to identify field of each row dynamically for ...
1
vote
1answer
348 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
18
votes
4answers
3k views

Is it good practice to write unit tests when features are changed frequently?

Should I write the unit test cases for a frequently changing product? For example: I start the project with Phase 1 (say it's 6 months long) and I know there will be a phase 2 (3-4 months or more) ...
-2
votes
0answers
39 views

Brute Force Automation [closed]

How to do the brute force this script for 50 time, anyone can help me? i'm using python selenium from selenium import webdriver #browser exposes an executable file #through Selenium test we need to ...
1
vote
1answer
27 views

testCafe: How to configure the tests in the same spec file, to execute sequentially?

We are using testCafe for automation. when it comes to executing tests in parallel, test cafe even executes test blocks within the spec file, parallelly. Our tests are independent, but there are some ...
0
votes
2answers
2k views

Can we access the value of a member or class variable of a test class in the testListner methods

I have a situation where 'xyz' is member variable of my testClass and I want to print some information in my report using that variable only. So I want to access 'xyz' in my 'onTestFailure' listner ...
0
votes
1answer
17 views

Android/iOS: How to dismiss a popup advertisement while automating an application using Appium & Robot Framework?

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
1
vote
3answers
925 views

Selenium - How to copy entire excel column without using iterator

I'm new to selenium and I'm having following query. Query: Am working on a project where I need to copy 4000 values from an excel in a single go and I need to paste that in the list box of ...
0
votes
1answer
40 views

How should I construct a standard text to test or benchmark a system for automated proofreading?

If I would start out to compare performance of solutions like: Microsoft word LibreOffice Grammarly Where do I start beyond thinking up own test texts? To start with, I have found for example this ...
0
votes
1answer
28 views

How to re-run jest failed test suite [closed]

I want to re-run the whole test suite when any test has status failed. I only found how to re-run the test case but I want to re-run the whole test suite.
1
vote
1answer
1k views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
0
votes
1answer
492 views

Unable to tap on Search on android keyboard using pressKeyCode(int) method

I am a beginner in Appium automation. The application I am testing, have this scenario where I need to tap on Search button from the native keyboard. I have tried with pressKeyCode method but getting ...
2
votes
2answers
3k views

Executing the selenium script through servlets

I have a scenario in which I need to execute the selenium scripts through servlets. I mean I will get the same input from the front end (Web UI) by passing those values to selenium classes then I will ...
0
votes
1answer
142 views

Error - NotImplementedException Was Unhandled

I am trying to subtract the result of 2 variables and I want to echo the result in Selenium. I am using VS2015 as my IDE. //Obtaining pressure For 2100 hours today driver.FindElement(By.XPath(".//*[@...
1
vote
4answers
229 views

facing issue in google Xpath creation using Parent child relationship

My self created Xpath is below driver.get("https://www.google.co.in"); driver.findElement(By.xpath("//div[@class= 'RNNXgb']/div/div[2]/div/input")).sendKeys("Kedarnath review"); after executing the ...
0
votes
1answer
19 views

App Elements not rendering/inspect in IOS using appium and Xcui Automation testing

Currently working in a automation project. Element tag was not rendered. though i check some random element, I'm getting the message of element is not intractable. But in Ipad I can see the input text ...
0
votes
1answer
334 views

Selenium, data driven testing using NUnit and SQL queries.

I am developing a Selenium Test Automation Framework for the purpose of testing multiple websites. I have currently set up the Framework in Visual Studio using C# and implementing the Page Object ...
0
votes
1answer
193 views

How to check webservice response in database using Selenium or UFT

I have an application. Different web services gets called when any action is performed. Let me explaian my scenario: When i update a value in applciation it's also get updated in LPS system. The LPS ...

1
2 3 4 5
65