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.

332 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Is it possible to open browser in different machine that you have installed UFT/QTP?

I want to execute a test in different window machine that I have installed the UFT/QTP software. Is it possible? I read some information about execute UFT in remote machine(run UFT software and ...
0
votes
0answers
36 views

unable to select a value from drop down

I am unable to select a value from drop down while automating UI of a website public void setTargetPortalDropdownOptionInModalPopUp(String visibleText) { Select select = new Select(...
0
votes
0answers
197 views

How to resolve “Cannot find class in classpath: com.AES.Loginpage” error in Selenium?

I have created one java project and written a script for login to application using TestNG class. I got an error: "Cannot find class in classpath: com.AES.Loginpage" I have added jars and driver exe ...
0
votes
0answers
7 views

Implement load and performance pipeline for Salesforce in Bamboo?

Details In my current one I have several points which I have to supervise from different planning points. This is also part 1 of a longer request which I have to split. Initial situation: In this ...
0
votes
0answers
34 views

How do I click buttons on App which is installed on machine but not a Windows application. It opens a chrome instance (not default Chrome browser)

How do I navigate and click buttons on an already open Chrome instance/window. So the scenario is, that an application named "ApplicationNAME" is installed on my Windows machine, but its not a Windows ...
0
votes
1answer
164 views

Automating a desktop app based on Chromium Embedded Framework using Selenium

Background: At work we are passing the --remote-debugging-port=9555 parameter to a CEF based desktop app and launching it using Runtime.getRuntime.exec("path to app"). Then, using selenium, we open an ...
0
votes
0answers
15 views

AutomationElement of PropertyGrid item doesn't return ValuePattern while being set empty value

There is a WinForms application, the application is supposed to be covered by automated tests. I'm struggling with setting value to items of a PropertyGrid. I've successfully found an ...
0
votes
2answers
57 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
0
votes
1answer
147 views

I am getting the error “Failed to load extension from” at the start of every run

I am using Serenity framework and getting the attached error at the start of every run. If I close or accept the box then my test successfully otherwise failed. I tried to handle this in serenity.conf ...
0
votes
0answers
15 views

MAC | Automated chrome instance disappear when robot class is used

I want to open a chrome browser and then want to press tab key by robot class, not by using selenium's sendKeys but only by Robot class. Below is my code. public static void main(String[] args) ...
0
votes
1answer
24 views

Waiting for Masonry grid layout to be ready, before clicking button

Our app uses Masonry grid layout. After page_A opens, the tiles keep moving for a second or two. The test case is: open the page_A and click on the button which opens page_B. While clicking the ...
0
votes
3answers
780 views

Selenium Webdriver sendKeys method sending value twice

I have 6 selenium tests (TestNG) running on chrome and firefox (both up to date versions) which connect to Browser stack to run. the problem is that 1 of the test fails intermittently on Chrome as ...
0
votes
0answers
45 views

Need Suggestions: Setting up QA software automation for autonomous vehicles

I need some inputs how to setup QA software automation infrastructure for testing the build programs for autonomous vehicles. The idea is to bring in automation frameworks to validate modules, ...
0
votes
0answers
100 views

Problem with parallel testing (POM, python, selenium, pytest)

I have a dir named PageObjects, there is a file Login.py. It stocks all the locators of elements plus functions that I call in test cases. It looks like this: class Login: # Locators of all ...
0
votes
0answers
105 views

JNLP file can harm ur computer warning of chrome using Selenium Java. Tried 3 options but none working

My goal is to download .jnlp file which is considered as a harmful file by chrome. So, i have thought 2-3 solutions for this. I am using Chrome 76 version and i dont want to downgrade the chrome ...
0
votes
2answers
294 views

TestNG with Eclipse: How to add main class?

How can I add main class in eclipse cucumber project. I am running cucumber feature file and using TestNG but getting error: "cannot find class in classpath" and as a resolution of this I am geeting ...
0
votes
1answer
26 views

How to get text from header having separator

How to fetch text for <h1 _ngcontent-gtj-c13=""> Site-2 <span _ngcontent-gtj-c13="" class="seprator">|</span> Building-1 <!----> </h1> I have used attribute ...
0
votes
0answers
16 views

Mobile Device with custom Bluetooth Devices

We are currently looking for a mobile test solution for our latest product. Since the application is not standalone but works via a Bluetooth connection to embedded hardware (smart textile) we are ...
0
votes
0answers
21 views

First API call in list has very low Apdex score? What should be done for the same in Jmeter?

Very first API call in list is very low Apdex score even that API is simple list from DB. Due to that the overall average Apdex score is getting decreased. For example, for login there are three ...
0
votes
1answer
62 views

Number of actors in E2E tests

We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas. Exemplifying this: We have a C2C ecommerce platform and an user. Users ...
0
votes
1answer
26 views

Selenium Mac Salesforce

I am trying to automate to log in into salesforce account and after it logs in i want it to click on contact button but for some reason it wont, i even wrote a different function just for it to click ...
0
votes
0answers
28 views

Driver does not recognize pop-up's - can not switch

In years it is the first time I saw something like this, when I do a: config.getWebDriver().getWindowHandles().size() The result is always 1, but in fact, there is a main window opened and after a ...
0
votes
0answers
117 views

Getting Appium integrated with BrowserStack behind a proxy

I'm trying to get Appium WebDriver integrated with BrowserStack, using C# behind a corporate proxy server and am having trouble. I'm using CNTLM due to the proxy server, so am trying to point Appium ...
0
votes
1answer
177 views

Not able to add Bug from Testlink to JIRA (Required Version Number)

I have Integrated JIRA from testlink using REST API. I was also able to link the failed testcase to a bug in JIRA. But while trying to create issue in testlink there is a validation happening for ...
0
votes
1answer
36 views

Is it possible to make a jar file using Selenium java and Eclipse and run that file on any machine for the testing

I am using Selenium and Java with Eclipse and TestNG. Now I want to make a .jar file for running this test case on another system that doesn't have Selenium and Java. How can this be done?
0
votes
2answers
60 views

How do I click on an element available in a specific row where dynamic row is added?

In the below pic, I need to click on the icon in a row which is newly added and column1 value is stored as global variables. Have used the below code, unable to find a solution. WebElement ...
0
votes
0answers
191 views

Cannot instantiate class tests.LoginPageTest

package tests; import java.net.MalformedURLException; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterTest; import org.testng....
0
votes
0answers
213 views

Unable to set proxy with BrowserMobProxy while modifying http header request in Selenium with Java

I am able to modify http request header using BrowserMobProxy, the same way explained https://sqa.stackexchange.com/a/37318/9043 But, the problem I am having at the moment is, that I am executing my ...
0
votes
0answers
24 views

TestComplete Integration with Image based tools

Is there any way to integrate test-complete with image based (Behavior driven) e.g sikuli. If there is a way ! then How can we integrate with it?
0
votes
0answers
42 views

RSelenium: How to click Element in stored page source

I have a quite lengthy scraped page source (it requires a lot of scrolling down to get the full data) in which I need to send clickElement to some elements throughout the page. Because the server ...
0
votes
0answers
82 views

Control is not switched to iframe if I run test case in Firefox: Protractor

I am trying to run my script(Protractor) in Firefox. There is as iframe on page and I need to click on a link in that iframe. That click redirects to new tab and I need to switch in that tab too. ...
0
votes
1answer
313 views

I want to write Java code in Jmeter to copy current date in a variable and use this variable in next request. Where should I write it?

This is my code: package dateTime; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format....
0
votes
0answers
103 views

How to perform Load/Stress testing on a video calling app in Mobile?

We have a requirement to test the video and voice calling app Load and stress testing. The solution will be implemented using OPENTOK API (WEBRTC video streaming) and will be available on Mobile only ...
0
votes
1answer
167 views

How to run my selenium runnable jar in a different machine without driver files

I am trying to export my project as a runnable jar and run it without driver.exe files being present. I tried incorporating them with below code to make it independent but still unable to run the jar ...
0
votes
0answers
62 views

Fuzzing QNX filesystem using AFL

I am trying to fuzz QNX filesystem using AFL. Can someone please suggest how to fuzz QNX filesystem? One of the possibilities that I thought was to mount the QNX 4 filesystem on Ubuntu and then run C ...
0
votes
1answer
221 views

Appium: How to resolve Class cast exception for iOS driver? “java.lang.ClassCastException”

I referred to one of the answers posted in this forum and when I attempted to run following code NetworkConnection mobileDriver = (NetworkConnection) appiumDriver; if (mobileDriver....
0
votes
1answer
238 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
0answers
44 views

Code is not being executed once being tried to come back to parent window

My test case is about opening the child window by pressing the button located on main window and closing the child one and after that, i have to press another button which is in parent window but i ...
0
votes
0answers
46 views

Code can't be executed after running click method

After being run click function , i don't know why but the next sendKeys function can't be executed. eclipse is getting stuck and after a while, i'm facing with "timeout waiting for page to load" error....
0
votes
1answer
553 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
0answers
24 views

How to identify the fields and their values in the listview screen which are inside a recyclerView

I am automating a Mobile screen where I have the details of a particular transaction, in which I have fields(fieldnames like card number, transaction date, Transaction ID., etc.) and the subsequent ...
0
votes
2answers
73 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.)

The situation is that admin sets the Specified fields for the front end user and it is upon admin to decide how many fields he'll set for the user. One thing is that he can only create 2 types of ...
0
votes
0answers
914 views

getting null pointer exception for different step definition files with cucumber and selenium

Browser utility: package com.gmsr.utility; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class BrowserUtility { ...
0
votes
0answers
228 views

I am unable to execute selenium code as my browser is quitting by showing null pointer exception

[System] initializing MQSeleniumFW [System] validation Status : false [System initilaizing Logging properties] MQFWToolInstance: 2386190563904 [System Logging properties successfully initilaized] [...
0
votes
2answers
135 views

Can't switch control on elements of a chatbot using selenium in python

I am trying to send a message as input to chatbot to check the response but when I am trying to send a message to a chatbot, I need to click on the input box where one can enter a message. But it is ...
0
votes
0answers
98 views

Not able to Click on the Drop down and wait for element also fail for drop down ID in IFrame with JavaScript

I am unable to click on this dropdown. I tried selecting the dropdown and javascript click and normal click. Waiting for this element to be present also fails. Please provide the solution for the ...
0
votes
2answers
104 views

How to locate a link using page object model after mouse over

When I hover over login text there are list of links, i need to select Infostore using Page Object model approach. I am new to Selenium could any one help. I have the outer HTML for you: <div ...
0
votes
1answer
191 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
0answers
360 views

Explicit Wait doesn't work, but Fluent Wait works Ok

I need to have following test: open page (js loader is presented) select box delete box When I do test without waiters: driver.get("http://example.com"); mediaPage.selectBox("My"); mediaPage....
0
votes
1answer
390 views

1
3 4
5
6 7