Good afternoon.
I'm testing my company's streaming service, which works like twitch.
The task is as follows: Log in to your account and simulate viewing the stream ( and chat)
I was thinking of writing code in selenium. But as far as I understand, in this case you will have to use your own driver for each thread. I'm afraid it will take up too much memory.
Now the question. It's true? Is there a way to avoid this? What methods would you recommend to solve this problem?
I just came up with the idea to try not drawing videos to save resources. But there is one caveat here, so that the streaming service doesn't think I'm a bot. In other words, I have to constantly get it, but not draw it. This won't work with selenium.
The question is as follows: is it possible to send login data to the form and "view" the stream programmatically in Java? Which libraries should I use?
Can you recommend the necessary libraries with links to the functionality I need?
What you can achieve with a codeless Selenium tool. Test automation that works across technologies, and that doesn't use any code means end-to-end testing that simulates real user experiences can be created fast, and can be scaled to enable quality delivery at speed.
1. Windows apps Testing. As Selenium WebDriver is specifically used for automated testing of web applications, we cannot use it for windows based applications. For example, if we want to automate tests for a Windows application, such as a native 'Calculator', it is not possible via Selenium.
You can use a service for cloud-hosted testing for this, you will not have to care about the testing infrastructure then. Some services allow you to use Selenium in the test scripts, so test creation will be similar to a local testing experience. Here is a link to a service that will allow you to achieve what you need and you can run some tests for free there. Also here is a step-by-step guide to create and set your test.
The easiest way to achieve this would be to use Selenium Grid with TestNg. As long as you need to validate the front end, selenium is the tool, if not 100%, you can simple test using API calls:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With