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 [test-automation-framework]

A test automation framework provides a superstructure for automated tests. The superstructure may include APIs, coding practices, ways to structure and run the automated tests.

0
votes
2answers
14 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? ...
0
votes
0answers
10 views

To display error message when radio button is not selected

I am working on a project, where I have to catch the error message on radio button. When you submit the page or form, without selecting the radio buttons, it shows on top of radio button that 'please ...
0
votes
0answers
37 views

Error while trying to pass a numeric value using string [closed]

I am trying to read data from an excel sheet and write on my application. But shows an error while trying to pass a numeric value using string import java.io.FileInputStream; import java.util....
0
votes
0answers
19 views

Vulnerability scanner with different scan profiles

As part of our development, we also want to test vulnerabilities for our Scrum teams in addition to load testing our websites. This should be planned in accordance with the sprint planning, found ...
2
votes
2answers
40 views

How often should we carry out load testing during development?

Within our team we would like to do load tests in a CI process. For this we want to use either Jmeter or just a comparable tool. Jmeter offers u.a. the possibility that one can plan and execute a test ...
0
votes
0answers
45 views

How to explicity fail e2e tests on unexpected behavior?

I am currently using protractor but the idea would be similar for any flavor of Selenium. Right now, depending on which step the test is on, my current framework will wait for elements to be ...
3
votes
3answers
122 views

To build a framework or a set of libraries?

I've met with two approaches for test automation in the companies I've worked for: Frameworks: providing unified format for test reports, same syntax for writing all tests, and other tools, ...
0
votes
0answers
18 views

Needs inputs on selecting Python Automation Framework [duplicate]

Need Ideas for selecting a python automation framework for my Project which interacts BigData applications like Spark, Hbase, Kafka, etc...
0
votes
0answers
16 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
0
votes
1answer
45 views

Error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/

Team, Trying to install lib which is pre-requisite to run my automation code, observe below error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/...
1
vote
1answer
44 views

Not able to reference value of variable in Robot Framework

In Robot Framework, I want to reference the value of a variable, I had set earlier. But when I reference the value by: xpath= //*[text()=\${uid}] I do not get the value of the variable uid but ...
3
votes
1answer
153 views

Getting Syntax Error while launching RIDE

I have installed Robot Framework, as well as wxPython 2.8.12.1. After I installed RIDE, and launch RIDE by executing ride.py, I am getting the following error: C:\Python27\Scripts>ride.py ...
1
vote
0answers
33 views

Architecture of WebDriver-based GUI tests. How to break base helper into smaller ones?

I create automation tests for web using WebDriver and now architecture is like this: Description: HelperBase.java: contains extended methods for WebDriver which could be used in any project, they ...
0
votes
2answers
54 views

How should I design test automation project by including UI testing, DB testing and API testing components?

We are planning on revamp for an old system. Also previously we haven't done any test automation tasks too. So my plan is to start the automation project earlier for the existing system and give a ...
0
votes
1answer
52 views

what is the good practice to instantiate page object in POM and PageObjectFactory

I am practicing POM and Page Object factory. I would like to learn good practices in instantiating the pages. till now I am Instantiating the pages from test class (e.g. TC_01_Register.java) using ...
0
votes
1answer
83 views

What are design patterns for REST Assured?

For Selenium usually Page Object Model is used. What are good design patterns for REST Assured to organize structure, files?
1
vote
1answer
26 views

Do Test Runner and Testing Framework exists separately in Java?

As per my knowledge, test runner is any software that takes testing code and as per the configuration, executes the code and collate the results while the testing framework is basically the name given ...
4
votes
0answers
122 views

How would you convince someone that the Page Object Model pattern is important?

I'm looking for canonical answers explaining the importance and advantages of the Page Object Model design pattern, specifically answers that I could point to for people who claim the pattern is ...
2
votes
3answers
99 views

Which approach should be applied when automating stories? What are the approaches or methodologies for it?

Here is what approach means to me while automating any story Normal approach should we automate only functional flow not caring about the UI things like font of text, font type of text, color of ...
2
votes
1answer
25 views

How have you automated the generation of software test documentation for ISO62304 testing?

I am working in a Medical Device/FDA/ISO62304 Software documentation world. I would like to know from those who document unit and integration tests, how do you document testing. Part of the reality ...
1
vote
2answers
72 views

What an automation engineer could do to maintain a large 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 ...
1
vote
1answer
40 views

GITHUB Branching & Merging Challenges [closed]

We have a team of 6 automation QA resources. We are using GitHub to update our automation scripts and merge to master. This project contains test cases for smoke and regression test scenarios. It ...
1
vote
1answer
75 views

Where to initialize TestNG TestContext

I have a TestRunner class that starts my TestNG like this: TestRunConfigs configs = TestRunConfigs.parseCommandLine(args); TestNG testRunner=new TestNG(); testRunner.setXmlSuites(getXmlSuites(...
0
votes
1answer
40 views

Create custom annotations for automation framework

I have over 3 years of experience in Java+Selenium WebDriver+Maven framework. I have people using different annotations applied on functions. These annotations were not part of tool's inbuilt feature ...
23
votes
6answers
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 ...
-1
votes
2answers
101 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?
0
votes
1answer
87 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 ...
2
votes
2answers
133 views

Should I store my test results in a database or google docs?

I'm currently trying to decide what is the better place to store my test results; database (sql/nosql) or in a spreadsheet placed in google docs. I have the impression that storing it into a database ...
2
votes
1answer
63 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where i need to click on the radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
1
vote
1answer
74 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
0
votes
1answer
77 views

Selenium is not performing Click Action on the Radio Button

Issue: I am trying to perform a click on a radio Button but it is not working it just bypass the step and perform the next step doesn't even give me any error message *Intention is to click on refund ...
2
votes
1answer
114 views

How do you construct Selenium Test Cases

I am new to SQA especially test automation. Could you please help me on how do construct Selenium Webdriver TestCase. Is it one test case per class ? Edit: I might be just lacking some general ...
0
votes
1answer
304 views

How can I create a dynamic feature file in Cucumber?

I have knowledge about static feature file and it is tough to handle for test case. I want to create dynamic feature file or dynamic content for test case in feature file.
3
votes
6answers
187 views

Automation Testing 2nd Interviews: How technical should you be?

Hi I would really appreciate some feedback. Over the past year, I've learned: Protractor Seleninium webdriver Appium Postman Rest api Java JS My CV is great. The 1st round of interviews I ...
0
votes
1answer
119 views

Unable to run protractor script

I'm not able to run my protractor tests. Getting the below error: grunt cltest Running "protractor:singlerun" (protractor) task (node:26770) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. ...
4
votes
5answers
162 views

Test automation role: challenges beyond automated tests and frameworks?

Before asking the actual question, let me describe the current situation. The IT department consists of a few Scrum-like teams, with one or two software testers per team. Furthermore there are two ...
0
votes
1answer
28 views

Cucumber Feature on executing throwing "The path to the driver executable must be set by the webdriver.chrome.driver system property;

I am Using Cucumber Selenium Framework for Test Execution. And I have set system Properties correctly because the same script was running fine but now it is throwing "The path to the driver ...
1
vote
1answer
51 views

Getting nosuchElement Exception for a web element even though I tried all possible solutions

I am using Selenium with Cucumber to automate one web application, But I am stuck at one element which is not working out with the XPaths and link text I also applied the implicit and Explicit wait, ...
0
votes
2answers
243 views

Jbehave Vs Robot Framework - pros and cons

Which one is the better option for web application testing - JBehave or Robot Framework? Comparison between JBehave and Robot Framewrok.
1
vote
2answers
71 views

Advice on assertions to make when creating an API testing framework

I'm currently looking at building an API test automation framework for a series of Rest Services, utilising c#. Coming from a UI-automation background I was after some advise on assertions when ...
2
votes
1answer
148 views

What are the pro's and con's of writing an API test automation framework at code level as opposed to using a tool

As I look into writing automation frameworks at the API layer(relatively new to this area), a question that keeps cropping up in my mind is.....why should I write an automation framework at code level ...
0
votes
1answer
116 views

Specflow tutorials which cover UI testing

When initially delving into the realm of BDD my initial foray was with Java and Cucumber. I found a wealth of knowledge online which allowed me to get to grips with this, specifically real-world ...
0
votes
0answers
26 views

Writing Selenium test scripts in JavaScript with features of Selenium-Jupiter?

I'm trying to prepare a test automation framework targeting NodeJS that is intended for developers familiar with JS but not (necessarily) Java. Selenium is at the core of the solution because all the ...
0
votes
1answer
54 views

How can I solve OutOfRangeException on using Selenium C#

I was 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 ...
0
votes
3answers
241 views

Unable to switch into third window - Selenium

I'm using below code to switch into windows : Set<String> handle=driver.getWindowHandles(); System.out.println(handle); Iterator<String> it=handle.iterator(); String ...
9
votes
4answers
249 views

In Page Object pattern, aren't we creating over-specialized methods than generalized re-usable functions?

Background: In the Selenium UI automation we all have been using Page Objects pattern as the "Best Practice" for years. In Page Objects "methods" are tightly coupled to pages instead of generic ...
0
votes
2answers
64 views

Is there an open-source Selenium Webdriver Test Automation Framework that's already available in the market?

I've been practicing Web Automation for a year now. This may sound funny , but, is there a Test Automation Framework for Selenium Webdriver? (Java binding). Like, when you set up the framework, it ...
0
votes
0answers
243 views

How to debug a protractor test written in typescript using cucumber?

I have a sample project with my test cases written in protractor in ts. I could not able to debug the ts. package.json "debug": "node --inspect=1337 --debug-brk --nolazy node_modules/cucumber/bin/...
3
votes
2answers
225 views

How to automate an app with a shopping cart that uses dynamic menus?

How can I use selenium automation to test an Online Ordering application/system that has dynamic menus? I have a test case where I need to validate for "new!" promotional items, new weekly/monthly ...
0
votes
1answer
489 views

How to get the Indexes of all columns In a Single Row using Selenium WebDriver and C#?

For single web element in that row i got index..for multiple column in a single row how to get the index: IWebElement colelement = driver.FindElement(By.XPath("//div[@id='grdBooking']//table//tr/ th[...