Welcome to our Text Alternatives Testing Tutorial! In the digital age, where visual content dominates the web, ensuring accessibility for all users is crucial. Text alternatives, often called “alt text,†play a vital role in making non-text content accessible to everyone, including people using screen readers or those with slow internet connections. This guide will…
The post Text Alternatives Testing: Boost Web Accessibility in 2024 appeared first on Software Testing Material.
Libraries & Frameworks
Welcome to our Keyboard Accessibility Testing Tutorial! In today’s digital world, creating websites that are accessible to all users is not just a best practice—it’s a necessity. Keyboard accessibility is a crucial aspect of web accessibility, ensuring that people who can’t use a mouse or prefer keyboard navigation can interact with your website effectively. This…
The post Keyboard Accessibility Testing: Enhance Web Usability in 2024 appeared first on Software Testing Material.
Sometimes app crashes. But Selenium can only handle “noSuchElementException” or “TimeOutException”. Does Appium runs a listener or something which tracks if the app is crashed? I really need the internal exception handling with selenium, like: “Object Not set to an instance of object” exception and such things. Is there a way to listen Android internal exceptions?
if there is not a way to do that, what is the way to do it? I do it with finding the stopped” text. but I don’t think it is the right way to handle app crash. Becasue sometimes app crashes but not shows the app stopped dialog, It just come back to main screen of Android.
P.S: I understand the concept of “TakesScreenshot” interface when test failed.
I have few java packages as part of Selenium, Java, Cucumber, Maven automation framework which all projects use. If I create .jar file of it and place it in a separate project/folder in TFS Git repository, then all project can use it as a dependency in pom.xml.
If I want to change some code and commit/push to main branch using eGit plugin in Eclipse, then will all other projects be able to “Fetch from upstream” and get latest changes.
OR
Do I need to host the .jar file on JFrog artifactory (corporate). Then make changes, compile the .jar file and then when projects do “Update Maven”, then they will get updated copy of the jar classes.
How can I achieve this without uploading .jar in artifactory?
Welcome to our WCAG Testing Tutorial, your guide to mastering web accessibility. WCAG, or Web Content Accessibility Guidelines, are the gold standard for making websites usable by everyone, including people with disabilities. In this comprehensive guide, we’ll explore what WCAG testing is and why it’s crucial for your website’s success. We’ll dive into who needs…
The post WCAG Testing Tutorial: Master Web Accessibility in 2024 appeared first on Software Testing Material.
Create visual timelines for work schedules with React Daily TimeLine Sheet. Customize colors, time formats, and tooltips for your time-tracking…
The Laravel team released v11.19 this week, including asserting the exact JSON structure, a whereNone query builder method, a Number::trim()…
I am trying to prepare a POC using Sikuli. Can any one suggest me what is the best approach to use Sikuli for a windows based application ? Should I use Java with Eclipse or the Sikuli IDE itself?
The ssh-php project by Sam Carré is a ridiculously simple starting point for building Text-based User Interfaces (TUIs) in PHP…
I’m using Jmeter in remote env.(1manager server, 3-5 querying servers, 1 target server).
I have fixed EPS/QPS and threads(gradually increasing up to a certain value). I want to know if there is any parameter/plug-in that I can use to get the total number of requests sent to target server and the total number of requests (actually)received by the target server.
PS: If anyone has any other such comments/situations related to this, please share.
Environment : macOS Sierra, Appium version 1.4.13 (Draco)
I am not able run appium. Please help, How to fixed this issue?
appium doctor has not worked.
Error :
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
[Error: Could not detect Mac OS X Version from sw_vers output: ‘10.12
import pandas as pd
import selenium
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
import pandas as pd
import time
driver = webdriver.Chrome(r”C:Program Files (x86)chromedriver.exe”)
driver.get(‘https://www.amazon.in/’)
search_item = driver.find_element_by_xpath(“//input[@id =’twotabsearchtextbox’]”)
search_item.send_keys(“Laptop”)
serch_btn = driver.find_element_by_xpath(“//input[@id=’nav-search-submit-button’]”)
serch_btn.click()
cpu_filter = driver.find_element_by_link_text(‘Intel Core i7’).click()
cpu2_filter = driver.find_element_by_link_text(‘Intel Core i9′).click()
href = []
lnks1=driver.find_elements_by_xpath(“//a[@class=’a-link-normal a-text-normal’]”)
for lnk in lnks1:
href.append(lnk.get_attribute(‘href’))
href = href[0:10]
print(len(href))
Rating = []
for i in href:
driver.get(i)
try:
rating = driver.find_elements_by_xpath(“//*[@id=’reviewsMedley’]/div/div[1]/div[2]/div[1]/div/div[2]/div/span/span”)
for i in rating:
print(i.text)
except:
print(‘-‘)
I’ve tried the above code, but because the 10th element doesn’t have any rating, I used try and except. However, it’s not working. It’s not reverting back the dash(-) and it is just printing the 9 elements.
I want 10th element as dash(-) so that I could match up with at the time of creating dataframe.
I am not getting any idea what to do next. Please help me out with this.
I wanted to apply Pacing in jmeter for 120- 180 Seconds for all my samplers , I know i can do it with Through put Timers is there anyother way to apply pacing , i think we can use Beanshell Scripting but not sure of how to implement that .
This is the sample Beanshell that i reffered from internet a i tried , i used the random function to get a random pacing beetween 120 to 180 seconds and subracting it with Previous sample time . I think this implementation is wrong . could some of you suggest on this please . Thankyou .
Long pacing =${__Random(120000,180000)} – prev.getTime();
if (pacing > 0) {
Integer iPacing = pacing != null ? pacing.intValue() : null;
log.info(String.valueOf(iPacing));
vars.put(“mydelay”, String.valueOf(iPacing));
return iPacing;
} else {
vars.put(“mydelay”, “0”);
return 0;
}
Test Guild – Automation Testing Tools Community
Top 8 Open Source DevOps Tools for Quality 2024
Having a robust Continuous Integration and Continuous Deployment (CI/CD) pipeline is crucial. Open source tools have emerged as powerful allies in building effective DevOps workflows. With all the options out there, which ones should you try first? I recently spoke with Javier Alejandro Re is the CEO at Crowdar and Founder of Lippia.io and he
You’re reading Top 8 Open Source DevOps Tools for Quality 2024, originally posted on Test Guild – Automation Testing Tools Community – and copyrighted by Joe Colantonio
I have setup eclipse, sdk, path, configuration selendroid -standaloe-0.17.0-with-dependencies.jar file and selenium server.jar file but with command prompt want to run server with this command java -jar selendroid-standalone-0.17.0-with-dependencies.jar -aut testapp.apk but in command prompt it displayed error like unable to access jar file..”
I am trying to send a message as input to chatbot to check the response but when I am trying to send a message to a chatbot, I need to click on the input box where one can enter a message. But it is showing ‘element not found error’ (In the code I am throwing NoSuchElement exception)
I think this is happening because of the driver not being able to switch control from the base webpage to the chatbot after we click on the chatbot.
Following is the snippet:
driver.find_element_by_xpath(‘/html/body/div/div’).click()
time.sleep(2)
try:
driver.find_element_by_xpath(‘/html/body/div/div[3]/div[1]/div[1]/textarea’).click().send_keys(‘hi’)except NoSuchElementException:print(‘Input element not found’)
I think remember reading this somewhere but cannot remember if it is true or not. Is there a VS Code extension that will let you visually see on the web page (or in VS Code) where exactly the mouse.click event is happening and what element is therefore receiving the click?
I’m using Selenium WebDriver and JavaScript
Vulnerability Assessment and Penetration Testing (VAPT) is crucial for securing businesses against increasing cyber threats in today’s digital landscape. This blog details why organizations, regardless of size, need VAPT to shield against potential cyberattacks. From strengthening IT infrastructure to meeting compliance with regulatory standards, VAPT enhances security protocols, boosts stakeholder confidence, and prevents financial losses due to cyber incidents.
The post Understanding VAPT: What it is and Why You Need It first appeared on TestingXperts.
I want to measure the response time of the page level elements of a web page during load testing using IBM Rational Performance Tester.
For example, suppose I have clicked a submit button after filling a form on a web page. I want to measure the response time of this transaction ( i.e. clicking on submitting button and getting its response back). In a simple sense, I want to track response time for individual elements of a web page to know which part is taking more time to respond.
How can I do this using RPT?
I am using Selenium and Java with Eclipse and TestNG.
Now I want to make a .jar file for running this test case on another system that doesn’t have Selenium and Java.
How can this be done?