Stack Exchange Network

Stack Exchange network consists of 175 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.

4
votes
3answers
156 views

Is it really possible to be a Full-Stack QA & if yes then list the technical skills required?

Everyone needs an all-rounder whether it is a software developer or Tester these days. Hence we are hearing the term “Full Stack QA” these days so my question is what skill-set makes a Full Stack QA &...
4
votes
3answers
278 views

Can code coverage be used for Java tests that work against a Python code base?

Development stack is in Python (flask) and our automation suite(API) is coded in Java. Can we do code coverage and if Yes, which plugin to use?
3
votes
3answers
2k views

How to test electron app using selenium

In order to test an electron application. How does one use selenium to identify its elements or using F12 dev tools? As in order to write a selenium script one would have to identify the elements ...
3
votes
3answers
1k 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. ...
2
votes
3answers
202 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. Application consists of 3 screens with some buttons and data grid. Major work in this is ...
2
votes
3answers
100 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 ...
2
votes
3answers
971 views

How to get Selenium 3.0.1 to work on a Mac with IntelliJ

I am using a Mac as well as IntelliJ. I am trying to update Selenium from 2.53 as the website I am testing has functions that no longer work with older versions of Firefox (version 46). I am trying to ...
2
votes
3answers
692 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 ...
1
vote
3answers
85 views

Drag & Drop issue in selenium web driver

Drag and Drop not working..as my drag and drop area not having 'Frames' i didn't use switchTo() here. Actions action= new Actions(driver); //driver.switchTo().frame(0); WebElement drag=...
1
vote
3answers
871 views

Type mismatch: cannot convert from FirefoxDriver to WebDriver

package newpackages1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Myclass { public static void main(String[] args) throws ...
1
vote
3answers
491 views

While clicking control should go to the new window

When clicked on a button, a new window opened but I am unable to perform any operation on this window. How do I get selenium to use the new window? code: System.setProperty("webdriver.gecko....
0
votes
3answers
436 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 ...
0
votes
3answers
330 views

Getting error : NoSuchElementException - Unable to locate element with ID attribute

I am running this code: from selenium import webdriver from `selenium.webdriver.firefox.options` import Options Setup: options = Options() options.add_argument("--headless") def get_results(...
3
votes
2answers
2k views

Getting Unknown error While Using latest Verison of Selenium With Microsoft Edge Browser

My Code to launch Browser: System.setProperty("webdriver.edge.driver", "C:\\selenium-drivers\\MicrosoftWebDriver.exe"); DesiredCapabilities capabilities = new DesiredCapabilities("MicrosoftEdge", "", ...
3
votes
2answers
425 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
3
votes
2answers
530 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 ...
2
votes
2answers
387 views

QTP stops recording actions after Security Window dialog closes

I am recording user scenario using QTP 11.0. So I have set up URL to open in IE 11 in Record and Run Settings. After starting record Security Windows dialog pops up over IE window: I fill in all the ...
1
vote
2answers
81 views

Using Fluent Wait When Finding List WebElements

I have a fluent wait class that works pretty well for locating my page elements, however, when I am locating elements for lists I don't appear to be using the same wait. I currently need to add ...
1
vote
2answers
298 views

How to drag an element and drop it in another frame?

Hope you doing well, I'm trying to dragAndDrop an element from FrameOne to FrameTwo but not able to do so.Please help me to understand the concept and what I'm doing wrong here and need to achieve ...
1
vote
2answers
89 views

Python Selenium unable to login by clicking on Button inside a form

website:https://www.etoro.com/login <button automation-id="login-sts-btn-sign-in" ng-click="loginCtrl.login(loginForm)" class="e-btn-big wide dark pointer">Sign in</button> I am trying ...
1
vote
2answers
1k views

How to resolve NoSuchElementException in Selenium with java?

CODE: driver.findElement(By.name("USER")).sendKeys("XYZ"); driver.findElement(By.name("PASSWORD")).sendKeys("abc"); I have tried various ways not just name but by xpath, css selectors but every time ...
1
vote
2answers
115 views

How to Clear a Non-Visible Textbox

On my page there is an editor that a user can type code into. It is not a normal textarea or input field. To send test to the field I use the following and it works: Actions actions = new Actions(...
1
vote
2answers
88 views

Cannot locate elements on this page. Firebug comes empty with status as loading. How to automate it ? (I wish to click OK)

I want to automate this page and click Ok Button, but the page is not displaying in HTML in Firebug and status is coming as "Waiting for ..." In such cases how to automate the click without elements ?...
1
vote
2answers
491 views

Is there any open source tool to automate oracle POS Xstore Application?

I am looking for a tool to automate Oracle XStore Application, Suitable tool to automate Oracle Xstore POS system. Application: oracle Xstore OS: windows
0
votes
2answers
51 views

How to get XPath for the text after the <b> tags

I Need to get XPath for the following, to get the text after the <b> tags <li class="SpacedOut"> <b>Name 6:</b> "ABC" <b>Name 1:</b> "BCD" <b>Name ...
0
votes
2answers
34 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
2answers
39 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
2answers
46 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
2answers
35 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
2answers
42 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
2answers
50 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
2answers
130 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
2answers
121 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
2answers
85 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
59 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
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
2answers
652 views

Selenium IDE type not saving text

I am trying to create an automation tool to test a salesforce platform. When I try to create a new form, the text is displayed but it's really just an injection from Javascript. Is there any way to ...
0
votes
2answers
674 views

how to automate KendoUI dropdown with selenium webdriver and C#

Cannot make it work, need help , I don't know how to automate KendoUI dropdown with Selenium using C#, Sendkeys doesn't work for KendoUI here is my HTML <div style="background-color: #e6e6e6; ...
0
votes
2answers
1k views

Is it possible to call one custom keyword function from another Custom keywords from katalon Automation Tool?

I am trying to call method from one custom keywords to another Custom keywords functions But I am getting below error, 05-30-2018 02:59:02 PM - [START] - Start action : ...
0
votes
2answers
3k views

How do I implement Extent Reports in my rest assured api testing framework?

I have recently started rest assured to automate apis. My current framework folder structure has an ApiTestCases class in a folder under src/test/java I have a testNG suite xml to run the tests. How ...
0
votes
2answers
6k views

Clicking a cell in a dynamic data table C# WebDriver

The HTML I'm trying working with is below, <div id="enquiry-header-grid-SalesTransactionEnquiry-enquiry-header-grid-wrapper" class="enquiry-kendo-grid-wrapper k-grid k-widget" data-role="grid" ...
0
votes
2answers
407 views

Selenium Java WebDriver Can not Find Element with xpath

I've a question, how can I capture the xpath in the case below? I tried this: driver.findElement(By.xpath("//*[@id='L2_auto_8']/div/a[1]")); and I tried: driver.findElement(By.xpath(//a[@href='/...
0
votes
2answers
113 views

Comparing data from from a webservice response with data that is in the database

I am automating testing web services in robot framework RIDE and I am getting the response I am expecting and saving the response to variables. So I would like advice on how to go about comparing the ...
0
votes
2answers
323 views

How to maximize browser window irrespective of windows versions

I have some scripts which are running on Firefox browser. Here the problem was I am using driver.manage().window().maximize(); code to maximize the browser. It is perfectly working fine with Windows 7 ...
0
votes
2answers
140 views

I am automating coop website and I'm facing problem while customizing XPath for add to cart button

I have customized an XPath for adding a product which has discount 30% for 2. Now I am facing problem while adding this into the cart. package sample; import java.util.ArrayList; import java.util....
0
votes
2answers
840 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
2answers
907 views

Selenium WebDriver statement is skipping after ajax call

Selenium WebDriver statement is skipping after ajax call for example if we use hotmail signup and want to check whether email is available or not I input the text and on lost focus hotmail return a ...
-1
votes
2answers
100 views

I was unable to locate element for login id?

ERROR MESSAGE: INFO: Detected dialect: OSS Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"id","selector":"usr"} (...
-1
votes
2answers
176 views

How to pause test execution in testng

I am using testNG, Rest-Assured and Java for API automation. Is there any way to pause the execution for a specific time if any event/exception occurred?
-1
votes
2answers
75 views

I am getting Error in Excel Dataconfig how can i resolve this error?

Here is my Code:au package Mypackage; import java.util.concurrent.TimeUnit; import org.openqa.selenium.support.ui.Select; import org.testng.annotations.AfterMethod; import org.testng.annotations....