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.

-1
votes
1answer
94 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
31 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
1answer
27 views

Security Testing for brute force attacks on login page

I want to perform testing for brute force attacks on login page of a website. I am new to security testing and I think i can test this by multiple failed login attempts. I wrote the below code to test ...
-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
3answers
74 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
28 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
39 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
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
1answer
915 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
1answer
55 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
552 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
350 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
4k 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
4k 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
769 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
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....
-1
votes
1answer
433 views

How to handle if XPath are different for multiple sub-menu options [duplicate]

I have situation when i have click main menu options it will be display 10 different sub-menu options. In all sub-menu section is available 2nd sub-menu options which is available more than 20 menu ...
-1
votes
1answer
1k views

Python Selenium: Unable to find a element when the element already exists

I'm having issues looking for this specific input: <input type="text" class="criteriaFieldInput ui-autocomplete-input" id="KEYWORD" isautosuggest="true" suggestid="1" isolf="false" isphrase="false" ...
-1
votes
1answer
588 views

jmeter - Could not connect to SMTP host: smtp.gmail.com, port: 587 [closed]

I am new to jmeter and trying to send an email using SMTP. Here is my sampler: this is the error results: Thread Name: REST example 1-3 Sample Start: 2018-01-15 14:34:54 CET Load time: 21003 ...
-1
votes
4answers
933 views

Element not visible

I'm learning automation with selenium and I'm a bit blocked at the moment with one element. I don't know why it is considered as not visible but elements similar to this one on another part of the ...
-1
votes
1answer
96 views

Considerations and suggestions for QA lead responsible for software testing and development processes [closed]

I am offered a position as a QA lead, which is a big-big step up for me. I would appreciate some feedback, heads-up, suggestions, certify and considerations when tackling such a responsibility. ...
-1
votes
3answers
3k views

how to do automated testing on both front end and database [closed]

the testing includes front end GUI testing and database verification and some files verification under windows/linux. I know that selelnium can be used for front end GUI testing. what about the other ...
-1
votes
3answers
7k views

How to find the element that displays and hides with in 2 seconds in selenium webdriver?

I am automating a site in which there is a section to create forums. Every time I create a forum it displays message as forums created and hides after 1 section. I have to check the displayed message, ...
-1
votes
2answers
1k views

What is the most appropriate tool to perfrom test automation of Adobe AIR applications?

I need to create test automation of the Adobe AIR application. In application under test there a lot of custom controls, input / output and drag and drop operations. Now I'm thinking about Flex ...
-1
votes
3answers
1k views

After scrolling the page, xpath of a element is not present

I have requirement that needs to check a div on home page that contains sub images. I am trying like this My Sample Code : module.exports.openurl('www.google.com', "Online Shopping | Buy Phones, ...
-2
votes
3answers
32k views

What is the difference between keyword driven and Data driven frameworks in Automation?

I am having problems fully understanding the purpose of keyword driven frameworks compared to data-driven frameworks. What circumstances would make a keyword-driven framework more appropriate for an ...
-2
votes
3answers
2k views

Is it necessary to have strong coding skills to perform software testing?

I do have a query related to automated software testing.We all know that these days many new test automation tools are being launched. Does this tool still require any coding or scripting knowledge to ...
-2
votes
5answers
6k views

What is Test Bed? How to use it? [closed]

Is Test bed a Tool? Or is it an Environment set-up? How to use Test Bed? Where to Use Test Bed? If it's a plugin, how do I configure it with Automated tools? What is the difference between Test ...
-2
votes
1answer
2k views

How much is paid for a Selenium Automation Tester who has an overall experience of 3 years? [closed]

Currently I am working in a selenium automated project and I look for a jump to get paid more.I have an experience of 2 years in selenium automation. I Just want to know how much salary I should ask ...
-2
votes
2answers
59 views

Null pointer exception catching Tool

Is there is any tool to capture all the null pointer exception in the java project? Am working in the mobile application testing, during my testing I have noticed so many null pointer exceptions which ...
-2
votes
2answers
775 views

What Assert.AreEqual(true, true); does? [closed]

Can any one explain Assert.AreEqual(true, true); with proper example and explanation?
-2
votes
1answer
2k views

Define automation testing [closed]

I have searched about automation testing and got idea what it is! but have not found any proper definition regarding AUTOMATION TESTING. Please help me
-2
votes
2answers
46 views

How to test a system developed using Angular, java and API's? [closed]

If a system is developed using Angular for front-end and java for back-end. Front and back ends are interacting using API's. My questions are: (Please answer using relevant number before the answer) 1)...
-2
votes
2answers
223 views

What's the best web testing tool for beginners with no previous automation experience? [closed]

What automation tool for testing web application can you recommend to beginners? Which one is better to start with? I have no automation testing experience.
-2
votes
3answers
104 views

What is the best way to automate acceptance testing?

First of all: A royal road and a really correct solution to automate acceptance tests does not yet exist. I am as aware of that as many of you are aware. But is that really so? Is there no way to go? ...
-2
votes
2answers
92 views

Selenium WebDriver issue

I am getting: "Exception in thread "main" java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from FirefoxDriver to WebDriver" error in the console I have added jars files ...
-2
votes
4answers
747 views

Unable to customize XPath containing span

I want to select all the products having rating 4.5 and add to the cart. However, I am not able to customize the XPath. I tried the below XPath: //div[@class='product-item__rating']/span This ...
-2
votes
3answers
7k views

How do I get elements from drop down menu in Selenium [closed]

Please suggest to get the elements present in drop down menu using Selenium WebDriver. Thank you..
-2
votes
1answer
11k views

Get element by cursor position in selenium

I'm writing an automation testing framework using Selenium. I am trying to Locate which element my cursor is pointing to. for eg. there are two textbox textbox1 and textbox2. If I perform a tab swift ...
-2
votes
1answer
2k views

Considering automation parameters, which is better: relative Xpath or absolute xpath? [closed]

I want to perform automation (selenium) using Xpath. Which one gives better results?
-2
votes
2answers
568 views

What would be a good test Orchestration tool for Python unit tests?

What comes to mind is Make, or build.xml, but I have not found a comprehensive Orchestration tool for python testing yet. Any suggestions?
-2
votes
1answer
30 views

Is it possible to setup a Allure reporting server? [closed]

we have various teams across our business unit. I need to consolidate the test results across the teams and display for Business unit leads. So we were thinking allocate a AWS S3 storage location and ...
-2
votes
1answer
30 views

How to Extract PaymentKeys from below response in Jmeter

{"PaymentKeys":["2d34b3b2-ae35-4778-965c-6eb71421f32f", "82ba494b-7eb9-458a-914c-6542e73e0e22"],"Attributes": [{"Key":"CardIssuer","Value":"Unknown"}, {"Key":"MaskedCardNumber","Value":null}]}
-2
votes
1answer
38 views

NullPointerException [closed]

I am testing an application using Selenium WebDriver with Java. I am using TestNG framework to develop my test cases. The issue is that I all my test method are throwing Null Pointer Exception and as ...
-2
votes
2answers
502 views

How to Handle checkboxes in Selenium with Python?

There are 7 unselected check-boxes available in application. How to select first and last checkboxes and how to select all checkboxes from reverse order using python selenium webdriver?
-2
votes
1answer
665 views

How to convert string value to integer [closed]

I am fetching the value from excel and passed in my field.am using below code if (sh1.getRow(0).getCell(j).getStringCellValue().equals(reg_id)) { int k = 1; while (k <= sh1....
-2
votes
2answers
584 views

How to resolve Nullpointer exception [closed]

Here is my code: General.Java: package com.hrms.lib; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.openqa....
-2
votes
1answer
30 views

After adding excel jar, When execute script following warning occurs in console. How to resolve this issue? [duplicate]

log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. log4j:WARN See for more info.
-2
votes
4answers
181 views

How a Software Tester or Q & A should move ahead in his career [closed]

When one person joins a company as a software tester, the basic skills he contains within himself is Manual Testing. Is it enough for him to sustains for a long period in the company? If not then ...
-2
votes
1answer
500 views

Test Management Tool Integration with JIRA [closed]

My question here is I would like to integrate Zephyr or any other tool with JIRA which could answer all my queries below: What is Zephyr/any tool all about and how its going to work for QA ? What are ...