61 questions
Advice
0
votes
0
replies
32
views
Designing a props-driven test framework for data quality validation - best patterns?
Question: I'm building a testing system for a data quality SaaS app where tests are entirely props-driven (similar to React component testing philosophy).
Goal: Create reusable, composable test ...
0
votes
0
answers
73
views
How to redirect maven build test errors in a specific file?
I need to redirect maven build test errors (including full exception) which I see in Jenkins build console into a specific file using cucumber+java+spring?
I've tried to use redirectTestOutputToFile ...
0
votes
1
answer
224
views
How to resolve the TestNG security vulnerability
How to resolve TestNG Vulnerability?
I want to use TestNG in my automatiuon framework but due TestNG active vulnerabilities not able to use it duer to security issue
1
vote
3
answers
6k
views
How to run a single .feature file in a Playwright + Cucumber automation testing framework?
I create Automation testing framework with Playwright + Cucumber.js written in Javascript language.
Everytime I type npm run test in the Console all the Cucumber scenarios (.feature files) are ran. ...
0
votes
1
answer
106
views
How to replace excel as input data for automation
I am working on an automation framework which requires me to validate the xml structure and value.
for ex.
Testcase: xyz
xml: <<Doc>/<firsttag>/<secondtag>
Value in the tag: 10
I'...
0
votes
0
answers
3k
views
go-junit-report is not found in jenkins' remote server but in local jenkins its working fine
I am running golang test cases and saving test result to testreport.xml by following command.
go test -v ./testqa | go-junit-report > testqa/testreport.xml
Where testqa is my test folder which ...
0
votes
2
answers
86
views
Elasticsearch5.2.1 source code compiling error
I had some difficulty compiling the ES source code.
1.I got elasticsearch-5.2.1 source code from https://github.com/elastic/elasticsearch/tree/v5.2.1.
2.I extarct elasticsearch-5.2.1.zip.
3.I use the ...
0
votes
4
answers
1k
views
Where on a Maven build should a test framework reside - src/test/java or src/main/java?
I understand from the previous answers on this site that, for Maven builds:
src/main/java will be deployed to production whereas src/test/java will not be.
src/main/java contains the main application ...
-1
votes
1
answer
1k
views
Can we automate a web appplication/mobile app without using element locators
This is shocking for me , one of the organisation offering service ,they do automation without using any element locators through their own framework , and they are promising to support web, mobile ...
1
vote
0
answers
316
views
Selenium WebDriver without a Test Runner?
I'm not sure if this question is going to be closed due to it being too novice but I thought I'll give this a shot anyway.
I am currently working on a Selenium Automation framework which, though ...
0
votes
2
answers
1k
views
What Project type do I use for Selenium SpecFlow based Visual Studio solution
I am working on building a test automation project for our application using SpecFlow, SpecFlow+ and Selenium WebDriver. Have been going through a few tutorials and each has a different viewpoint.
...
0
votes
0
answers
1k
views
Different behavior from Jest test when run locally and run via npm
Pretty short question. I'm checking that the opacity of a checkbox is 0 at a particular point in my test. It works perfectly and passes when I run it locally in my IDE (Intellij).
expect(...
0
votes
1
answer
1k
views
Understand the pricing of Appscript alone and not the entire GSuite for our existing GCP
Pretext:
I am a tester working on a project where we are migrating from Spark in GCP to BigQuery
I want to create a testing framework in mine with some features similar to Robot framework.
I found ...
1
vote
0
answers
154
views
SpecFlow find the steps definitions but it does not execute them
I am building a test framework using NUnit + SpecFlow + Selenium. I have a solution with two projects(so far). at the top level I have the Suite Framework so: PageFactory, DriverFactory, CommonPages, ...
2
votes
0
answers
146
views
Low level JSON manipulation library for Java
I am looking for a 3rd party library which can manipulate entities stored as JSONs.
This is intended to be used in the (cucumber) test framework to specifically tailor predefined JSON requests to a ...
-1
votes
1
answer
55
views
Use cucumber to interact with sub cucumber tests
We have a situation where we have several products (frontend, app, api) and each of them is tested already using cucumber.
Now we would like to test all the product together re-using the test already ...
1
vote
0
answers
142
views
Is it possible to have a base class for test driver in flutter Test framework?
I am trying to create a page object model in flutter for testing. Is it possible to create a test driver in one class(with setup and teardown) and use it in different page object classes and test ...
0
votes
2
answers
331
views
C++ Builder 10.3 Rio - Testframework
It seems that C++ builder 10.3. comes with a new testframework.hpp. The class Assert does not exist any longer.
Can anyone tell me how to use this new framework?
I am desperate because I wrote a ...
1
vote
1
answer
167
views
Should we have one action class in selenium keyword driven framework even though we have a lot of methods?
As per my understanding, keyword driven framework is, we create a keyword for each action we do and write the test cases in excel using those keywords.
For example, opening browser, entering username, ...
0
votes
0
answers
78
views
Storing elements of PageFactory
Hi I have many page classes with many WebElements like one of them:
public class DraggablePage extends BaseExtendablePage {
@FindBy(xpath = "//a[@href= '#tabs-1']") WebElement ...
0
votes
1
answer
72
views
Automatically test local javascript library on production page
I would like to write an automatic test that goes on a production webpage which is using a specific library and replace it with the version I have on local.
This is useful for me to verify that when ...
0
votes
0
answers
108
views
Cannot set Screenshots on test Listeners - selenium
I am creating TestFramework and want to set in TestListener class the method which take screenshots but during failed test the Browser closes, another browser is opened and the screenshot is created (...
1
vote
4
answers
596
views
Configuration Error: Unable to run scripts on mobile Device
Mobile device chrome browser is starting and closing, url is not getting fetched in the browser.
Eclipse: oxygen 1.0
Samsung S5
Appium version: 1.4.16
Browser : Chrome.
I am trying the hit the url "...
0
votes
1
answer
218
views
Cucumber Spring Framework to automate Google Calculator query
I am creating a Spring Framework to automate the Google Calculator
I have a feature file that has some values as defined below
Feature: Google Calculator
Calculator should calculate correct ...
2
votes
1
answer
770
views
testcafe works properly for individual test but all tests
I'm new in testcafe. Here is the issue I confronted recently. Please shine some light:
Say I got four testcafe tests, say A, B, C and D
It works smoothly if I run them one by one, testcafe chrome A....
1
vote
3
answers
891
views
Web Test framework for Mobile as well as Server browsers
Is there any framework available where I can write single set of test code for both Server browsers as well as Mobile browsers.
eg. test.py runs with Chrome on Android as well as Windows
I am ...
2
votes
1
answer
2k
views
How to run C++ tests based on GoogleTest with TFS 2015
We have a Visual Studio 2015 solution containing some C++ projects and some tests based on Google Test Framework.
Now I would like to run those tests with the quite new TFS 2015 build features. I ...
1
vote
2
answers
279
views
Test Automation Framework for different types of products
I have read some basic definition of what Test Automation Framework is but I wish to know in easy words and more practical example.
Lets say.
I own a company that makes different kinds of products ...
2
votes
1
answer
360
views
Haskell Test.Framework specify number of tests to run from command line
This documentation implies that Test.Framework can be run with command line arguments. There is a function defaultMain :: [Test] -> IO () but also the function defaultMainWithOpts :: [Test] -> ...
0
votes
1
answer
1k
views
How do test frameworks stop execution of running tests?
I'm implementing my own test framework in .NET and ran into a problem with how to correctly stop execution of a running test. The test method being executed is obviously not cooperating so I can't use ...
0
votes
2
answers
176
views
Is it possible for methods to have dual access modifiers? [duplicate]
I have many methods that are defined internal like so:
internal static string GetAJobShaNaNaNaShaNaNaNaNaNa(string Silhouettes)
However, in order to call them from a test project added to the ...
0
votes
1
answer
1k
views
How can I get the NUnit GUI test runner to make itself available from Visual Studio?
I NuGetted NUnit (v 3.0.1) and NUnit Test Adapter (v 2.0.0) into my VS 2013 project, and then wrote a class that should allow me to run a test:
using NUnit.Framework;
namespace RoboReporter
{
[...
1
vote
1
answer
693
views
How to print the test seed in Haskell's test-framework?
The test-framework docs state that it supports "Reporting of the seed used upon a failed QuickCheck run, so you can reproduce the failure if necessary." However the default output does not display ...
2
votes
1
answer
2k
views
Measure C# .net code coverage via API tests
I have the pleasure to work in a project with zero unit test coverage and non testable code. The only tests that are currently existing are API tests tuning a REST/SOAP interface. Now I'm asking my ...
1
vote
2
answers
235
views
Queries regarding Oracle Siebel Testing
I am new to Oracle Siebel testing. I have read about Oracle Application Testing Suite which can be used for testing Siebel.
I have gone through Oracle videos regarding application testing suite and ...
0
votes
1
answer
216
views
Suggestions for implementing a solution using Singleton design pattern
I need to implement a solution as part of Test framework & I am considering singleton pattern for reasons explained below. However, I am not able to achieve my intended solution & therefore ...
1
vote
3
answers
612
views
How to test proprietary network protocol
I have a system I want to test, the system handles a proprietary network protocol (this need to be checked). The tested protocols are over TCP and UDP.
I'm looking for a software I could install on ...
3
votes
1
answer
2k
views
Testing Event driven behavior
There seems to be a ton of advice for this sorta thing in the context of a GUI application. I think my particular scenario is different enough to warrent me asking. To sum up my question how do you ...
0
votes
1
answer
103
views
How a test framework behave when we add a new test case in the middle of the existing test cases?
I have a questions on automation framework, Suppose i have 1000 test cases. I am adding a new test case in the middle.
e.g. I have 1000 test cases. I am adding a test case in the middle (501th). What ...
1
vote
1
answer
4k
views
In Robot Framework, in the test case teardown phase, how to check whether the current test case is fail or pass?
In Robot Framework test case, we can create Teardown phase to do clean-up activities.
| *Test Case* |
| testcase1 |
| | [Setup] | Setup Actions |
| | Do Something | Args |
| | Do Something | ...
74
votes
3
answers
25k
views
What's the difference between assertion library, testing framework and testing environment in javascript?
Chai is an assertion library.
Mocha and Jasmine are testing frameworks.
and Karma is a testing environment.
I've already read Difference between available testing frameworks: mocha, chai, karma, ...
0
votes
1
answer
98
views
How to use test-framework-th with multiple modules containing tests?
I want to use test-framework-th for generating test groups.
I have this main test module:
module Main where
import Test.Framework.TH
import Foo.Test
main = $(...
4
votes
2
answers
5k
views
TestNG vs Spock for Automation [closed]
We are looking at implementing a test framework and curious as to which framework to use. We are choosing between TestNG and Spock. This is going to be a UI Automation framework so it should handle ...
1
vote
3
answers
2k
views
CodedUI tests project structure
Can you please share the structure of your CodedUI test projects?
It would be interesting to see how you separate tests, helpers, UIMaps.
-1
votes
1
answer
228
views
Creating Testdata in HTML format for Robot test framework in python
I am trying to use robot test framework. I have some knowledge in python. I read most of the tutorials available online but all the tutorials are explaining some example but when it comes to my work(I ...
10
votes
3
answers
4k
views
Can I create a custom TestContext timer for UnitTest/LoadTest in Visual Studio?
A few of my UnitTests have a Sleep that is defined in a loop. I want to profile not only each iteration of the test, but the overall time for all iterations, in order to show any non linear scaling. ...
5
votes
1
answer
3k
views
How to pass data from a UnitTest to a LoadTest?
During my UnitTest, I am creating data that needs to be referenced in future UnitTests. For example:
[TestMethod]
public void CreateOrder()
{
Order order = new Order();
int orderNumber = ...
1
vote
2
answers
403
views
Please provide a simple test-framework example that uses QuickCheck2
I'm struggling a little to get this basic test-framework example to work with QuickCheck2. I get the following error that is mentioned on the above page, due to the example's use of QuickCheck 1. I ...
1
vote
2
answers
926
views
User scenario testing for Java Applications on PC [closed]
I'm looking for a good Testing-Framework for Java GUI Applications. For Android I know Robotium and it would be really cool if there is something similar for Java PC Applications.
Example Testcase:
...
3
votes
2
answers
324
views
How to make Test-Framework to report about the reason of QuickCheck's fail?
For example I have a testing code like this:
import Data.Decimal
import Data.Ratio
import Data.Word
import Test.HUnit
import Control.Applicative
import Debug.Trace
import Test.QuickCheck
import ...