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.

0
votes
2answers
53 views

How to get XPath for the text after the <b> tags

I Need to get XPath for the following, to get the text after the <b> tags <li class="SpacedOut"> <b>Name 6:</b> "ABC" <b>Name 1:</b> "BCD" <b>Name ...
-1
votes
0answers
7 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
33 views

if statement throws an exception “org.openqa.selenium.NoSuchElementException”

There is a requirement to check the link "Show All" on page. If It is displayed on page click on that link to expand all the sites on page, then search and click on "Edit Site" button that is starting ...
0
votes
2answers
41 views

Is using “Selenium & Test NG” the best approach to Automate Regression Test Cases for Web based Application?

We have a requirement to automate Test Cases for a Web based application. We have to use only open source tools. Total Test Cases would be around 600-700.
0
votes
1answer
11 views

How to handle unit test / integration test for a Installation / Setup Application that can be used in multiple platform such as Windows, Linux, Unix

I'm handling a code repository that is responsible to deploy / install / upgrade agent that are running on different platform, windows, unix, linux. The code base already has some unit test to cover ...
-1
votes
1answer
44 views

How to write x-path for below in selenium web driver?

<input type="email" class="whsOnd zHQkBf" jsname="YPqjbf" autocomplete="username" spellcheck="false" tabindex="0" aria-label="Email or phone" name="identifier" autocapitalize="none" id="...
0
votes
1answer
24 views

From a .side file to a GitLab CI/CD pipeline step?

Is there a way to add a GitLab CI pipeline step that launches a Selenium test which is coded in a Selenium IDE file (.side) ?
2
votes
5answers
7k views

Has any faced issue when automating auto suggest text box using selenium webdriver

I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this ...
1
vote
1answer
58 views

Getting error while adding Test annotation in project using NUnit

I encountered with some errors when tried to add the NUnit Annotation to my code as shown in below image. I have done some error research from Here and here also following instructions from here too ...
-1
votes
2answers
45 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
vote
3answers
2k views

Selenium finding video duration and playing video to 10%

I have a webpage where there is a video, i want to find that video duration and play that video to 10% of the total time. I am new to Selenium and searched on google but unable to find the solution. ...
3
votes
2answers
100 views

How an automation engineer could maintain a large messy existing test code base?

Background: For an UI automation large codebase having thousands of Selenium tests, which multiple people have developed/updated/patched over a period of few years. There is no documentation/manual ...
0
votes
1answer
23 views

TestNG with multiple datadriven

My code structure logic is this: I have to fill three sequential forms to add a entry in a list whose data is from Excel. I need each form to have entries from different Excel sheet, i.e first form's ...
-1
votes
2answers
43 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
vote
1answer
43 views

Getting Error at the time of saving the test cases in Katalon Studio

Getting below error while saving test cases after recording. Can someone help me to understand and how to correct this?
0
votes
1answer
48 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 ...
0
votes
1answer
47 views

Tool which will record my browser actions and allow me to execute the recorded actions from code

I am first time trying out automated web UI testing. I just tried writing selenium python code which logs in to the website, waits till it redirects to target page and then tries to fetch certain ...
1
vote
2answers
325 views

How to drag an element and drop it in another frame?

Hope you doing well, I'm trying to dragAndDrop an element from FrameOne to FrameTwo but not able to do so.Please help me to understand the concept and what I'm doing wrong here and need to achieve ...
1
vote
2answers
4k views

How to get the page size (content rendered) in selenium webdriver?

Background : Web page get blank (So script fails as there is no element to locate, only blank page) during selenium script execution in random place only on staging server while same working on ...
1
vote
1answer
201 views

How to structure data driven Protractor/JS tests in page object model?

I am using protractor/js for automating end to end tests for our website. We have a test data set that we have saved in different JS files and we use this data while executing test cases. We are ...
2
votes
0answers
24 views

Are there tools for Metamorphic Testing automation?

Reading about how to test a ML model, I've found the concept of "Metamorphic Testing" and this fits perfect on my project. Searching around Google I didn't find any Metamorphic Testing tools to ...
2
votes
4answers
51k views

How to determine whether element is clickable or not? [closed]

My Question is How to check whether the element is clickable or not ?.Is there any method to chat that like isElementVisible() or IsElementPresent() and etc ... Please let me know if one is having a ...
-3
votes
3answers
108 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? ...
4
votes
3answers
166 views

Is it really possible to be a Full-Stack QA & if yes then list the technical skills required?

Everyone needs an all-rounder whether it is a software developer or Tester these days. Hence we are hearing the term “Full Stack QA” these days so my question is what skill-set makes a Full Stack QA &...
0
votes
1answer
30 views

Capture arguments of onclick() javascript call using Selenium Java

I am writing a selenium script in Java to capture the arguments passed in JavaScript onclick() call/method. Attached is the image in which method/function name is highlighted. Now, In this method ...
-3
votes
1answer
1k views

How to develop data driven framework using Selenium with C#? Please provide example [closed]

How we can develop data driven framework using Selenium with C# to test the web applications? In your response can you please provide an example?
0
votes
1answer
35 views

How to test SSO integration?

I am doing QA for a website, and they have recently added SSO integration for their website. How can I manually test that this SSO integration is working fine. Also I need to automate the testing ...
0
votes
1answer
579 views

No Option To “Generate Step Definitions” In Specflow

I do not see the option to "generate step definitions" in Specflow. I have installed the Specflow add-on by going to: Tools >> Extensions And Updates I have also added NUnit3 Test Adapter. ...
0
votes
1answer
37 views

Waiting for asynchronous process in system-tests

Note: I am aware that this topic is broad and maybe subjective, however, I do not know any better place to ask. If you close it, please tell me where I could ask instead. Assuming we are running a ...
1
vote
3answers
195 views

Loading Test - Address already in use

Good morning colleagues. I have jmeter test scenario I must run on my back-end service. If I use 1 or ~50 Threads(users) in one time there is no problem. But when I try to set more than 50 users I ...
2
votes
2answers
3k views

How can I automate the testing of flash games?

If I want to automate testing of flash games like car race, bike race bubbleshooter, video slot games or video poker. Is there any open source automation testing tool available for this purpose. I ...
0
votes
4answers
4k views

What is the difference between Selenium vs Appium WebDriver?

When exploring automation for Android with running Appium server, I noticed using Selenium WebDriver my code works fine. In a previous example, I saw Appium driver for iOS automation. So what is the ...
0
votes
1answer
27 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 ...
-1
votes
0answers
32 views

Should servers like Tomcat be used in test automation projects? [closed]

Developers use servers like Tomcat and GlassFish. When implementing test automation projects, should QAs also use such servers (please ignore the the platform and technologies) in order to run test ...
1
vote
2answers
144 views

What are the types of Xpath expressions for web application automation

What types of Xpath expressions can I use when automating web applications? I need to know different ways of finding elements so that if I can't use an ID I can always locate the element I need to ...
3
votes
0answers
481 views

Karma/ Jasmine testing framework - tests don't appear to be executed

I am looking to implement the Karma/ Jasmine test suite/ framework for use with my AngularJS app. Having never used a testing framework previously, I have followed the tutorial - to give it a go, ...
0
votes
0answers
32 views

How can I keep this framework scalable?

I am developing an automated test suite for regression testing using Extent Reports, Selenium WebDriver and C#. The tests are confined to a single Visual Studio console app. What I have right now ...
-2
votes
0answers
28 views

Any one having idea about Bamboo Atlassian testing tool

Need help to implement testing using this tool. Does Anyone have a tutorial about it or has anyone already worked with it? Thanks
3
votes
3answers
82 views

How to catch a spinner?

Note: This is intended as a Q and A post for sharing successful strategies. Please, feel free to add more solutions! Problem background: Automating a web application Tester with limited access to ...
1
vote
1answer
27 views

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

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

How to validate against texts overlapping each other using selenium?

I am writing automated test cases for a company. One interesting problem is that texts on a webpage overlap each other, is there anyway to validate against this?
1
vote
2answers
1k views

How to resolve NoSuchElementException in Selenium with java?

CODE: driver.findElement(By.name("USER")).sendKeys("XYZ"); driver.findElement(By.name("PASSWORD")).sendKeys("abc"); I have tried various ways not just name but by xpath, css selectors but every time ...
0
votes
1answer
449 views

calling TIS/TSM in non-main thread environment

macOS 10.14.3 Chrome 72.0.3626.96 Chromedriver 2.46 While trying to execute following code I receive an error: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa....
1
vote
1answer
62 views

How to split a variable in Selenium IDE?

I am quite new to Selenium IDE. I want to split an error message and extract the first word of the error message. I have used the following commands as in the image. Following are the results of the ...
0
votes
1answer
48 views

What is shift left concept means in AGILE?

What is shift left concept means in AGILE? What is agile and shift left concept? How to use it in a software development life cycle
23
votes
7answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
5
votes
3answers
85 views

Automation tools able to trigger an action after detecting a sound

I have a system that at certain point makes a sound like a "beep". When that sound comes we need to perform an action, but we do not know at what time the "beep" will occur. We want to capture the ...
14
votes
4answers
11k views

Moving from Selenium to Protractor

I have been using Selenium/Java/Maven for functional automation testing in my project. But since angular is getting a lot of popularity, the development team has started using it for the development ...
0
votes
2answers
132 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
0answers
14 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 ...