Is Selenium not suitable for Salesforce Velocity application? - selenium

We are using the Salesforce application with velocity in our Org.
While trying to perform test automation for the application, we got comments that Selenium is not suitable for velocity.
But when I try to search in the web, I don't see any issues/restrictions with selenium.
Can anyone tried using selenium for automating Salesforce Velocity? If so what are the pros/cons please.

Related

Unable to automate video/object tag for video div using Selenium Web driver?

I am trying to automate web application which has video div as its one of our scenarios. But I am not getting inner web elements to find locators to perform some actions. Wherein you can find screenshot for your reference as its Object tag which has no child Web elements present.
Let me know if we can automate such scenarios in case of using Selenium web driver or any other third-party libraries.

Automate flutter web application using selenium webdriver

I am new to flutter. So, I want to know whether I can use selenium webdriver/java to automate a flutter web application.
I have used java / cucumber to automate web applications and used page object pattern. so, can I do the same technologies to automate a flutter web application ?.
Yes you can, because the automation code is going run on top of the application. So there is no restriction. There is a package available in flutter WebDriver maybe you can try this out . And here is the API documentation.

Penetration testing of Angular JS application in ZAP or Burp Suite

I am struggling to test Angular JS application, Can someone provide me reference to learn that, Couldnt find any.
I want to attack the application but it seems not all links are being visited by Crawler.
How are you exploring the application?
In ZAP you should use the Ajax Spider as this will launch browsers in order to explore it. The standard spider will not be as effective.

How to open Electron-based application using Nightwatch framework?

I am looking to automate electron based application, using nightwatch.js
I tried to do it using Java/Selenium but did not succeeded as I was able to open application but not able to perform any action after opening.
Now I read about Nightwatch JS which uses webdriverIO which can help us automate web based applications.
As Electron app is window based application which opens web view in it so thinking of using it.
I managed to do the same and have uploaded a sample project in Github for reference at https://github.com/rik12s/ElectronApp-Automation-Nightwatch.git

Automation in Go Lang - How to use browser automation like Selenium?

I am new to Golang. And I am looking for automating signup, login processes in a web app. Please suggest a good tool like Selenium and how can I implement it in the go language.
I want to do the following process automatically using Golang:
Start a browser. Currently, I'm using https://github.com/skratchdot/open-golang
Auto entry on the signup page and auto-submit a form.
Login check for the registered user. Everything needs to be done automatically for more users.
You can also use Playwright for Go, which is a wrapper for the Playwright project. Playwright provides a single API to automate Chromium, Firefox, and WebKit to automate browsers which was created by Microsoft. With it you interact with the sites, record videos, make screenshots, and emulate other browser specific behaviour.
If you are going to use GO for web automation testing - Selenium is a good option. Still it's nothing more than a library that allows you to interact with browsers. So you are going to need to develop your own framework or reuse someone already implemented.
My advice is to consider Agouti, since it supports Ginkgo BDD and xUnit Gomega. Everything else is pretty much the same from architectural perspective. You can design it like any other language binding. There are common patterns that appear over and over again in browser automation frameworks, like
PageObjects: A simple abstraction of the UI of your web app.
LoadableComponent: Modeling PageObjects as components.
BotStyleTests: command-based approach
Another good resource for building your Test framework is the xunitpatterns guide. It gives a great content overview of the patterns, smells and refactoring strategies you can use. Also look at this test frameworks tutorial. It'll help you choose the most proper solution for your case.
My guess is that you are going to need some CI server support for
everything needs to be done auto for more users.
Here is a good article how-to achieve this with TravisCI.
update:
you can use Selenium for Golang