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.

327 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
298 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
144 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
88 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
616 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
0answers
167 views

Not able to scroll to specific element in Msite - Chrome browser - Appium

I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly. Tried with fixed scroll points as well. Here problem is I have small , ...
0
votes
1answer
402 views

Failed To Launch IE Driver Using Selenium WebDriver?

I am trying to execute the selenium web driver script in IE browser but I got this error? can any one provide the solution. Code : import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie....
0
votes
1answer
95 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
496 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
686 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
3answers
790 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
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
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
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
120 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
6k 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
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
1answer
767 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
3answers
358 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
8k 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
484 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
1answer
233 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
1answer
1k views

How to handle OTP screen in Selenium Webdriver?

How to handle OTP screen which is generated from API in Selenium Webdriver-
0
votes
0answers
878 views

Is there an efficient way to handle datepicker in android app using Appium?

I'm automating an android app using Appium where i have automated a datepicker functionality as shown in virtual device I'm using for. But the issue in different devices/version the datepicker view is ...
0
votes
0answers
100 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
368 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
1answer
409 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
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
4answers
964 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
37 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
0answers
175 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
421 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
128 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
229 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
3k views

Running the Chrome Browser headless using selenium webdriver with Cucumber on Ubuntu

I have a setup that runs on mac fine (currently launches browser and uses chromium), what i need to do now though is get this running on Ubuntu 14.04 (Amazon EC2 instance), and have chrome or chromium ...
0
votes
0answers
76 views

Script is not generated in seetest automation tool

I have installed seetest trial version. I just try to record the script. So I have connected a device with PC and tried for the recording operation which I have performed but problem is that while ...
0
votes
0answers
24 views

Mac + system path : How can we overcome/centralize local system path while working in team?

We are team for 4 members. We are able to execute all automation script on our own machine/computer. When we commit on repository we purposefully do not commit our local path and if anyone commit by ...
0
votes
0answers
72 views

How can I extract a simple folder out of a repository?

I have recorded many items with Ranorex and didn't pay attention to put them into separate repositories. So now, all items are in the same repository. As a preparation step, I have created some ...
0
votes
0answers
504 views

How to trigger the scroll event of a slider reliably?

We have a slider in our C# WinForms application. We update some other information on the UI when the Scroll event occurs. However, when setting the Value property, we only notice the slider changes ...
0
votes
1answer
158 views

How many number of virtual users available with PVU license for load testing with RPT?

I have two questions: I am using RPT(IBM rational performance tester) as standalone application. That is, not along with following offerings: IBM Rational Performance Test Server IBM Rational Test ...
0
votes
2answers
938 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
0answers
2k views

Android + Appium : How to select date/value from datePicker or NumberPicker?

How to handle NumberPicker or DatePicker using Appium? I am not able to select value. If you use Xpath its also not working :( How to select date/value from datePicker or NumberPicker?
0
votes
2answers
1k 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 ...
0
votes
1answer
2k views

Executing QC TestSet via OTA API throws error

I am using the below code to execute tests in test set. But I am facing following error : "RunTestSet.Run->TSScheduler Exception! The remote server machine does not exist or is unavailable ...
0
votes
1answer
572 views

Unable to Locate Elements through Automator Viewer on Login Pop-up Box

I am working on a mobile project, but I got stuck with it, as I cannot Locate any element for this Login pop-up Box through UIAutomator Viewer, the only elements being displayed by the UIAutomator ...
0
votes
1answer
75 views

Why element locators are not suggested in visual studio code for protractor?

I don't get suggestions for "element(by." element locators in visual studio code. Im using protractor. I have changed the settings file also. Settings.js { "editor.quickSuggestions": { "...
0
votes
1answer
64 views

what is the way that POF working VS POM? and why not using POF?

I looked over here where the Selenium author recommended to not use anymore Page Object Factory but to use SOLID instead. What are the reasons to use these and what is recommended to use in terms of ...
0
votes
1answer
88 views

Email content checking

I am doing automation testing. In our web application the employees get daily mail notification. what i need is ,to write test case to check the daily emails. The emails contents are the services that ...