Selenium

Selenium

DevOps / Build, Test, Deploy / Browser Testing
Needs advice
on
SeleniumSelenium
and
TestCafeTestCafe

What tools will be a good fit for the AngularJS application? I am experienced in Selenium WebDriver with Java. Any suggestion for Selenium or TestCafe?

READ MORE
2 upvotes·285.1K views
Replies (1)
Recommends
on
Cucumber
at

I gather you're asking about "browser driver" frameworks for functional testing. I can recommend Cucumber for your general functional testing stack: it's a must. Regarding browser drivers, many modern competitors to Selenium emerged, but while I had extensive experience with Selenium, I had not with competitors. Take a look at this presentation: https://www.youtube.com/watch?v=89riVKOTyFY (collateral: https://github.com/unlikelyzero/life-after-selenium). It might help.

READ MORE
4 upvotes·136 views
Software Engineer at Innovature labs·
Needs advice
on
CapybaraCapybara
and
WatirWatir
in

I want to open a page from the Presigned S3 URL. But while using Watir and Selenium am unable to do this. Is there any solution.?

READ MORE
2 upvotes·16.8K views
Needs advice
on
IonicIonicPhoneGapPhoneGap
and
React NativeReact Native

Looking for some advice: we are planning to create a hybrid app for both iOS and Android; this app will consume a REST API. We are looking for a tool for this development with the following attributes:

  • Shallow learning curve; easiness to adopt (all team is new into mobile development, with diverse backgrounds: Java, Python & AngularJS),

  • Easiness to test (we discarded Angular-based tools already: creating a unit test in Angular we considered time-consuming and low value. At this point of the project, we cannot afford UI testing with Selenium/Appium based tools).

  • So far, we are not considering any specific capability of the device. Still, in the mid/long term, we would require the usage of GPS (geolocalization) and accelerometer (not sure if it's possible to use it from a hybrid app). Suggest any other tool if you wish.

READ MORE
6 upvotes·378.4K views
Replies (4)
CEO, Co-founder at inPlace·
Recommends
on
Kivy

If your team has a strong background in Python and you want to release some prototype soon, you could try Python and Kivy. Kivy is an open-source, cross-platform Python framework for rapid development of mobile GUIs. It supports both iOS and Android. I have passed a similar situation recently: to start a mobile app with no background in mobile development. Kivy saved me a lot of time. I could develop a prototype and release it faster than I thoght.

READ MORE
5 upvotes·60.9K views
Engineering at Xtartup·

To be honest , You need to think these points :

  • Developer Experience

  • Tooling

  • Maintainability

My vote for now is going with React Native with Expo , using Typescript...

With this stack You could follow some patterns and principle that the Java and python programmers are familiar with.

Typescript is a javascript Superset that you can follow Procedural , Functional and OOP approaches and an easy learning curve.

With Expo you need to concern only with the shared layer (Typescript) and the Native ones will be expo responsibility.

Please check Expo.com and try to get started using typescript.

Good performance and with EAS (paid plan) you can create a full CI CD pipeline for your app connected to the stores(Apple and Android).

READ MORE
4 upvotes·62.3K views
View all (4)
Needs advice
on
JUnitJUnitNUnitNUnit
and
SeleniumSelenium

We are looking for a Testing Tool that can integrate with Java/ React/ Go/ Python/ Node.js. Which amongst the three tools JUnit, NUnit & Selenium would be the best for this use case?

READ MORE
2 upvotes·476K views
Replies (2)
Java Software Engineer ·
Recommends
on
JUnit
Selenium

Well, Selenium because it is best for web application testing including UI and end-to-end testing. It also have WebDriver bindings are available for multiple programming languages including Java, Python, JavaScript/Node.js, etc. BUT, yes, there is a but, it is important to note that Selenium is primarily used for web application testing (well, based on your use case) and you need tests on a modular level. JUnit is for Java.

READ MORE
4 upvotes·72 views

I would recommend two other tools which are both very similar to each other partially because the same core team wrote both of them. One for Google then went over to Microsoft to do something similar. These tools are designed to work at testing modern websites which could be single page applications (SPA)

READ MORE
3 upvotes·526 views
Needs advice
on
Karate DSLKarate DSL
and
SelenideSelenide

I want to test a website and want to use the wrapper for Selenium, like Selenide. Please suggest any other wrapper like selenium.

READ MORE
2 upvotes·36.2K views
Replies (1)
Recommends
on
Selenide

Hi Aatisha! I suggest to use Selenide.

What are your criteria? Why are you looking for another wrapper?

READ MORE
2 upvotes·151 views
Needs advice
on
PuppeteerPuppeteerseleniumselenium
and
ScrapyScrapy
in

I work in a company building web apps with AngularJS. I started using Selenium for tests automation, as I am more familiar with Python. However, I found some difficulties, like the impossibility of using IDs and fixed lists of classes, ending up with using xpaths most, which unfortunately could change with fixes and modifications in the code.

So, I started using Puppeteer, but I am still learning. It seems easier to find elements on the webpage, even if the creation and managing of arrays of elements seem to be a little bit more complicated than in Selenium, but it could be also due to my poor knowledge of JavaScript.

Any comments on this comparison and also on comparisons with similar tools are welcome! :)

READ MORE
5 upvotes·991.4K views
Replies (1)
Senior Developer at roeschke & roesche Werbeagentur·
Recommends
on
Protractor

For testing angularjs and Angular, it is better to go with protractor because it' better integrated, easier and faster. Sometimes it is difficult to capture the web elements in AngularJS applications using JUnit or Selenium Webdriver. Protractor supports Angular-specific locator strategies, which allows you to test Angular-specific elements without any setup effort on your part and without sync problems you have with selenium only.

READ MORE
3 upvotes·6.4K views

I am looking to purchase one of these tools for Mobile testing for my team. It should support Native, hybrid, and responsive app testing. It should also feature debugging, parallel execution, automation testing/easy integration with automation testing tools like Selenium, and the capability to provide availability of devices specifically for us to use at any time with good speed of performing all these activities.

I have already used Perfecto mobile, and Sauce Labs in my other projects before. I want to know how different or better is AWS Device farm in usage and how advantageous it would be for us to use it over other mentioned tools

READ MORE
8 upvotes·201.3K views
Replies (3)
Testing Strategist at One Shore·

A SaaS offering like Sauce Labs (or BrowserStack or LambdaTest, etc) will provide a remote Selenium/Appium Grid including the ability to run test automation in parallel (up to the amount based your subscription level) an a wide array of browsers and mobile devices.

These tools can be expensive, but if you can afford them, the expertise and effort of maintaining the grid, browser updates, etc. is worth it.

AWS Device Farm can be significantly cheaper, but is much more work to setup and run. It will not give you as many devices, or the reporting and screen/video capture you get with the the services. And there is no support for AWS Device Farm, and very poor documentation. I have used it, but do not recommend it. Running your own grid and physical device lab is better, but I'd stick with a service like Sauce Labs or Perfecto which will save you time and give you better services despite the higher price tag.

READ MORE
3 upvotes·9.3K views
Recommends
on
BrowserStack

Stability - Just works. Availability - More than 15 datacenters. Enterprise features like SSO, local testing and SOC2/GDPR compliant.

READ MORE
1 upvote·79.6K views
View all (3)
Managing Director at Bettison.org Limited·
Shared insights
at

In 2012 we made the very difficult decision to entirely re-engineer our existing monolithic LAMP application from the ground up in order to address some growing concerns about it's long term viability as a platform.

Full application re-write is almost always never the answer, because of the risks involved. However the situation warranted drastic action as it was clear that the existing product was going to face severe scaling issues. We felt it better address these sooner rather than later and also take the opportunity to improve the international architecture and also to refactor the database in. order that it better matched the changes in core functionality.

PostgreSQL was chosen for its reputation as being solid ACID compliant database backend, it was available as an offering AWS RDS service which reduced the management overhead of us having to configure it ourselves. In order to reduce read load on the primary database we implemented an Elasticsearch layer for fast and scalable search operations. Synchronisation of these indexes was to be achieved through the use of Sidekiq's Redis based background workers on Amazon ElastiCache. Again the AWS solution here looked to be an easy way to keep our involvement in managing this part of the platform at a minimum. Allowing us to focus on our core business.

Rails ls was chosen for its ability to quickly get core functionality up and running, its MVC architecture and also its focus on Test Driven Development using RSpec and Selenium with Travis CI providing continual integration. We also liked Ruby for its terse, clean and elegant syntax. Though YMMV on that one!

Unicorn was chosen for its continual deployment and reputation as a reliable application server, nginx for its reputation as a fast and stable reverse-proxy. We also took advantage of the Amazon CloudFront CDN here to further improve performance by caching static assets globally.

We tried to strike a balance between having control over management and configuration of our core application with the convenience of being able to leverage AWS hosted services for ancillary functions (Amazon SES , Amazon SQS Amazon Route 53 all hosted securely inside Amazon VPC of course!).

Whilst there is some compromise here with potential vendor lock in, the tasks being performed by these ancillary services are no particularly specialised which should mitigate this risk. Furthermore we have already containerised the stack in our development using Docker environment, and looking to how best to bring this into production - potentially using Amazon EC2 Container Service

READ MORE
8 upvotes·771.5K views