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
0
votes
1answer
271 views

Selenium 2.53.1 now working with latest Firefox versions?

My organization is stuck on Selenium 2.53.1, and we test using compatible Firefox 46.0.1. I recently accidentally ran a test with Windows 10, Selenium 2.53.1 and Firefox 61.0.2, and the test ran fine....
0
votes
1answer
234 views

TestNG + Appium + Java : [TestNGClassFinder] Warning: Can't link and determine methods of class

Question: How to fix : [TestNGClassFinder] Warning: Can't link and determine methods. More info: My Automation is getting failed suddenly. I know it was working well before & even yesterday. ...
0
votes
1answer
98 views

Unable to get text of an element

I have selenium Test case to validate contents of 2 web pages. The issue, I am facing is I'm not able to get anything from element.getText(). I'm using below code. driver1.get("https://some url"); ...
0
votes
1answer
591 views

Selenium with C# “Element is no longer valid” exception being thrown when repeating steps

I am repeatedly getting a very annoying problem when automating my test cases using Selenium/C# in Visual Studio. This test is designed around validating search criteria text. In order for me to test ...
0
votes
1answer
255 views

Dynamic Tests using TestNG selnium arrays

What is the best approach of the follwoing scenario. I have to run a number of tests which take in dynamic data. The first set of values are pretty standard but then one is dynamic and can be any ...
0
votes
1answer
775 views

How to get the Indexes of all columns In a Single Row using Selenium WebDriver and C#?

For single web element in that row i got index..for multiple column in a single row how to get the index: IWebElement colelement = driver.FindElement(By.XPath("//div[@id='grdBooking']//table//tr/ th[...
0
votes
1answer
2k views

how to drag and drop two elements in the same table ( selenium java)

Both functions works great on its own. But when I put them together. After I drag and drop the first element, I can't drag and drop the same element in the empty table. import java.util....
0
votes
3answers
915 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
1answer
69 views

Can I keep the Groovy power assert and still have a custom message printed?

I use Katalon Studio for my test automation. It comes with an in-built script editor (Groovy). So, I can use Groovy's power assert that gives me a nice and detailed output message when the assert ...
0
votes
1answer
82 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
1answer
2k views

How to open the app using appium?

I am new to appium, i configured appium with selenium it is working fine I am able to open the browser in my device and able to edit and do all the commands. But unable to open specified app, i gave ...
0
votes
0answers
41 views

How to start with service virtualization ?

I have to create one POC on service virtualization. Can someone have idea about best site/blog where i can start and some open source tool which help me create a demo?
0
votes
1answer
123 views

How to scroll to the particular unique URL using selenium?

public class Test1 { public static void main(String[] args) { // Storing Url in the String variable String url = "Target URL "; // Launch driver.get(url); /...
0
votes
4answers
7k views

selenium.NoSuchElementException: Unable to locate element: #passwordNext

Error: Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext For documentation on this error, please visit: http://seleniumhq.org/exceptions/...
0
votes
2answers
4k 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
429 views

How to retrieve dynamically all Web elements information from UI Screen using selenium?

Need to retrieve all elements information present in the UI screen. For more clarification i have attached the generic screen From above image i need to retrieve label-name ...
0
votes
1answer
51 views

PhoneGap Android App Automation with Appium

I am using JUnit to make automation test , the context is changed to hybrid App , after tests I`m making output excel file with the result. I am new to the automation and found a way if something is ...
0
votes
1answer
173 views

How to retrieve all elements text value present in the screen using selenium?

List<String> allLinks = driver.findElements(By.tagName("span")); System.out.println("Links count is: "+allLinks.size()); for(WebElement link : allLinks) System.out.println(link.getText()); ...
0
votes
1answer
169 views

Selenium Web Page Navigation Bloating Test Case

I am fairly new to automation and am trying to form the basic structure for my company moving forward. I have done some research and am trying to implement POM but am a bit confused over structure and ...
0
votes
1answer
941 views

How to setup Jmeter as server and send messages to Client over TCP

Am trying to setup Jmeter as server and send messages from Jmeter to a client TCP connection. But unfortunately, Options in TCP Sampler of Jmeter make it a client.
0
votes
1answer
166 views

Selenium pytest vs nunit

I'from background of automated testing with tools like Testcomplete, QTP, JMeter and soupUI. Recently there was a need automation of web-application for institute I work. I started with Selenium-...
0
votes
3answers
399 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(...
0
votes
2answers
9k 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
3answers
528 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
997 views

Help in locating an image button inside div element

So I am trying to automate a test and my issue is that I cannot point to the button element which is actually an image inside of a div. I tried going down the hierarchy but no luck. this is the code I ...
0
votes
1answer
3k views

c# webdriver - Trying to validate the data in all cells in a certain row in a dynamic data table

I'm new to the site and to WebDriver. I am trying to work with a dynamic data table - HTML below <div id="enquiry-header-grid-SalesTransactionEnquiry-enquiry-header-grid-wrapper" class="enquiry-...
0
votes
1answer
250 views

Executing appium test on kobiton device

I'm running some of my Appium test cases which are written in c# under .net platform on a real time device which is attached to my workstation. Below is my code and it works fine. public void ...
0
votes
3answers
763 views

How to select Country dropdown in Amazon site? [duplicate]

I am learning selenium web driver and practicing Amazon site. I found a difficulty to automate the country selection in Amazon site. Kindly help me what locators methods to be used to select the ...
0
votes
1answer
2k views

How to handle OTP screen in Selenium Webdriver?

How to handle OTP screen which is generated from API in Selenium Webdriver-
0
votes
1answer
497 views

How to access the TestRail API behind basic authentication plus form based authentication?

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based ...
0
votes
0answers
101 views

CircleCi : We couldn't detect the settings for your project! Please make sure you have a configuration file in place

I have added my project but after my very first run I observed error : We couldn't detect the settings for your project! Please make sure you have a configuration file in place Additional Info: ...
0
votes
2answers
392 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
115 views

Is there any other way to test websites on different operating systems instead of setting up a new OS machine [duplicate]

I have my website, I need to check browser compatibility of my website across all browser and OS combinations. Sp Is there any other way to test websites on different operating systems instead of ...
0
votes
1answer
31 views

Looking for a way to identify tests to deprecate/remove based on code changes [duplicate]

How do companies do this typically? Is there any metadata linkage between test cases and code components covered?
0
votes
1answer
430 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 ...
0
votes
1answer
58 views

Print command does not work in webdriver

I have a scenario where it is needed to verify the text that is manually input ina a text box of a sub window by storing and then printing it. But nothing happens and eclipse just shows as running. (I ...
0
votes
0answers
45 views

Are emulators good enough for testing websites on mobile browsers? [closed]

I have made a website. I visited the same website on different mobile browsers and getting some UI error and a button is not working correctly. How can I test my website to get over from this problem??...
0
votes
0answers
1k views

Compare images on HTML5 canvas using Selenium WebDriver in Java

I'm a beginner in Test Automation and I'm working on a web application like MS Paint and I'm facing a problem. Here is the test scenario: I will drag an element from the toolbar on the HTML5 canvas ...
0
votes
0answers
44 views

Advice For Creating POM Test Framework [closed]

I am developing a framework for the popular e-commerce trading website platform (Amazon) – from scratch. I will be starting a new automation testing role, and, I need to get more practice before I ...
0
votes
4answers
1k views

Sikuli IDE or Eclipse/JAVA for windows based application?

I am trying to prepare a POC using Sikuli. Can any one suggest me what is the best approach to use Sikuli for a windows based application ? Should I use Java with Eclipse or the Sikuli IDE itself?
0
votes
0answers
38 views

Visual Errors Training Data

I'm currently trying to automate the testing of the visual appearance of a web application. I'm using a combination of openCV and tesseract OCR to find text intersection with Element borders with ...
0
votes
2answers
147 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
903 views

How to locate below element TableHeader using xpath [duplicate]

I want to locate element 'TableHeader' in given DOM, I am using XPath but getting an exception unable to locate the element. Xpath : //div[@class='PageContent']/table[1]/tbody/tr/td[2] Please have a ...
0
votes
1answer
87 views

Selenium Java: Checkbox in MikroTik

WebDriver driver = new HtmlUnitDriver(); driver.get("http://192.168.*.*/webfig/#Wireless.Interfaces.6"); driver.findElements(By.cssSelector("#content > table.list > tbody:nth-child(41) > tr ...
0
votes
0answers
179 views

NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. I am getting this error while I try to run the project using webdriver. Using the ...
0
votes
3answers
2k views

Zephyr vs Test Rail vs QTest

My workplace needs to move away from manual excel spreadsheets. The solution we choose must meet these conditions: support automated tests suitable for small testing team cost effective can integrate ...
0
votes
1answer
431 views

Automation testing for check-point image on map using sikuli(Java)

I am doing Automation Testing for the map. On the map, there are number of check-points or way-points (image.png) are present. I want to compare two images, one is saved in the folder and another is ...
0
votes
1answer
135 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(".//*[@...
0
votes
1answer
245 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 ...
0
votes
1answer
31 views

How to assign javascript variable to last character of a string

Hello I am trying to implement automated test scripts using NewRelic. I am engineering javascript such that I print the last character of a field on the page that is always 8 characters. I have this:...