guys, I’m looking for an advice on how to become a QA tester without bachelor degree, is it possible? If yes, might be you know a solid 1 year online courses?
Software Engineering
Whether you are a developer, tester, or just interested in learning more about software testing, this GUI testing guide will provide you with valuable insights into the world of Graphical User Interface testing. In this article, we will explore the what is GUI testing, its importance, and the best practices to follow for effective testing….
The post The Ultimate Guide to GUI Testing: Features, Types & Tools appeared first on Software Testing Material.
Recently, my tests started failing.
I’m testing on IE11(company policy) on a jenkins windows slave.
My tests all hang on the “This is the initial start page” if I’m not connected to the server.
If I am connected, the tests run as they’re supposed to.
I’m using java bindings 3.141.59 on IE WebDriver 3.15.
I have one http request and it extracted the csrf token.But the csrf token attached with attached with html and javascript.
If the request success the csrf token is attached with HTMl.
If the request fails the csrf is attached with javaScript.
I’m able to extract both and
i need to pass the csrf to next request. based on the condition.
How can i achieve it ?Any suggestions.
When I run my script it gives me this error:
Traceback (most recent call last):
File “C:DevelopmentPython_ProjectSDETpythonProjectSDET_Packagemy_firstProject.py”, line 18, in <module>
search.send_keys(keys.RETURN)
AttributeError: module ‘selenium.webdriver.common.keys’ has no attribute ‘RETURN’
Here is my code:
from selenium import webdriver
import selenium
from selenium.webdriver.common import keys
import time
# this will load googlechrome from the location in C-drive
PATH = “C:Program Files (x86)chromedriver.exe”
driver = webdriver.Chrome(PATH)
driver.get(“https://techwithtim.net”)
print(driver.title) # print the title of the page
search = driver.find_element_by_name(“s”)
search.send_keys(“test”)
search.send_keys(keys.RETURN)
time.sleep(5)
driver.close() # close the browser
While testing by Appium (using Python), it clicks on some buttons with a very long delay on some views in my Android app.
The method I am using:
def click_element(self, element, time=wait_time):
WebDriverWait(self.driver, time).until(
EC.presence_of_element_located(element)
)
WebDriverWait(self.driver, time).until(
EC.element_to_be_clickable(element)
)
self.driver.find_element(*element).click()
Does anyone have any idea?
Can anyone recommend some software that can be used to document the results of functional software testing?
This is not at developer level, it is for testers to follow documented procedures/scripts and then document what they find.
I thought there must be some common tools that people use for this.
I currently have a task to test BI reports. Is there is any automation tool to test BI Reports(Business Intelligence Reports)? Also what are the key factors needed to validate BI reports.
What I want to do is scrolling horizontally in a tab that doesn’t have a unique ID. I have code how to scroll using id and textmatches like this example:
driver.findElement (MobileBy.AndroidUIAutomator(“new UiScrollable(new UiSelector()
.resourceId(” + Container +”))
.setAsHorizontalList().scrollIntoView(“+ “new UiSelector()
.textMatches(” + Textmatch + “).instance(0))”));
So what should I do if I don’t have the resource-id and textMatches?
Test Guild – Automation Testing Tools Community
Top 9 iOS Mobile Testing Tools: Comprehensive Guide for 2024
In today’s fast-paced mobile development environment, ensuring the quality and performance of your iOS apps is more critical than ever. With the increasing complexity of iOS applications, selecting the right mobile testing tools can significantly impact your development cycle. This comprehensive guide explores the top 9 iOS automation tools you need to know for 2024,
You’re reading Top 9 iOS Mobile Testing Tools: Comprehensive Guide for 2024, originally posted on Test Guild – Automation Testing Tools Community – and copyrighted by Joe Colantonio
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.
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.
Below is the XPath-
//XCUIElementTypeButton[@name=”8/13″]
The numeric value in the above XPath changes and is not static. There are more then 10 buttons on the screen, I want to click on the first one.
Text1 btn1 //let’s say btn1 contains 8/13
Text2 btn2 //let’s say btn1 contains 4/8
Can anyone help me to achieve this task?