Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
35 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
32 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
25 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
94 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
83 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 ...
1
vote
1answer
20 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
66 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
29 views

GITHUB Branching & Merging Challenges

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
51 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
28 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
70 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
66 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
77 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
54 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
43 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
56 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
110 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
100 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
181 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
59 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
147 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
24 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
44 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
173 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
45 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
90 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
63 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
18 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
45 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
2answers
145 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
229 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
63 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
221 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/...
0
votes
0answers
63 views

Serenity Test Screenplay

I am trying to create a test where I want to click a button after successful login. I can log in successfully my problem is that when it comes to the step of click button I get. [main] ERROR net....
3
votes
2answers
184 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
398 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[...
0
votes
1answer
47 views

What are the tools can be use for functional testing for an EXTJS application?

I have to test an application developed using extjs. Mainly I have to focus on functional testing. Are there any new tools and frameworks that can be used for testing? I've searched about several ...
1
vote
3answers
40 views

Randomise the data for a sign up form

Which is the best/efficient way for a QAE to test the field validations for a sign up form: 1: Do I need to create a util class to randomly generate the data? or 2: Do I need to take hard-coded test ...
4
votes
6answers
202 views

How can a beginner develop an automated testing framework completely from scratch?

I am completely into manual testing, I was asked by my manager to start developing an automated framework for my company website and mobile application. I am a complete beginner and have a very little ...
-1
votes
1answer
61 views

Two automation tools for GUI automation of single application

We are planning to have two separate automation tools to automate our current application, as tool-1 does not support some critical functions. Integration is difficult between these two tools. Will it ...
2
votes
3answers
46 views

Is an explicit call to open a menu preferable?

I am writing test automation for a web app whose navigation is behind a 'hamburger menu'. That is, an icon must be clicked to display the navigation options. I am considering two different designs: ...
0
votes
0answers
300 views

Rest Assured | Why getting repeated errors when trying to automate apis using rest assured?

I have just set up rest assured framework and implemented it as a maven project. My pom.xml has the below mentioned dependencies io.rest-assured rest-assured 3.0.2 test io....
1
vote
2answers
47 views

What is the best way to write TDD test cases? Can I achieve TDD through JMeter?

I have been asked to write test cases in the TDD style. I have no experience about writing TDD test cases. I have read about TDD and in essence it talks about defining test cases prior to code and ...
1
vote
1answer
52 views

Is there a way to check if an external program is running from Katalon Studio?

My application has a print document option that opens the pdf reader. Is there a way to check if the pdf reader is running from Katalon?
0
votes
2answers
1k views

How do I implement Extent Reports in my rest assured api testing framework?

I have recently started rest assured to automate apis. My current framework folder structure has an ApiTestCases class in a folder under src/test/java I have a testNG suite xml to run the tests. How ...
0
votes
2answers
117 views

How to retrieve dynamically all Web elements information from UI Screen using selenium?

Need to retrieve all elements information present in the UI screen. For more clarification i have attached the generic screen From above image i need to retrieve label-name ...
0
votes
1answer
90 views

Code to automate a web form in SilkTest tool using VB/.NET Language? [closed]

I am new to Silk test and dont know VB or .NET coding. Please provide a sample code to automate a website/form in VB or .NET?
0
votes
1answer
269 views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
3
votes
4answers
58 views

How to make automated test for logical output file generation?

I am Microsoft .net developer. I have written an application which imports XML(which contain information about the employer, employee, dependent, benefit plans, cafeteria etc) files into my various ...