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.

328 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
101 views

I am unable to execute selenium code as my browser is quitting by showing null pointer exception

[System] initializing MQSeleniumFW [System] validation Status : false [System initilaizing Logging properties] MQFWToolInstance: 2386190563904 [System Logging properties successfully initilaized] [...
0
votes
0answers
25 views

Jenkins : ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: Unable to find the login form

I am trying to integrate 3rd party build aws for Automation using Jenkins [version - 2.73.3] I observe below error: ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java....
0
votes
1answer
640 views

“org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally” issue on jenkins(openshift) chrome node

I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error: org.openqa.selenium....
0
votes
2answers
49 views

Can't switch control on elements of a chatbot using selenium in python

I am trying to send a message as input to chatbot to check the response but when I am trying to send a message to a chatbot, I need to click on the input box where one can enter a message. But it is ...
0
votes
0answers
23 views

Selenium execution in server

I was trying some Selenium execution in Ubuntu VDI (VMWare desktop). When I run through Maven, it executed the scripts with no issues. But it is failing when I integrated with Jenkins. I've received "...
0
votes
0answers
45 views

Not able to Click on the Drop down and wait for element also fail for drop down ID in IFrame with JavaScript

I am unable to click on this drop down. I tried select drop down also and javascript click also normal click also.& wait for this element become also fail. Please provide the solution for the same....
0
votes
2answers
40 views

How to locate a link using page object model after mouse over

When I hover over login text there are list of links, i need to select Infostore using Page Object model approach. I am new to Selenium could any one help. I have the outer HTML for you: <div ...
0
votes
4answers
1k views

Selenium Java :- [1553593587.996][SEVERE]: Timed out receiving message from renderer: 10.000 [1553593587.997][WARNING]: screenshot failed, retrying

I am using Selenium 3.14.0 with Java to automate my tests. Until yesterday(25Mar 2018) , everything was up and running fine.In case of any failures , screenshots were taken and embedded successfully. ...
0
votes
2answers
49 views

How to add row elements in selenium webdriver using java?

I have written code like this package testpk; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java....
0
votes
1answer
52 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 ...
0
votes
0answers
116 views

Explicit Wait doesn't work, but Fluent Wait works Ok

I need to have following test: open page (js loader is presented) select box delete box When I do test without waiters: driver.get("http://example.com"); mediaPage.selectBox("My"); mediaPage....
0
votes
1answer
84 views
0
votes
0answers
25 views

Vulnerability scanner with different scan profiles

As part of our development, we also want to test vulnerabilities for our Scrum teams in addition to load testing our websites. This should be planned in accordance with the sprint planning, found ...
0
votes
0answers
72 views

Best testing tool for Firebase

I need a tool to write an automate test for Firebase, which is Google analytics tool, currently, I am using Selenium with Java, we are planning to have also server running on JVM. My question is about ...
0
votes
2answers
114 views

How Does Test Planning Differ for Manual and Automation Projects?

I am now into automation projects. So can anyone help how the test plan will differ from manual and automation projects.?
0
votes
0answers
32 views

How to handle Application “Crash” when Run Test Suite.(Android)

on Running Test Suite(with 20-30 test cases) on Emulator time application crashed after run 6-7 test cases,its working when we execute on physical device.but we have to work with emulator,we are using ...
0
votes
1answer
65 views

Managing manual regression test suite with Test automation suite

We are maintaining our test cases in testlink. For a given sprint we write functional test cases for features and regression suite update accordingly. Now we are in the process of starting automation. ...
0
votes
2answers
43 views

How to close java application after uploading file

I have a test to upload one file and then upload another file. When first file is uploaded, java application is opened: Steps to upload file: - click on upload button - using robot and keyPress, ...
0
votes
0answers
32 views

How can I handle popup which appears on grid in background using Selenium?

There is one delete button, on clicking the delete button it shows a grid having the message "Please wait...", then on that grid, one pop-up appears "Do you want to delete?" I want to switch to that ...
0
votes
1answer
571 views

calling TIS/TSM in non-main thread environment

macOS 10.14.3 Chrome 72.0.3626.96 Chromedriver 2.46 While trying to execute following code I receive an error: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa....
0
votes
0answers
23 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
0
votes
0answers
44 views

Looping to open links in new tabs

I want to iteratively click each item in a structure of links and open each link in a new tab. I also want to get and print the title of each tab. package basics; import java.util.Iterator; import ...
0
votes
2answers
48 views

How to find an new element recently added on webpage dynamically after drag and drop in selenium?

Currently I am working on a webpage which has rappid js components. I am trying to achieve dragging and dropping of elements from the palette as seen in the screenshot to the grid. The element I drag ...
0
votes
1answer
33 views

How to get content of clickable element. Facing issue to read content after clicking an element

I have tried below code: if(webElement2.isDisplayed()) { webElement.explicitWaitToClickElement(4,webElement); webElement2.click(); } String tagContent = (String) ((...
0
votes
2answers
69 views

Find when iframe is closed in selenium

I am writing tests on a third party system, that utilizes iframes. I have been going through my code and eliminating places where I have been using waits/sleep for 2-5 seconds, and looking more for ...
0
votes
0answers
536 views

Running Selenium and Headless Chrome on AWS Lambda using Python

I need to do a Proof of Concept of whether I can run Headless Chrome on AWS or not and I tried to implement the solution from the below link: Running Selenium and Headless Chrome on AWS Lambda ...
0
votes
1answer
39 views

How to get total number of tests ran based off of CSV data file?

I inherited two dozen or so java tests and when the suite is ran, everything is printed whether passing or failing. I would like to only print failures/failure logs and get a total count of tests that ...
0
votes
0answers
37 views

Unable to click an icon in react-native app using detox

This is the element prop section in the app file <Header> <Left> <Icon onPress={() => this.openDrawer()} ...
0
votes
0answers
27 views

What is the suitable automation testing tool for CRM Dynamics (365)

I am a little biased towards Selenium webdriver (with C#) when it comes to automation testing of a website. This is first time I am going to write automation test for a CRM Dynamics based web ...
0
votes
1answer
510 views

How to pass data from XML file in Selenium?

How to pass data from XML file into application and I'm using page object model with page factory. Code: public class LoginPage extends BaseClass { @FindBy(id="EmailAddress") WebElement ...
0
votes
1answer
511 views

Error showing “Include a platformName” capability

I recently started to learn Appium with Javascript. When executing my script, I am getting an error stating "Include a platformName". I don't understand why, even though I have included it (...
0
votes
1answer
34 views

How do you store test data into nosql document database for quick read?

I am currently migrating our currently test data that is stored in excel files to a database. Because the type of data in the test results are going to grow we decided to go with nosql instead of sql. ...
0
votes
2answers
152 views

How to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException. ...
0
votes
1answer
57 views

Need help with XML Testing. 2

In our project, related to Big Data. On daily basis we receive 20 to 30 xml files and using hive/pig scripts the XML are loaded to database. The files are placed outside Hadoop environment. ...
0
votes
3answers
176 views

Sharing static class variables data between two Selenium classes c#

I have two Selenium C# test case classes, ClassA and ClassB. I would like to reuse a static variable VarA, defined in another static non-test ClassC. After ClassA has made a change to the variable, I ...
0
votes
1answer
50 views

I need to verify a dynamic table record, if they match with data then PASS else Fail the test case using Assert

Page Object Class public class Transactions { WebDriver driver; boolean result1; public Transactions(WebDriver driver) { //super(); this.driver = driver; } public void ...
0
votes
1answer
33 views

calculate the total of liabilities and check it is matching with the given value

I want to calculate the total liabilities amount from webtable and need to compare with the total amount which is present on webpage. I got the following error : Illegal/unsupported escape sequence ...
0
votes
1answer
72 views

How to write the XPath for this

I am trying to write the XPath for the below element but unable to do. I want to write for the Individual. I wrote like this //h3[contains(text(),'Individual')] <h3 class="dashboradh"> ...
0
votes
1answer
35 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
186 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
0answers
28 views

Measuring flakiness of TestRail pipelines and tests

A pipeline in TestRail is flaky if its status has changed from green to red frequently across last X builds. Similarly, a test in TestRail is flaky if its status has changed from green to read ...
0
votes
2answers
86 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format(namely XML in my case). Below is an example of the payload <...
0
votes
2answers
61 views

Need Some Help in implementing a logic for automating a web element using Selenium

Here is the html I am working on, the concept is to loop through the table and fetch all the td values. And based on the first td value, fetch the second td with tag strong inside the td tag e.g: I ...
0
votes
1answer
49 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 ...
0
votes
0answers
36 views

Jenkins Server url-Unable to perform Google oauth authentication

I am running selenium scripts from Jenkins server configured at [http://****.****.com:8080/]. The script reads data from google spreadsheet and execute the testcases. For which I used google oauth for ...
0
votes
2answers
2k views

How to wait for JavaScript scroll action to finish in selenium?

I've come across an interesting problem while automating our web application using selenium webdriver. I'm waiting for page load and all the ajax call to finish but the application use JavaScript ...
0
votes
1answer
283 views

Clicking flipping image in selenium webdriver using C#

New to this platform I'm a beginner learning selenium webdriver with c# but I have a problem clicking on a flipping image, I identify the id but it won't click on it. I was told to use wait which ...
0
votes
1answer
138 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 ...
0
votes
1answer
81 views

How can I solve OutOfRangeException on using Selenium C#

I was faced with the below problem while trying to run a data driving testing and have tried to resolve it but nothing seem to be working for me. Please could you take a look at my code and tell me ...
0
votes
3answers
556 views

Unable to switch into third window - Selenium

I'm using below code to switch into windows : Set<String> handle=driver.getWindowHandles(); System.out.println(handle); Iterator<String> it=handle.iterator(); String ...