16

Great Question Niels. Given that it will depend on the given situation I would consider approaching this as a data gathering exercise. I would investigate what is the normal distribution from many repeated runs. If 99% of the time it remains correct after 1 minute (i.e. after 1 minute doesn't then change again) and the business considers a 1% failure (and ...


14

Quote:- If you can’t do great things, do small things in a great way. Automated testing requires more discipline compared to manual, Learning automation is not difficult but it requires a focused and planned approach. Keep this in your mind Cheating is acceptable in automation if you understand what you are doing. As you have more than two months to finish ...


6

In this kind of situation on a development server I would be looking to get some information from the system itself to tell me when it has finished doing something. I would expect the queuing system to be keeping records of what items have been on the queue, and what status they are now in. The easiest way to do this is if you can find a key in the queuing ...


5

I think in Python you can check for None or "" on Empty string Some options: self.assertEqual(element.text, None) self.assertEqual(element.text, "") self.assertEqual(len(element.text), 0) Also check this question for other options: https://stackoverflow.com/questions/9573244/how-to-check-if-the-string-is-empty


3

Test Automation on itself should not be a field if you ask me, therefor it is mostly software developers (that value automated testing highly) who write books/articles that drive the field. Because very good software developers are also very good testers. Kent Beck: My personal favorite is Kent Beck and his book Test-Driven Development. Beck was one of ...


3

Method click() that you invoke on located element does not return anything. It is void (you probably used this "type" in some of your methods declaration like public static void main(), etc). So as that method is called the last in your right-hand side of assignment, Java assumes you're trying to assign what the method returns to what you have on left-hand ...


3

Katalon has an example project on github: https://github.com/katalon-studio-samples/katalon-bdd-cucumber-tests Although I find the directory structure hard to navigate the feature example does follow a pattern like: Feature file (feature code example) Steps that use test cases in pages (steps code example) Pages that implement actions (page action example) ...


3

I personally divide the logic into three levels: feature file (Cucumber), step definition (Cucumber + Java), page objects (Selenium and Java). Cucumber separates business logic from the programming logic (1. and 2.) and the page object pattern separates test methods from the pages locators.


2

Get in contact with the developers. Just like with internal projects you probably need someone to guide you through the code to get started. Larger Open-Source projects often have a IRC channel or a mailing-list. If you are really intressted in helping the project and not just to understand their test-architecture you could send a message to a communication ...


2

"A journey of a thousand miles begins with a single step"- Lao Tzu Go Small .I would start with a known open source project- most likely an automation library which I am already using . I would make a list of interesting API methods which I am using on daily basis and curious about how they work under the hood. In this way I will take small baby steps to ...


2

You and your team cannot .... I repeat, simply cannot afford to have testers low on motivation. You can probably have lesser talented testers, high in morale and eagerness... but you just can't have people who are not motivated enough! Period! Poorly motivated period think negatively and their negativity can rub off on other resources. This will impact ...


2

This is going to be blunt. I don't know a not-blunt way to say this. First, learn to code. Working with Selenium, no matter what your toolkit happens to be, is writing code. If you don't understand the code or the principles behind the code, you will be constantly frustrated, and worse, you will irritate your peers with what will seem to experienced coders ...


2

You should consider: Which language to pair it with How to immediately integrate with CI How to approach naming identifiers, i.e. page objects What language application developers use (for pairing) How to handle timing issues and intermittent failures well Whether to use a js approach such as Jasmine, Jest, etc. for some/all tests Whether to use Visual ...


2

Organisations now want to hire technical testers that can write automation frameworks in Selenium webdriver, Java/python and CI/CT tools etc. Well, you already know how. It just takes time and action, you need to pick up one of these automation tools and learn it. That's your part and other ppl can only guide you on your way. But... ... don't let yourself ...


2

In similar circumstances I simply used another CI pipeline as the tool, the main reasoning being that re-using of the same execution environment should give the closest results to reality. You can set up another pipeline with the same settings but running on a single build or even a pre built version so you can focus on the tests part only.


1

Have a look at Alan Richardson who has a lot of online courses - mostly Java focussed and also useful for newbies (they are up-to-date and he provides coaching as well), books and is a general nice guy (not important in itself ;-) ) Another would be Richard Bradshaw who ticks the same boxes. Richard also provides several free online courses. Both are ...


1

so just for motivation purposes. I have been working as Testmanager and also for functional tester for many years. I am in same position like you, changed it to Automtion engineer - and surprise - at the age of 38 years! There are few steps how in my way it worked: Broad your technical skills like Java and/or Phyton with Focus e.g. on automated Framework ...


1

The event-queue triggering the state change could be overloaded. I would expect an event-queue to be sequenced; that is, events pushed into the queue in order (1, 2, 3) are popped off the queue in the same order (1, 2, 3 and not 2, 1, 3). Since the first event should not trigger a change, I would write two tests with the same canvas, each pushing a second ...


1

You can create a method that would validate data in one row of a table. It could accept the row number and expected values. So you would just reuse that method for all the table rows. This would make your code less complex and more readable.


1

I would say that such cases are good candidates for white-box testing. If developers are sure about what caused the issue to occur, the solution can be analyzed in terms of white-box techniques and tests can be designed to verify if supposed algorithm is indeed implemented in the way it was designed.


1

Katalon Studio supports Windows 10 application testing. From v 7.0 (currently in beta). I belive it is Winium based. More info here: https://docs.katalon.com/katalon-studio/docs/introduction-desktop-app-testing.html#windows-execution-type.


1

In my opinion, the only way to "convince" naysayers of the benefit is to show them real time in real life. Do it. Do one test all the way through. Test it in a bunch of environments and scenarios to demonstrate that it works. Software has moved to agile. For most of us, happily. CI/CD is a significant goal. That latter does not work without test automation....


1

It depends on how you define "available". Making a simple call and checking that you get a code 200 means the servers is up and it can recieve calls. Now if the API uses for example a database then the simple call might not detect underlying systems are wrongly configured. Personally I would want to ensure the API and its depencies are working. So doing a ...


1

Unfortunately the 'answer' is that you need to learn a lot more. You have been given an assignment that will likely require several hundred hours of study for someone not familiar with those products. Be aware of this. The steps I would consider taking: Get your free for a year aws account Learn how to use aws lambda - videos, books, classroom, labs, etc....


1

Another option you could try is Google Voice (voice.google.com). This will give you a web interface to a phone number which is free for your first number. I have used the app to test two factor authentication, so it should work for at least manual testing of your scenario. Google allows you to have one number without charge, but you need to pay for any ...


1

I suspect your problem lies with the errors: java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS This is saying that the phone does not have permission to run your software. Because your code is setting the capability "noReset" to true, you ...


1

There are two reasons for giving this error message: Valid error, means that someone changed the page or deleted the element. The page was not fully loaded hence selenium "throws" an error message In your case I would assume that second case appears. This means that you should use wait condition e.g.: WebDriverWait wait = new WebDriverWait(webDriver, ...


1

You Can Check if cell is numeric or String through this code if(MytempCell.getCellType() == Cell.CELL_TYPE_NUMERIC) your code ... else if(MytempCell.getCellType() == Cell.CELL_TYPE_STRING) your code ..


1

Interesting topic, I think I can see something similar in the company I work for. BUT... ... how do you really know they are not motivated? It's easy to use your assumptions and just rely on that. I'm in fact suggesting you should talk about that with them, they might have an interesting input as well :) If it really turns out they are not motivated, the ...


1

Make them co-stars Frequently application developers are considered the 'stars' and get the fame and money and recognition. Quality Engineers, whether manual or automated are seen as second class citizens. Your title says "deal with testers". That is a red flag. How do you 'deal' with application engineers is a different question. Currently there is a ...


Only top voted, non community-wiki answers of a minimum length are eligible