Development

I’m using Appium 1.20. I’m trying to find a way to scroll to an element.
public static void scrollToElement(WebElement e) {
JavascriptExecutor js = driver;
HashMap scrollObject = new HashMap();
scrollObject.put(“direction”, “down”);
scrollObject.put(“name”, e.getId()); // <– there is no getId for WebElement.
js.executeScript(“mobile: scroll”, scrollObject);
}

Unfortunately, there is no getId() for WebElement.
How do you scroll to an element in Appium 2?

I’d like to have video recordings of the Selenium automation at work. And then delete the recording when the tests pass.
This way whenever the tests fail we can quickly replay the video to see what went wrong. Is there a free way to capture / record the screen while the automation is running?
I’m looking for something that wouldn’t take up too much of disk space. And it’s something that can be controlled via the program.

I’m relatively new to Jmeter, but I have a scenario, that I’ve not been able to figure out where I need to perform the following:

All user log in to application with a ramp-up period of 15 seconds between users.
No activity continues until all users log in to application.
Once all users are logged in, perform their set of business activities (will vary depending on business process, and based on iterations, not a time loop).
Once all users are complete business processes, users begin to logout with ramp-down time of 15 seconds between users.

Is this possible to configure my script to execute this way and if so, how? I have tried use of Once only controllers, loop controllers, constant timers, and some various plugins (Custom Thread Groups). I’ve also viewed various threads and not been able to find this exact scenario, but cannot imagine this is an overly unique test case.
Any recommendations or advice is appreciated.

The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. This week in DistroWatch Weekly:
Review: The Unity desktop and Lomiri on Ubuntu Unity 24.04
News: Ubuntu plans to run Wayland on NVIDIA cards, openSUSE updates Leap Micro, Debian releases refreshed media, UBports gaining contact synchronization, FreeDOS celebrates its 30th anniversary
Questions and answers: Different distributions for different tasks
Released….

The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. EndeavourOS is a rolling release Linux distribution based on Arch Linux. The project aims to be a spiritual successor to Antergos. The Endeavour project is celebrating its fifth anniversary with a new release which carries the code name “Endeavour”. Along with package updates, including Plasma 6.1, this snapshot….

Writing is just as important to UX design as pushing pixels. For all the focus on Figma and design systems,…

Typography is currently playing a central role in web design, with progressive improvements like Variable Fonts, CSS Shapes, FlexBox, CSS…