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.

338 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
509 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
165 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
991 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
582 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
102 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
67 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
89 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 ...
0
votes
1answer
864 views

Object Spy for Chrome Extensions

I need to automate Chrome Extension. But I am trying to avoid tools that use Image recognition of coordinate system. Is there any way to automate or at-least Identify individual Objects on the ...
-1
votes
1answer
64 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
75 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
85 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
2answers
229 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
155 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
2answers
327 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
58 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
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
942 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....
-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
16 views

Automation tools recommendations for E2E and integration testing a Firestore back-end application?

Does anybody have any experience and/or have any recommendations for automation tools for testing a suite of web applications that rely heavily on Firestore for data storage? We are currently working ...
-1
votes
1answer
22 views

Not able to execute Selenium maven automation project using Eclipse Run as “Maven Test”

When i execute my selenium java project using maven test its not executing. its showing me error. Its execute properly when i execute through TestNG.xml file. But its showing error when execute it ...
-1
votes
1answer
82 views

Katalon vs Taiko automation

Our team of -manual- qa's are currently working with Katalon automation tool. But our boss decided that Java is outdated and JavaScript is the feature of web automation. So they proposed us to use ...
-2
votes
0answers
18 views

How do I set up test stages for a Magento Cloud environment?

My current project is about planning a test project environment in the Magento Cloud environment. Of course, the Magento Cloud offers the possibility to create other stages from the master. Is the ...
-2
votes
2answers
49 views

How to make a test fail if driver takes long time to look for an element. I am not sure which elements will throw this exception

I am not sure which elements will throw this exception.In general is there any method other than providing - a page load time out , implicit, explicit or frequent wait for a particular element .
-2
votes
2answers
95 views

Website login Issue in Selenium ChromeDriver

I am login to a website using Selenium and ChromeDriver. But website login details are shown as incorrect every time. But I have manually logged into the site using Chrome browser easily. How do I ...
-2
votes
3answers
2k views

Unable to find the element using XPath

XPath: //*[@id=\"clB\"]/div[1]/div[1]/a/div Exception: Exception in thread "main" org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath ...
-2
votes
1answer
194 views

Page chaining in POM method

I have created three packages. generic webpage script In generic I have base test and other common methods. In webpage I created class for each web page. In Script I have my testcases. I need ...
-2
votes
1answer
85 views

OWASP ZAP integration into SOAPUI for REST API Testing

One of the topics I am currently working on is the testing of APIs on the security level, e.g. as integration in SOAPUI and OWASP in WSO2. The integration of SOAPUI and WSO2 is set up and also works. ...