All Questions

Tagged with
-1
votes
0answers
40 views

How to abstract data classes to be more object oriented?

I have run into problems keeping my tests as object-oriented as possible. I have had to rewrite large portions of my code multiple times now, and I feel that there is a better approach to what I'm ...
1
vote
1answer
65 views

How to test the automation of a process?

After "automating" the import of some data, I need to test this. Yet I have no idea how to actually test this. Info about the "automation": We are having an application which has several "jobs". ...
1
vote
1answer
30 views

High-level help desired in forming a plan of attack for testing of background “cleanup” tasks

I have written and continue to maintain a fairly complex back-end service written in Java that scrapes arbitrary web sites, involves long-running processing jobs, and includes background tasks that ...
1
vote
2answers
29 views

Which Design pattern(s) can I apply to robustly instantiate new users in the system from a test automation perspective

Consider a user Account that contains the following members: Username Password Account Type (User/Admin) Security Question (Option of 5 choices) Security Answer A handful of booleans for various ...
4
votes
5answers
481 views

Should I open the same page in every test?

I'm new to automated testing and asking for your help. As I know every test should have its own steps and if I define several tests in one class, should I open the same page several times in each ...
2
votes
5answers
404 views

Managing Test Data for UI testing

I am working on a Java/TestNG UI automation framework and having some difficulties with test data management. I use TestNG's DataProvider to pass data to the test method. I need to pass about 30 ...
5
votes
2answers
1k views

How to test current time, date/time through automation?

I've tests where I've to check whether current time and current date/time is correctly returned by my APIs through automation. Suppose, getCurrentTime() returns current time in format HH:MM:SS (A/P)M ...
1
vote
0answers
55 views

How to get the name of all the test methods and functions in a test?

I am developing a framework where I need to do the reporting of my tests. I have to do this from scratch with out using junit or testng. I need to create a custom annotation @Testing and write a test ...
1
vote
1answer
152 views

How can I maintain test data in response[expected] against request[input] using java? How will it be if I use JBehave?

I have many scenarios to create request file that are sent to another application. This application processes the requests and sends back the responses. These responses should be validated against the ...
0
votes
2answers
6k views

Difference between Singleton, POM, Abstract design patterns

These are the three most popular design patterns in JAVA. Most Selenium WebDriver projects are build on these. What is the difference between these three, with examples? Does Choosing a pattern also ...
0
votes
1answer
121 views

Testing Verify Method Call Without Argument In Test Class

I have a class which takes a message with payload String. The payload is then split and used to create an Entity which is passed to DAOInterface to persist. How can you test the call daoInterface....
12
votes
9answers
4k views

Tools for Server application testing [closed]

I'm currently working (almost finishing) a Java project that consists on a server application and some client applications on the same network, that will communicate with the server only to request ...