Development

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ?
When I use the driver.findElements (By.id (“body_bubble”)).size() method, it gets only the elements that are currently in view (visible on the screen).

How can I find all the elements? I know that I can use something like new UiScrollable(new UiSelector()).scrollIntoView, but I can’t wrap my head around it.

Please help me out.

I am curious if folks are testing configuration changes in applications. For example, I have a Spring Boot app that pulls its configurations from a local properties file at build time and from Spring Cloud Config Server at runtime. When I deploy this app to a non-prod environment, it will have different configurations than when I deploy it to production. As a result, while the artifact I’m testing in non-prod is the same as the one I deploy to production, its configurations will be different.
My question is…how do you test these configuration changes? That is, how do you verify functionality of the app when configurations change. Health checks to service and db URLs could be run after a production deploy, but is there a way to test these in a lower environment?
Besides the above example, is anyone testing other configuration changes in lower environments to make sure deploys to production are successful?
I’ve tried to find information on this subject, but “configuration testing” typically has a different meaning in the quality engineering world.

I wanted to automate my project, which has three parts:

Web testing
Ipad app
Ios App

I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-python-client, and pycharm professional.
I have created my first test but I was not able to run it. I tried importing
from appium.webdriver.common.desired_capabilitites
but it throws the error:
Cannot find reference ‘desired_capabilities’ in ‘__init__.py’
this is the base case i have
import unittest
from typing import Dict

from appium import webdriver
from appium.options.common import AppiumOptions

desired_caps = {
‘platformName’: ‘Mac’,
‘browserName’: ‘Chrome’,
‘appium:automationName’: ‘XCUITest’
}

options = AppiumOptions()
# options.load_capabilities(desired_caps)

url = ‘http://localhost:4723/wd/hub’
driver = webdriver.Remote(url, desired_caps)
driver.get(“hhtps://www.google.com”)

element = element.send_keys(‘admin’)

driver.quit()

The code driver = webdriver.Remote(url, desired_caps) is asking for a [str,bool] value. How can I use desired_capabilities here?

There is an requirement to run web based application for Performance Testing in Azure Pipeline.
The Application servers are physical servers.
Recorded the script and run it in virtual machine. It ran successfully without any errors
but Running the same script in Azure pipeline and getting as *Non HTTP response code: java.net.UnknownHostException/Non HTTP response message:url.com.

Also child requests are also showing in the report but we need is parent samplers only to be displayed.
Errors

Could anyone please help me.