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

How to validate test logic for date dropdown?

I have a close date field where the date is already populated, and a date creation field which is the actual activity creation date and the logic I want to validate is below - Validate that the ...
-1
votes
1answer
47 views

Penetration test in a staging environment. When and how much?

We certainly all know the discussion when penetration testing makes sense. In a staging scenario, the test scenario can be interesting to use there to perform a penetration test. And, of course, also ...
-1
votes
2answers
408 views

How Do I iterate through all the search results in Selenium returned by google search

My test steps are- a) go to google.com b) in the search box start typing a keyword example "IBM" c) google displays all the matching results d) Get the count of matching results in a List of strings....
-1
votes
2answers
34 views

Should you test regression tests or just verify/check?

When conducting regression tests, the goal is to find out if the new release affects existing functionalities of the application. Is it enough just to check/verify the application or should one test ...
-1
votes
1answer
45 views

How can I close alert message by enter action through keyboard?

I'm looking for a different way to close an alert message other than accept() or dismiss() methods. How can I close an alert message by entering action through the keyboard?
-1
votes
2answers
64 views

How to interact with web elements with the same ID's?

I have three drop-downs with same ID's and want to click each of them, one by one, but it will click the same element three times. The remaining two elements are failing, but that test case is passed. ...
-1
votes
1answer
33 views

Buffer for errors in the Sprint Planning Meeting?

In a discussion with a Product Owner I had the situation that there were many bugs in the Product Backlog, but PO did not have time to prioritize them. So he wanted to set a story that is timeboxed ...
-1
votes
1answer
32 views

Automation Testing for Installer created using IzPack [closed]

I want to automate the GUI installation process on Windows and Linux. Suggest me good tools which can I use for both OS.
-1
votes
1answer
61 views

Me being a Automation Tester (QA), how can I win a Ideathon? What should I develop for Ideathon? [closed]

I have over 9 years of experience in Automation. Still, I think my Java coding skills are limited. Having said that, if I target to win Ideathon 2019, what should I develop?
-1
votes
3answers
811 views

How to click on the image inside a grid using selenium webdriver?

I have to click on an image inside a grid. Grid elements have dynamic ID's. Therefore it's impossible to capture elements as usual. How can click on this image? I have boxed the image I ...
-1
votes
2answers
46 views

How to comapare the webelement list to String [closed]

List<String> unitType = new ArrayList<String>(); unitType = getUnitTypeNumber(); String leaseTermsunitNumber = getLeaseTermUnitNumer().getText(); String unitNumber = leaseTermsunitNumber....
-1
votes
1answer
83 views

Two automation tools for GUI automation of single application

We are planning to have two separate automation tools to automate our current application, as tool-1 does not support some critical functions. Integration is difficult between these two tools. Will it ...
-1
votes
1answer
260 views

Not able to select the checkbox of a html row [closed]

MY CODE: package com.drishti.automate.testing; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa....
-1
votes
1answer
2k views

Element <li> could not be scrolled into view

I am trying to click on size from drop down from this particular website, but I'm not able to do that. size = wait.until(EC.invisibility_of_element_located((By.TAG_NAME, 'UK 6'))).click();
-1
votes
1answer
2k views

How to run two Thread Group in a loop - JMeter

I'm facing problem here, There are 2 Thread Groups and both are correlated ( run thread group consecutively is ticked in test plan ). 1st is user thread group and 2nd is Driver thread group. So ...
-1
votes
1answer
84 views

How to massage or format html in order to parse with xmlstarlet?

Just looking to parse html found "in the wild": Very simple script: curl -s http://www.foo.com > 1.html xmlstarlet fo -H -R 2> /dev/null 1.html > 2.html xmlstarlet sel -t -v "//header[@...
-1
votes
1answer
811 views

I'm unable to install protractor [closed]

Error in cmd C:\Users\user>npm install -g protractor npm ERR! Windows_NT 6.1.7601 npm ERR! argv "E:\\Software\\nodejs\\node.exe" "E:\\Software\\nodejs\\node_modul es\\npm\\bin\\npm-cli.js" "...
-1
votes
1answer
526 views

Selecting available Usernames while creating Gmail Account using Selenium

How to select from available usernames while creating Gmail account using Selenium when the username was chosen is already taken? driver.get("https://accounts.google.com/SignUp?service=mail&...
-1
votes
1answer
1k views

How to skip test cases in a JUnit testsuite?

I have created a JUnit test suite that has multiple test cases. A couple of these are for functionality that are currently under implementation. I want to skip these test cases. How do I skip tests ...
-1
votes
1answer
78 views

Mobile Testing Tools Suggestions [duplicate]

So I’m looking in to automated mobile testing solution and need some suggestions from experience folks who are currently using such tools. So far I’ve evaluated “Silk Mobile” and couple other tools ...
-1
votes
1answer
73 views

Selenium Webdriver ExtentReports: Putting logStatus after every statement

I have a testcase.java which houses all the @Test methods (login, signup and forget password). Since I'm using Selenium ExtentReports, I put LogStatus.PASS after every single statement has been ...
-1
votes
2answers
211 views

What SeleniumIDE command use to wait for value to automatically calculated?

So I have test case like this: User input Money value, then Discount value will be calculated automatically, user save the data. 1.Money : 1.000.000 2.Discount: 10 (Automatically calculated -> ...
-1
votes
2answers
53 views

Name for testing routes, controller and views

I am currently writing tests for my Laravel 5.1 application and testing the workflow: input data from view to route to controller and back to view, typically checking for a DB record and a success/...
-1
votes
1answer
33 views

Can a value be retrieved from Generated Source, using Selenium IDE [closed]

The Scenario: I enter transaction data and submit that data to the application. The application responds with a transaction ID. I then take the Submission Transaction ID and use that ID to query the ...
-1
votes
4answers
506 views

What is “Test Execution Wall Clock”?

Can anyone help me out with an answer for: What is "test execution wall clock"? I have this information from a job description: These are the few questions which QA or Lead QA has to answer. Need ...
-1
votes
1answer
73 views

Cannot upload files when running tests in docker Selenium_Hub, Selenium-Node-Chrome-Debug and a container w/ Mocha + Selenium-Webdriver (JS)

I am trying to run javascript mocha selenium-webdriver tests on my company's application using docker containers. I seem to have everything working except that I am unable to upload files. Prior to ...
-1
votes
1answer
15 views

Image Url Testing Through Jmeter

Please let me know how to resolve this issue i.e. I want to test image urls(10,000 plus) through Jmeter, but jmeter showing 404 error also incase of correct image. an example : https://g-cdn.alwka....
-1
votes
1answer
85 views

Deprecation issue for InternetExplorerDriver

I want to use PAGE_LOAD_STRATEGY strategy while launching IE driver by using the following code but I'm facing a deprecation issue for InternetExplorerDriver. What's the reason for it? ...
-1
votes
2answers
30 views
-1
votes
2answers
35 views

How to handle web dropdown for below action method & Also How should I write reusable method for such Action?

How to create Page Object for such element with Reusable Action Method ? Methods to include: A method to select an option from list dropdown, example: selectFromList(String option)
-1
votes
1answer
51 views

Getting Null pointer exception

I am new to Cucumber and I am trying a basic cucumber test. I am getting the below error while running the test. java.lang.NullPointerException at stepDefinitions.Test_steps....
-1
votes
1answer
38 views

Automation Selenium - Dynamic XPath [duplicate]

In the below XPath, the index [1] is changing every time. Can we handle this? //button[contains(text(),'Action')][1] HTML: <button aria-expanded="false" aria-haspopup="true" class="dropdown-...
-1
votes
2answers
93 views

Not able to click Logout Button eventhough able to identify the element in selenium webdriver

Environment : IE11 Webdriver/Selenium version : 3.141.59 Language : java Selenium code: driver.findElementByXPath("//span[contains(text(),'Logout')]").click();** HTML code : <span class="v-...
-1
votes
1answer
57 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 ...
-1
votes
1answer
431 views

Caused by: org.openqa.selenium.NoSuchElementException: No such element [closed]

Java Code: @Test public void enterApplicationCerdentials(String userName, String password) { WebElement element; WebDriverWait wait = new WebDriverWait(driver, 100); ...
-1
votes
1answer
82 views

Mac + PyCharm + Python 2.7: ImportError: No module named appium

I just changed PyCharm application from Professional to community and in my v first run I am getting below error. Prior this all tests was working correctly as expected: ImportError while importing ...
-1
votes
2answers
236 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
3answers
161 views

Getting Null pointer expections “ java.lang.NullPointerException ”

[RemoteTestNG] detected TestNG version 6.14.3 1553664942228 mozrunner::runner INFO Running command: "C:\Program Files\Mozilla Firefox\firefox.exe" "-marionette" "-foreground" "-no-remote" "-...
-1
votes
1answer
38 views

Assert for element, which is not displayed in the DOM

I've got a basic web payment form, which needs to be automately tested. The form contains five fields - email, card number, card month expiry, card year expiry and CVC code. Also, have two buttons - ...
-1
votes
1answer
40 views

How to automate a UI, put it on a devops pipeline and then maintain it?

I have an browser based application that needs to be tested. In an agile environment how do I automate it? How do I create high quality, reliable automation that is easy for others to use and ...
-1
votes
2answers
333 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
1answer
2k views

Getting error message while running selenium script

I am facing this problem, please give me a solution [RemoteTestNG] detected TestNG version 6.14.2 Starting ChromeDriver 2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5) on port 7027 Only local ...
-1
votes
2answers
3k 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 ...
-1
votes
1answer
59 views

Pop up handling in Selenium using try and except block gives a broad exception warning

try: if browser.find_element_by_xpath('//[@id="s"]/a').is_displayed(): browser.find_element_by_xpath('//*[@id="s"]/a').click() browser.switch_to.default_content() ...
-1
votes
1answer
781 views

How to create Xpath to read text between span class?

HTML: ...<div class="ArticleCount__articleCount___lQ5f1"> <span class="ArticleCount__text___1c2Rn">Showing</span> 9 <span class="ArticleCount__text___1c2Rn">of</span> 23 ...
-1
votes
2answers
416 views

How to handle stale element exception reference while looping through dropdown [duplicate]

My requirement is actually to click on the option in the dropdown one by one and then click search i.e. I will first select the first option then search , then again go back to the second option and ...
-1
votes
5answers
7k views

Unable to click on checkbox using Selenium & Java

please send me the full code I tried Some XPath and CSS: XPath: //div[@id='autofill']/div/label //div[4]/div/label CSS: div.col-md-1.checkbox.checkbox-primary > label* but using above ...
-1
votes
3answers
5k views

How to Iterate and loop the select Options in dropdown box using Selenium with python?

I want to select an apple and then after "save and Go" then after it should select an orange like the way it should iterate till coconut, at end of the list it should be select 'Save & Hold'. I ...
-1
votes
1answer
949 views

java.lang.NullPointerException occured while implementing driver initialization through inheritance

Base class: public class Base { public WebDriver driver ; @BeforeMethod public void initialize() { System.setProperty("webdriver.chrome.driver", "/Users/apple/eclipse-workspace/Selenium/...
-1
votes
2answers
78 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....