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

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
2 votes
1 answer
172 views

How can I solve OutOfRangeException on using Selenium C#

I've faced with the below problem, while trying to run a data driving testing and have tried to resolve it, but nothing seem to be working for me. Please could you take a look at my code and tell me ...
2 votes
2 answers
98 views

Automated Testing - Sign Up

I'm creating the user cases for developers to set automated testing for Sign Up. But I'm facing an issue at the moment. I need to test Sign Up with a new phone and email. So every time the test runs ...
1 vote
0 answers
123 views

Extract and Reuse elements as list in JMeter

[{ elem1: value, elem2: value }, { elem1: value, elem2: value }] I want to be able to extract all elem2 value based on a regex condition on elem1 value from a JSON response. I ...
6 votes
8 answers
1k views

What is this methodology called?

We have got an old system Qwerty1 - that makes a lots of things, We also have another system Querty2 it's actually a remake of Qwerty1 (for several reasons) Notice we still are live with Qwerty1. Now ...
2 votes
1 answer
53 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
1 answer
705 views

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

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

How to set browser window size using Phantom JS + Java

I am working on PhantomJS with Java for one of my project. I am looking for some help in working with PhantomJS in following scenario. Scenario: Step-1: Mouse hover on tab/link then 2 sub-links will ...
2 votes
3 answers
181 views

I need expert support for using MS testing tools for automated performance and functional testing

We are a software company using VB.NET and ASP.NET heavily, and recently have tried to use Microsoft Ultimate to do automated testing, but ... it doesn't work for us. We believe that we are doing ...
0 votes
0 answers
11 views

How to test a TFA library?

I have a Two Factor Authentication library that handles all the crypto necessary to convert a pre-shared secret into a 6 number code used to authenticate. I've followed the standard as tightly as ...
0 votes
2 answers
54 views
+50

Properly manage regression testing as an interface between different testing teams

Baseline: We work in a Safe-Scrum environment with a large number of different teams, and here also correspondingly different test teams. We have different test cases from different teams, which are ...
1 vote
1 answer
293 views

Need help to record a script for native apps testing using Jmeter

When I tried to record a script for native app testing using Jmeter I'm facing the next issue: when I keeping the proxy same as Jmeter's and IP address of my PC in android device, before changing the ...
0 votes
0 answers
10 views

In Katalon studio I am getting a warning message that " Property name 'tag' has been used. please use a different property name. Please see the attach [closed]

Please help me to solve this issue in Katalon Studio." Property name 'tag' has been used. please use a different property name." Thanks Ashraf.
2 votes
1 answer
13k views

Windows + Android emulator : How to fix "No internet/Internet not working for android emulator" on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
1 vote
2 answers
534 views

Unable to use firebug performance tester with Selenium

I would like to measure the performance of the functional testing. I was following the tutorial in the following link http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-...
9 votes
6 answers
939 views

Database code unit testing tips

I'm working on developing a big 3-tier application. Database has a lot of code (stored procedures, functions, triggers, etc). I'm looking for a valid approaches how to implement unit testing for the ...
2 votes
5 answers
1k views

Selenium Java WebDriver Can not Find Element with xpath

I've a question, how can I capture the xpath in the case below? I tried this: driver.findElement(By.xpath("//*[@id='L2_auto_8']/div/a[1]")); and I tried: driver.findElement(By.xpath(//a[@href='/...
5 votes
2 answers
273 views

What infrastructure is required for automated testing on a hosted desktop?

I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on ...
3 votes
4 answers
4k views

Handling multiple windows using selenium

Is it possible to work on multiple windows using selenium, when I searched on the net, there are only explanations and codes available for Selenium2 webdriver version. For the normal selenium I can't ...
-1 votes
1 answer
10 views

Python + VS Code: ModuleNotFoundError: No module named ' ' occur

Facing issue with error : ModuleNotFoundError: No module named 'selenium' Basically, Error is not specific to module 'selenium'. Facing this issue in VS Code even when, I have selenium installed for ...
1 vote
1 answer
992 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
2 answers
799 views

How to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException. ...
0 votes
0 answers
8 views

How to design automation framework on given scenario for credit card system (asked during interview, complete answer would be helpful)

Consider a credit card billing system that generates bills based on customer credit-card usage data and sends these bills out to the customers via email. There's an admin website where an admin chose ...
3 votes
1 answer
100 views

A single Selenuim test fails under jenkins [closed]

When I run my Selenium test suite under Jenkins a test fails. If I run the same test suite from the command prompt they all pass. When running from the command prompt, I'm in the Jenkins worskpace. ...
4 votes
1 answer
6k views

Unable to launch Chrome in remote webdriver

I have tried the following three options . I am using C# DesiredCapabilities capabilities = DesiredCapabilities.Chrome(); capabilities.SetCapability("chrome.binary", "...
1 vote
1 answer
703 views

Need help with getting list of items in Page factory, c#

I'm new to Page factory model - I need number of elements in list, I'm trying in the following way: **[FindsBy(How = How.XPath, Using = "//*[@id='ABC']/div")] public List<IWebElement> ...
2 votes
2 answers
138 views

To write the reason for exception in excel

I'm using Apache POI for Excel operation. I'm able to print what exception it is in Excel by writing a print statement in that particular catch() block. But I also want the reason for that exception, ...
4 votes
0 answers
764 views

How to add an assert to an if ..else condition using Phpunit and selenium webdriver

I'm working on test automation for a big project and I'm using Phpunit and as a server I'm using Selenium WebDriver. In the source code I'm using asserts like : $this->assertContains('Project Title'...
0 votes
0 answers
6 views

Have you ever had experience using Adobe Experience Manager and building automated test suits?

i'm here to ask something that seems to have very little content about on the internet, that would be building an Automated Test Suit while while using Adobe Experience Manager (AEM) as your website ...
1 vote
1 answer
193 views

In gradle 4.6, how to force all tests in a class gets executed first before moving to tests in next class?

I am using Gradle 4.6 with testng. My test suite has tests organized something like these. java class1 { test 1.1 test 1.2 test 1.3 test 1.4 } java class2 java class3 java class4 java class5 All ...
1 vote
2 answers
27 views

Getting value from data-value (webdriver selenium / java)

I have the following HTML code <div class="mbsc-sc-whl-c" style="height:40px;margin-top:-21px;"> <div class="mbsc-sc-whl-sc" style="top: 0px; transform: ...
0 votes
2 answers
99 views

How to run java+selenium method continuously?

There is a functionality like in sometimes one of modal pops up and there is a button on it. If the modal pops up user needs to click on that button. This is a continuous process and I need to ...
0 votes
3 answers
725 views

Selenium - How to remove &nbsp from my text value

I am trying to use this xpath to find the number of elements that have a value between X and Y. The problem I am facing is since there is &nbsp in the HTML, and the code doesn't detect the text ...
0 votes
2 answers
201 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format (namely XML in my case). Below is an example of the payload: ...
3 votes
3 answers
256 views

One tool to rule them all

This question may have already been asked/answered in various places, and in various forms, but this is my problem. I have been in software testing for a few years now, most of this has been manual ...
0 votes
1 answer
7 views

How can I format the current date and time and then use them in a variable in GoTest?

I use the keyword... get date But I have a date with the format like this Sun May 11,2014 9:60 p.m. I need to convert it in to this format 2014.05.11.09.60.60.321 I tried to put this yyyy.MM.dd.HH.mm....
2 votes
1 answer
664 views

Error while recording with JMeter

I set up JMeter and trying to record a test by logging into a website and browsing it. Issue is the next: I can log in to that site but, I can't browse the site as following error appears: ...
0 votes
1 answer
28 views

Selenium : webdriver.Chorme() function problems

I have difficulties in finding a solution, can you help me? This is the code text: from selenium import webdriver web = webdriver.Chrome("C:\ Users\giova\Desktop\chromedriver.exe") web.get(&...
1 vote
1 answer
48 views

Screenshot not found error in protractor

I am getting broken image for screenshot. Unable to take screenshot in protractor framework. Please anyone help on this. My code: testconfig.js file var fs = require('fs-extra'); var today = new Date()...
0 votes
1 answer
25 views

How to get specific data in a div with Selenium?

Let's say this website has frequently changed data (stores). I am also only interested in certain stores from my list. How do I get all the data of the first store from the top and from my list? I was ...
0 votes
1 answer
248 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 ...
1 vote
1 answer
128 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
2 votes
4 answers
3k views

Issue using XPath

I'm using Selenium and PyCharm. Website: https://www.expedia.com/ I'm trying to click() on the Search button. I used these: driver.find_element(By.ID, "search-button-hp-package").click() ...
0 votes
2 answers
65 views

Unable to capture the element using xpath

I'm trying to capture the dynamic code using xpath(Selenium+Java). I want to get that code and store it in a variable, but it always returns no such element exception. My xpath looks like below when ...
0 votes
1 answer
2k views

Cannot find an element with Xpath in Appium

I'm new to Appium. Sorry if the question is duplicated, but I did not find the solution. I have a problem - I cannot locate an element using Xpath, but I have no problems locating it using the ID ...
2 votes
1 answer
28 views

Unable to get multiple browsers working with Chrome and IE Edge browsers

I'm new to QA testing. I was practicing automating test case in TestNg, but can't seem to get the cross browsers to work. The test keeps failing. It worked when it was just one browser. Any ...
0 votes
1 answer
1k views

How to select li element using Selenium in Python

I am trying to automate something on shopify, and depending on what the variable (lets say x) is, I want it to go into that list. For example, if x=2, then from that ul/li(list), how can I make it ...
1 vote
1 answer
25 views

Selenium Webdriver : Trying to get text, but specific class present

Kindly find attached the html code of the section in question I use the following code and managed to get the text for Status successMessage = driver.findElement(By.xpath("//span[@class='status-...
1 vote
6 answers
640 views

How can we manage cucumber background information when require hard set data aliases?

Consider a bunch of scenarios grouped into one feature file that all require setting up a valid user, however I do not want to generate such a user dynamically, for example: Background: Creating a ...
1 vote
1 answer
169 views

Error - NotImplementedException Was Unhandled

I'm trying to subtract the result of 2 variables and I want to echo the result in Selenium. I'm using VS2015 as my IDE. //Obtaining pressure For 2100 hours today driver.FindElement(By.XPath(".//*[...

1
2 3 4 5
71