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.

2
votes
1answer
53 views

How to test Oracle DB?

I have to test using SQL in Oracle if the data stored in the DB is completely correct or not. For example, make sure we are up to date, no future dates, no invalid characters on varchar columns, etc. ...
2
votes
1answer
104 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where i need to click on the radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
2
votes
1answer
303 views

Appium Desktop won't open for Ionic App

I am currently trying to automate an ionic app using Appium and Python. I have the Appium Desktop version 1.7.2 installed. However, if I try opening any ionic app using Appium Desktop, it hangs at ...
2
votes
1answer
77 views

How to test high dpi UI of desktop applications?

We want to make sure that our desktop applications run fine at 150% and 200% dpi scaling (a Windows setting). Currently, we change the setting manually and run the application to check everything ...
2
votes
1answer
383 views

How to test a WCF service with JMeter when the WCF method accepts parameter as an Stream Object

There is a WCF service. The method i have to access has 1 parameter as input whoes type is Stream. I don't know how to provide stream object from JMeter to the WCF service. Currently i have written ...
2
votes
1answer
226 views

Getting issue while automating SOAP service using Karate framework

I am a bit stuck while automating SOAP service . I have below url and request xml : Background: url Scenario: soap 1.1 request """ When soap action '********' Then status 200 After running ...
2
votes
1answer
487 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
2
votes
1answer
164 views

Unable to open an .xlsx file with script in Selenium WebDriver- Getting InvalidFormatException

I have a script that requires an excel spreadsheet to be downloaded from a website and opened- ending in an assertion that a certain value exists or not on the spreadsheet. Getting the following ...
2
votes
1answer
246 views

Successful test from OpenScript fails in Test Managger with “Find Object Timeout” error (Oracle)

I am trying to execute in Oracle's Test Manager, an automatic test which I created in Oracle's OpenScript. My script in OpenScript is executed successfully as you can see below: When I execute the ...
2
votes
1answer
1k views

Unable to open the specified URL on a real device while running Selenium tests using ios-driver

I am trying to automate mobile web testing using ios-driver on an iPhone 6 plus (real device). The Safari browser opens but the specified URL (google.com in this case) is not opened (i.e. only "about:...
2
votes
1answer
5k views

Using Protractor Cucumber JS: When running a test, the test passes when it shouldn't

I'm writing a test where I should log in. It passed given the proper inputs but when I change its password/username to garbage, it still passes. I'm new to this and I really think I missed something ...
1
vote
1answer
58 views

How to split a variable in Selenium IDE?

I am quite new to Selenium IDE. I want to split an error message and extract the first word of the error message. I have used the following commands as in the image. Following are the results of the ...
1
vote
1answer
31 views

Getting Error at the time of saving the test cases in Katalon Studio

Getting the below error when I save my test cases after recording. Can someone help me to understand and how to correct this
1
vote
1answer
26 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
1
vote
1answer
60 views

How to add row elements in selenium?

I want to add today's count. I am new to selenium, and am not getting how to add using selenium. Can anyone suggest a solution? This is my code: package testpk; import org.openqa.selenium.By; ...
1
vote
1answer
49 views

Data ingestion testing

In one of my project that I am working on, data source is a file and the data in file has to be copied in Impala (Hadoop). Development work is already done and I need to figure out a testing strategy ...
1
vote
1answer
40 views

How to test for and protect against bugs in large games where data is an integral part of the source code?

Very large games on the scale of a Runescape or a World of Warcraft often are frequently updated. In some of these updates, a small but significant change might accidentally be made and not detected ...
1
vote
1answer
66 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
1
vote
1answer
97 views

click getting to lower item(under dropdown) instead of dropdown in selenium

I m trying to click on the dropdown menu item and i am able to select the dropdown and the menu item but instead of clicking on item the click is going to the element right under it. Before the ...
1
vote
1answer
55 views

Selenium's execution time increases if a web element is absent on a web page

I have a table on my web page I am trying to automation that contains x number of rows (tr)s and under each (tr), there are a varying number of (td)s. In my flow, I have to check for the existence of ...
1
vote
1answer
115 views

xpath with anchor tag and sibbling text

Need to get xpath for the following. It is not accpeting with anchor tag as I have several anchor tags with same random auto generated ID. The only difference I can pull with is text. How do I get ...
1
vote
1answer
176 views

How to structure data driven Protractor/JS tests in page object model?

I am using protractor/js for automating end to end tests for our website. We have a test data set that we have saved in different JS files and we use this data while executing test cases. We are ...
1
vote
1answer
34 views

Unresolved reference: enableAssertions

working assertions example using standard Java SE with no imports: thufir@dur:~/jshell$ thufir@dur:~/jshell$ javac App.java thufir@dur:~/jshell$ thufir@dur:~/jshell$ java -ea App Exception in ...
1
vote
1answer
141 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
1
vote
1answer
473 views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
1
vote
1answer
23 views

How to implement seleniums LoadableComponent with a fluent API?

How do we implement LoadableComponent when we have a fluent api, lets create a basic set of classes, shown below: public class LoginPage { // @FindBy locators public DashboardPage login(...
1
vote
1answer
1k views

Cypress if-then-else, while and foreach

In the context of my master’s thesis, I have been working on web application testing. My original goal was to have some form of automation on UI testing, such that easy end-to-end testing was possible....
1
vote
1answer
545 views

Running GUI-based tests via AWS Lambda

I recently came across "UI Testing at Scale with AWS Lambda" and I find this quite interesting. If I have understood correctly, they are running test suites in headless Chrome within a Lambda function....
1
vote
1answer
487 views

Exception generated after exporting code as runnable jar

D:\RhythmFileDownload>java -jar fileDownload.jar Starting ChromeDriver 2.28.455520 (cc17746adff54984afff480136733114c6b port 36946 Only local connections are allowed. Apr 03, 2017 6:14:23 PM ...
1
vote
1answer
468 views

Can't open chrome web browser on android

I'm getting the error below when I try to open default chrome web browser on my mobile phone using Appium and c#. It opens chrome for few seconds and it get dispersed, So I can't perform my test ...
1
vote
1answer
417 views

Setting appium to run test on iOS device

Please help me for my setting in appium, I cant launch and display appium inspector on ios, but my setting for android already working and fine use macOS- Sierra appium 1.5.3 iphone iOS 10.2 ...
1
vote
1answer
296 views

How to input data into datapool from xml file in rational functional tester?

How to input data into datapool from xml file in rational functional tester? I want the user input file to be an xml file and this xml file should be used to feed information for data pool in rft.
1
vote
1answer
148 views

Does Rational Functional tester Support Microsoft Visual Studio .NET 2012 integration?

When i am trying to install RFT. At this moment i am not able to select visual Studio integration. My system already have visual studio 2012 installed on my desktop. The check box for Microsoft Visual ...
1
vote
1answer
289 views

In QTP 12.51, how to identify dynamical element generated using ajax/jquery form

In my Datatable three rows are present. After clicking on Add button new row is generated and I need to put input values from datatable. Problem: How to identify field of each row dynamically for ...
1
vote
1answer
234 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
0
votes
1answer
30 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
37 views

Why tests fail when run in eclipse after creating through selenium IDE?

I have created many tests using Selenium IDE and exported into java files in order to run in eclipse. All tests work properly in Selenium IDE but when I run in eclipse(java file) it creates following ...
0
votes
1answer
43 views

Unable to execute single tc, login then run other application features, right now its running as a suite

I have to execute my test cases as a single as well as a suite, right now its running as a suite but not as a single test case in selenium webdriver: Below is my test which are calling methods present ...
0
votes
1answer
37 views

Handling the case when users get different main pages based on usertype after login

It's more like a theoretical question and I am seeking the best practice here. Given an application where you have different user types, newly registered users get a new UI while old users are ...
0
votes
1answer
20 views

TestNG with multiple datadriven

My code structure logic is this: I have to fill three sequential forms to add a entry in a list whose data is from Excel. I need each form to have entries from different Excel sheet, i.e first form's ...
0
votes
1answer
28 views

Capture arguments of onclick() javascript call using Selenium Java

I am writing a selenium script in Java to capture the arguments passed in JavaScript onclick() call/method. Attached is the image in which method/function name is highlighted. Now, In this method ...
0
votes
1answer
31 views

Selenium Webdriver fails to load browser through WebDriverManager

We can run our tests in different browsers in selenium Webdriver, previously we need to executable files to run our test in any browser. But now we can achieve without using exe files & with the ...
0
votes
1answer
42 views

How to Automate the fields that are text and drop downs. You are not sure that how may fields will be and of which type (text/drop down.)

here situation is like that admin set the Specified fields for front end user and its upon admin that how many fields he set for user. One thing is that he can only create 2 types of fields either ...
0
votes
1answer
248 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
1answer
57 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
44 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
1answer
42 views
0
votes
1answer
77 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
1answer
49 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
1answer
429 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....