Libraries & Frameworks

Welcome to our guide on live testing! If you’re a beginner Quality Assurance (QA) tester, you’re in the right place. Live testing is a crucial part of ensuring that mobile and web applications work as they should in the real world. This guide will help you understand the basics of live testing, why it’s important,…
The post Ultimate Guide to Live Testing: Boost Your Software Quality appeared first on Software Testing Material.

I am currently working on a mobile application with appium with python. There are a lot of options for every file selection in that. Currently checking if processing all the types of files are possible in that. So, there are a lot of combinations for each file. I successfully managed to access through all of the combinations using nested loops and some basic algorithms. Currently generating the combinations and their results in a csv sheet through JSON format. I need some help about how can I generate good test report in a professional way for each of these combination.

Optimizing rendering is crucial for ensuring a smooth and efficient user experience across all your frontend projects. Sluggish webpages can…

We recently conducted performance testing on BlazeMeter with 25,000 virtual users (VUs) within a 5-minute time frame. Unfortunately, approximately 3,000 VUs failed during the test. Upon reviewing the summary page after the test, we observed a graph that showed a decrease to 14,000 VUs after 15 minutes, followed by a gradual increase to 22,000 VUs.
We would appreciate it if someone could explain the behavior we observed in BlazeMeter. While we have already contacted the BlazeMeter team for clarification, they have attributed the issue to the engines reaching 90% CPU usage. While we agree that this may have caused the initial failure of approximately 3,000 VUs, we are still uncertain as to why the number of VUs decreased to 14k VUs and again increased gradually.
Max Users:

Below is the reference image :

I have written a code where it will launch the app, click on the login button, enter username and password and click on sign in.

When I run this using node ‘filename’ it is running fine with no issue.

When I run using mocha node_modules/mocha/bin/mocha ‘filename’ I am getting the error I am not able to understand as to why?

This is the error that I am getting:

2019-01-02T06:52:42.721Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous

/home/user/newtest/node_modules/webdriverio/src/utils.js:199
(typeof caps[‘appium-version’] !== ‘undefined’) ||
^
TypeError: Cannot read property ‘appium-version’ of undefined
at mobileDetector (/home/user/newtest/node_modules/webdriverio/src/utils.js:199:21)
at Object.remote (/home/user/newtest/node_modules/webdriverio/src/index.js:35:29)
at Object.<anonymous> (/home/user/newtest/test13.js:16:21)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at /home/user/newtest/node_modules/mocha/lib/mocha.js:250:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/user/newtest/node_modules/mocha/lib/mocha.js:247:14)
at Mocha.run (/home/user/newtest/node_modules/mocha/lib/mocha.js:576:10)
at Object.<anonymous> (/home/user/newtest/node_modules/mocha/bin/_mocha:637:18)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:776:12)
at executeUserCode (internal/bootstrap/node.js:342:17)
at startExecution (internal/bootstrap/node.js:276:5)
at startup (internal/bootstrap/node.js:227:5)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

Test Guild – Automation Testing Tools Community
What is Accessibility Testing Top Automation Tools (Guide 2024)
What is Accessibility Testing? Accessibility is all about making applications accessible for people who have impairments. It covers people with visual, auditory, or other cognitive impairments. As we are developing our applications, we should keep these folks in mind as we test to ensure that our software is accessible to all our users. Why is
You’re reading What is Accessibility Testing Top Automation Tools (Guide 2024), originally posted on Test Guild – Automation Testing Tools Community – and copyrighted by Joe Colantonio

Below is my result of Load test with JMeter. What my client is asking is, when should we consider up scaling of our system.
How can you determine the bottlenecks in the below results.

Also for 1000 samples with 100 Ramp up time, the Avg has increased, this is unusual because it should have decreased if we compare with the other 2 records with lesser Ramp up time.

The Red portions are the failed tests where JMeter had hung and was not proceeding. Also from this I concluded that with 50 Ramp up time and 1000 users, our system cannot work. Is it correct…?

Can someone help me interpret this result.

Thanks in advance.

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error.

This is the code which I have written.

var webdriverio = require(‘webdriverio’);
var except = require(‘chai’).expect;
var config = require(
{
port: 4723,
desiredCapabilities: {
platformName: “Android”,
platformVersion: “8.1.0”,
deviceName: “00b8afc289da4196”,
app: “/home/user/auto_test/xxx.apk”,
automationName: “UiAutomator2”
}
});
const client = webdriverio.remote(config);

//addition testing
describe(“Simple cases”, function () {
before(function () {
this.timeout(50000);
return client.init();
});
afterEach(function(){
this.timeout(50000);
return client.init();
});
describe(“test-signup”, function(){

it(“signup_click”, function(){
client
.click(‘android=new UiSelector().resourceId(“com.xxx.xxx:id/txt_log_in”)’)
});
});
after(function() {
return client.end();
});
});

And this is the error which I am getting.

2019-01-02T11:49:15.769Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
TypeError [ERR_INVALID_ARG_TYPE]: The “id” argument must be of type string. Received type object
at Module.require (internal/modules/cjs/loader.js:653:11)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/home/user/automation/tile2.js:3:14)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:776:12)
at executeUserCode (internal/bootstrap/node.js:342:17)

I have the below method:
PUBLIC methodname(WebDriver driver,formEntryMap<String,String>,String Colkey)
{
String Xpath = This will have the xpath of the input text box
inputfieldEntry(driver,Xpath,formEntryMap.get(ColKey));
}

This will read the value from the col
Feature file :
Column | Value|
SuceessNo | 1212 1414 |
Basically, the success 1212 and 1414 should be entered one below the other in the textbox so the input should be :
1212
1414
With the given method can someone give me inputs on how to “n” in this method.

I have a scenario, which I am finding bit difficult to automate.
The test scenario is :
There are two drop down.

To select the state.
To select the respective cities.

So, I need to write a script to automate, where I need to select a state from State drop down and for that state I need to select all the cities one after the other. Once all the cities are selected for that respective state, I need to come out of that loop and select a different state and repeat this process.
This is the code which i have written.
def test_state(self):
element = self.getAllTheElements(self.Register_page_elements,’xpath’, ‘option’)
for link in element:
if link.get_attribute(‘value’):
link.click()
print(“test”)
time.sleep(4)
element = self.getAllTheElements(‘autocomplete-city’, ‘id’, ‘option’)
for link2 in element:
if link2.get_attribute(“value”):
link2.click()
print(“state”)
time.sleep(2)

Since I have not given break statement, it will throw an error after completing entire iteration.
But, if I give a break it wont work the way I want.
This is the HTML code of the drop down.
For state.
<div class=”under-line”>
<select type=”text” class=”enque-content” autocomplete=”off” required=”required” id=”autocomplete-state” name=”state” onchange=”getCities(this)”>
<option selected=”” disabled=”disabled” value=””>Please select your state*</option>
<option value=”1″>Andaman and Nicobar Island</option><option value=”2″>Andhra Pradesh</option><label alt=”First Name*” class=”enque-placeholder-label” placeholder=”First Name*”> </label><option value=”3″>Arunachal Pradesh</option><option value=”4″>Assam</option><option value=”5″>Bihar</option><option value=”6″>Chandigarh</option><option value=”8″>Dadra and Nagar Haveli</option><option value=”7″>Chhattisgarh</option><option value=”9″>Daman and Diu</option><option value=”10″>Delhi</option><option value=”37″>Goa</option><option value=”12″>Gujarat</option><option value=”13″>Haryana</option><option value=”14″>Himachal Pradesh</option><option value=”15″>Jammu and Kashmir</option><option value=”16″>Jharkhand</option><option value=”17″>Karnataka</option><option value=”18″>Kerala</option><option value=”19″>Lakshadweep</option><option value=”20″>Madhya Pradesh</option><option value=”21″>Maharashtra</option><option value=”22″>Manipur</option><option value=”23″>Meghalaya</option><option value=”24″>Mizoram</option><option value=”25″>Nagaland</option><option value=”26″>Odisha</option><option value=”27″>Puducherry</option><option value=”28″>Punjab</option><option value=”29″>Rajasthan</option><option value=”30″>Sikkim</option><option value=”31″>Tamil Nadu</option><option value=”32″>Telangana</option><option value=”33″>Tripura</option><option value=”34″>Uttar Pradesh</option><option value=”35″>Uttarakhand</option><option value=”36″>West Bengal</option></select>
</div>

Once I select the state then the city drop down will appear.

How can I enable variations in Chrome from chromedriver options?

Hello, I’m facing a problem with Chrome where when I run an automated UI test with chromedriver, there’s issues showing up (such as header is too high which covers other elements) but if I manually open up Chrome and perform the UI tests manually, the issues aren’t there (the header looks correct).

I opened up chrome://version for both browsers and saw that the instance from automation does not have Variations listed, while the manual run had Variations listed.

I tried adding options.addArgument(“–reset-variation-state) in hopes that it would enable it but it did not do anything.

I’ll attach some screenshots

This is chrome without Variations

Using JMeter Selenium for web based application so every Vuser should pick different file.
Ex:-” User1 —->Payroll1,User2——>Payroll2,User3——>Payroll3,User4——>Payroll4……”
So written the groovy scripting like this enter image description here
Calling the parameter in the script as this enter image description here
enter image description here
But still EverVuser is picking the same file.
Ex:” User1 —->Payroll1,User2——>Payroll1,User3——>Payroll1,User4——>Payroll1….
next iteration it is picking like
User1 —->Payroll2, User2——>Payroll2,User3——>Payroll2, User4——>Payroll2,”
Could anyone please help me

Vue 3 plugin to add keyboard shortcut keys to your project. Continue reading on Vue.js Feed » Source: Read More