Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
20 views

I need to select check box from item search pop up grid

I need to select check box from item search pop up grid. please find the screenshot below.
-1
votes
2answers
24 views

How to find a total number of cell in a webtable or excel sheet in selenium java [on hold]

I had 4*4 webtable and I want to count how many cell are there in a table
-2
votes
2answers
32 views

How do I find this WebElement by xpath?

I need to find the following WebElement using an xPath. <input type="hidden" name="hiddensearch" value="110909" id="searchhidden"> The Value is changing dynamically, e.g. 109899 111910 ...
0
votes
2answers
29 views

The xpath for clicking edit button is not working in Selenium Java

HTML Code: <button onclick="root.handleOnClick( document, this );" id="Edit_edit::0" title="Edit" name="Edit_edit::0" class="navbar-btn btn btn-default btn-sm cs-btn" type="button">Edit</...
0
votes
0answers
33 views

How can I upload a file to dropbox using selenium (Java)?

I am trying to upload a file to dropbox (www.dropbox.com) using sendkeys() but my code is just finding and highlighting the "File Upload" web element on webpage but not clicking it and uploading the ...
0
votes
0answers
11 views

Karma closes the browser unexpectedly

Hi I am using Karma + mocha to write unit testcases for uicomponents like select, combobox etc... I am facing a problem where I have about 211 testcases but Karma closes the browser unexpectedly ...
0
votes
1answer
27 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
35 views

Before entering entire text completely, Selenium is saving data

There is a form having only two field name and Code. Code validation criteria is minimum 2 and max six character. As soon as you enter 2 character save button become enable. Now, problem is when ...
0
votes
1answer
36 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
30 views

Why selenium webdriver JAVA cannot locate button in SFDC?

HTML in SFDC: <a href="#" style="text-decoration:none;" onclick="if(typeof jsfcljs == 'function'){jsfcljs(document.getElementById('j_id0:j_id1'),'j_id0:j_id1:j_id3:j_id4:j_id5,j_id0:j_id1:j_id3:...
0
votes
0answers
17 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 ...
1
vote
1answer
56 views

How to compare string value with integer in Selenium [closed]

I'm getting the text as string and i need to compare it with a number, If its grater than that number then execute an if statement and if not then else. I'm using following code : string sato = ...
0
votes
0answers
23 views

Cannot Get Selenium to select a dropdown menu (PYTHON)

I swear iv'e tried everything so, I'm finally directly asking for some help on this. So basically I am trying to select the 5 value (May) I am able to click on the box to open the dropdown menu but, I ...
0
votes
0answers
16 views

Running specific tests using gradle over multiple browsers

I'm using Geb/Spock for automated testing. I'm using Gradle as my build tool. I'd like to call different gradle tasks to build and run a specific spec(test) or a suite of specs. I dont know enough ...
0
votes
1answer
38 views

How do I pass payload to API test?

I'm creating an API testing framework, and to avoid having a test class containing 1000's of lines of code I'm looking at creating separate classes which will hold the xml data, which I'll then call ...
0
votes
1answer
36 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
1answer
21 views

XML Payload gives 'The ' ' character, hexadecimal value 0x20, cannot be included in a name.' error

I'm attempting to create a test framework in c# to automate some of our API tests. Relatively new to this area so have come across an issue I can't solve. My XML payload is as below: <Order> ...
0
votes
0answers
15 views

Creating a Request Payload in RestSharp using XML

I'm currently looking at building a test framework in c# utilising Restsharp. The payload I'm trying to create is outlined below <Order> <BillingAddress> <AddressLine1></...
0
votes
1answer
31 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
44 views

what tools are used to run automation testing on office desktop apps (or any Desktop apps)

I am looking to run some test scripts on Desktop applications (such as office apps, webex, teams, etc.) to test for functionality after Monthly windows patches. Does anyone have experience with ...
1
vote
1answer
29 views

How can I bypass the mixed content error

I am getting the below error when I was trying to approve a document in a webpage Mixed Content: The page at \'https://example.com\' was loaded over HTTPS, but requested an insecure resource \'http://...
1
vote
0answers
43 views

Exception in thread “main” org.openqa.selenium.WebDriverException: Value cannot be null. Help needed

When trying to invoke winium driver for my file upload from local into web, it's showing below error, Exception in thread "main" org.openqa.selenium.WebDriverException: Value cannot be null. Further ...
0
votes
2answers
53 views

Unable to locate Text element using XPath in Selenium

This is my HTML page and I have some problem with my automation code and it is not able to locate the element and this is the XPath I used: @FindBy(xpath="//div[contains(text(),'Done')]") HTML Code: ...
0
votes
1answer
45 views

How to check if the output value is 4 or not?

Following code isn't working. Please help. WebElement output=driver.findElement(By.id("XLEW_1_3_1")); System.out.print (output.getText()); if (output.getText()=="4") ...
0
votes
0answers
31 views

File not found exception is received when generating ExtentReport with Selenium WebDriver

When I tried to generate ExtentReport with version 3.1.3 getting below error. My code is: using AventStack.ExtentReports; using AventStack.ExtentReports.Reporter; using NUnit.Framework; using ...
2
votes
2answers
85 views

What is the best approach to the REST APIs automation?

I have been working on REST API test automation in JAVA and have many approaches in my mind but not able to decide which one is better. Here are few approaches that I can think of- Very Simple and ...
0
votes
2answers
29 views

Cucumber > Saving State up to a Step

I am using Cucumber through IntelliJ and am working on fixing a broken test. I was wondering when debugging, is there a way to save the state of the system up to a certain step in the feature file, if ...
0
votes
1answer
38 views

Unable to click a delete icon represented in my cart

Here is my HTMLCode: <span onclick="cart_delete('0')"> <i class="fa fa-trash-o" aria-hidden="true"></i> </span> I tried with below code: driver.findElement(By.xpath("//span[...
4
votes
5answers
114 views

Test automation role: challenges beyond automated tests and frameworks?

Before asking the actual question, let me describe the current situation. The IT department consists of a few Scrum-like teams, with one or two software testers per team. Furthermore there are two ...
2
votes
1answer
33 views

Archiving reports

Is there a best practice approach to archiving old reports? I am using Katalon Studio for test automation. The reports are written to disc. But, after a while, after many test suites are executed, ...
3
votes
1answer
55 views

Headless browser testing

I have a question around headless browser testing which I am looking to utilise in my automation framework, which is written in c#. Headless browser testing is not an area I'm familiar with but I'm ...
2
votes
4answers
65 views

How to fetch the text values from the dd tag using selenium

I am automating one Project in my organization and came across one issue. I am very new to automation and selenium. Issue that i am facing: not able to capture the text inside the dd tag in the html ...
0
votes
0answers
29 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
19 views

Selenium/C#/Visual Studio- Need to find a way to interact with an external app to grab data

I have a unique problem for which I can find little help. I have automated a web app but I am having a huge problem with respect to the data required for the test to run daily. The test includes a ...
6
votes
4answers
220 views

How would we know when we are over-testing?

I've recently heard the idea of over-testing for the first time while listening to the interview of the coverage.py maintainer on the Talk Python to Me podcast show. coverage.py has a new feature to ...
1
vote
4answers
76 views

I can use click() function why but not sendKeys() in my code

I`m a novice on selenium testing, and I am trying to login to my instagram but I cant send keys to username but I can click on it. Code: WebDriver driver; public void invokeBrowser() { try { ...
0
votes
2answers
41 views

How to get a Password reset link from Email by Java API in Selenium Webdriver?

I am trying to get password reset link which is sent to email System.out.println("Email Number " + (i + 1)); System.out.println("Subject: " + message.getSubject()); System.out.println("From: " + ...
2
votes
1answer
30 views

Passing parameters between tests with RestSharp

As I'm getting more familiar with the RestSharp client library for my API testing I'm confortable with using it for single API response checks e.g. checking a status code is correct, or that the ...
1
vote
1answer
37 views

Getting nosuchElement Exception for a web element even though I tried all possible solutions

I am using Selenium with Cucumber to automate one web application, But I am stuck at one element which is not working out with the XPaths and link text I also applied the implicit and Explicit wait, ...
0
votes
0answers
21 views

Is it possible to test a particular part of code in Selenium TestNG based on the result of the @BeforeTest results?

I'm using testNG for my testing, I have created 4 test functions for different seniors like create profile, login etc.., Some time my home page is showing 505 error. So, during that time I don't want ...
1
vote
2answers
37 views

Web Driver throws nullpointer exception while trying to find Element in my application

public class Loginpage { public WebDriver driver; By uname = By.xpath("//*[@id='UserName']"); By nextbutton = By.id("btnNext"); By passw = By.id("Password"); By signinbtn = By.id("...
0
votes
0answers
12 views

Text extraction from Gmail using Silk visual Test and Silk4NET

I am using Silk Test V 18.5, Chrome V 69.0 Visual Test - Please help me to extract/copy the temporary password from an email (Gmail) and use the temp password in another tab to login. The text is as ...
1
vote
1answer
32 views

General Purpose Testing Framework written in Golang

By general purpose testing framework it means something like a PyTest. PyTest is written in Python but the framework can be used as a general framework tool to test different kinds of systems those ...
1
vote
1answer
35 views

How to test API contracts when there is a dependency on data from an outside source

I'm after some advice regarding a project I am currently working on. There is a front-end, similar to what Amazon is like in that sales are fed through the site(there is no API for doing this). ...
1
vote
1answer
40 views

How to use class and text attribute together in CSS selector in selenium

I'm working on this site. There is a Next button. I want to click it using CSS selector only. I'm using below code to get the element: driver.findElement(By.cssSelector("span.RveJvd.snByac")) span....
1
vote
0answers
27 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: 1) what does this actually mean in laymans terms? 2) who would generally execute ...
0
votes
0answers
137 views

Chrome runs in headless mode for the first time and crashed on running the selenium script in Jenkins(Linux Server) from 2nd build

I have done the following configurations, Xvfb display - 99 Google Chrome - 69 chromedriver - 2.42 added the line of code in selenium script - chromeoptions.Addarguments("--headless") source code ...
1
vote
4answers
69 views

Katalon or Java+Junit+Cucumber to automate tests?

We are starting to automate web tests, but we don't know what is the best way to do, what is the best option to start and why? And what is the best-easy to use for automate Mobile IOS and Android?
4
votes
1answer
52 views

Assistance with a DELETE request in Postman

I'm attempting to create some API tests to assist with getting familiar with API automation and I'm using the really helpful Restful-Booker API for this. The API documentation is also here. However I’...
1
vote
1answer
80 views

How to perform QA when dev provided no deliverables? [duplicate]

The development team will release new epic after 30 days, today is day 1 and they did not provide any deliverables. What should a QA Engineer do to assure high quality?