The problem here is when we hover the mouse over the particular menu item, drop down items going to visible. When trying to click the inspect element the drop down items are not going to be visible.
How can I inspect this drop down menu items
The problem here is when we hover the mouse over the particular menu item, drop down items going to visible. When trying to click the inspect element the drop down items are not going to be visible.
How can I inspect this drop down menu items
Can anyone please suggest me, how to analyse the generated hits per second and active thread over time graphs
I am getting broken image for screenshot. Unable to take screenshot in protractor framework. Please anyone help on this.
My code:
testconfig.js file
var fs = require(‘fs-extra’);
var today = new Date(),
timeStamp = today.getMonth() + 1 + ‘-‘ + today.getDate() + ‘-‘ + today.getFullYear() + ‘-‘ + today.getHours() + ‘h-‘ + today.getMinutes() + ‘m’;
console.log(timeStamp)
exports.config = {
directConnect: true,
// seleniumAddress: ‘http://localhost:4444/wd/hub’,
capabilities: {
‘browserName’: ‘chrome’,//firefox
},
suites: {
regression: ‘../specs/sample.js’,
},
allScriptsTimeout: 50000,
jasmineNodeOpts: {
onComplete: null,
isVerbose: false,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 999999,
},
framework: ‘jasmine2’,
onPrepare: function () {
browser.manage().window().maximize();
browser.waitForAngularEnabled(false);
// var ChercherTechJasmineReporter = reporter.ChercherTechJasmineReporter;
// jasmine.getEnv().addReporter(new ChercherTechJasmineReporter({
// screenshotOnFail :false,
// showSkipped:false,
// browser:browser,
// showLineChart:true
// }));
const SpecReporter = require(‘jasmine-spec-reporter’).SpecReporter;
jasmine.getEnv().addReporter(new SpecReporter({
spec: {
// displayStacktrace: true
displayStacktrace: false
}
}));
//Getting XML report
var jasmineReporters = require(‘jasmine-reporters’);
jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({
consolidateAll: true,
filePrefix: ‘guitest-xmloutput’,
savePath: ‘.’
}));
fs.emptyDir(‘/’, function (err) {
console.log(“Error message=”,err);
});
jasmine.getEnv().addReporter({
specDone: function(result) {
// if (result.status == ‘failed’) {
browser.getCapabilities().then(function (caps) {
var browserName = caps.get(‘browserName’);
browser.takeScreenshot().then(function (png) {
// var stream = fs.createWriteStream(‘screenshots/’ + browserName + ‘-‘ + result.fullName+ ‘.png’);
var stream = fs.createWriteStream(‘./’ + browserName + ‘-‘ + result.fullName+ ‘.png’);
// var stream = fs.createWriteStream(‘./’ + ‘-‘ + result.fullName+ ‘.png’);
stream.write(new Buffer(png, ‘base64’));
stream.end();
});
});
// }
}
});
},
// onComplete:function(exitcode){
// reporter.write_consolidated()
// },
//
// afterLaunch:function(exitcode){
// return new Promise(function(resolve){
// reporter.processResults()
// return 0
// })
// },
onComplete: function() {
var browserName, browserVersion;
var capsPromise = browser.getCapabilities();
capsPromise.then(function (caps) {
browserName = caps.get(‘browserName’);
browserVersion = caps.get(‘version’);
platform = caps.get(‘platform’);
var HTMLReport = require(‘protractor-html-reporter-2’);
testConfig = {
reportTitle: ‘TAP Test Execution Report’,
// outputPath: ‘./new/test/scripts/TestReports’,
outputPath: ‘./’,
outputFilename: ‘ProtractorTestReport’+timeStamp,
screenshotPath: ‘./’,
testBrowser: browserName,
browserVersion: browserVersion,
modifiedSuiteName: false,
screenshotsOnlyOnFailure: false,
testPlatform: platform
};
new HTMLReport().from(‘guitest-xmloutput.xml’, testConfig);
});
},
SELENIUM_PROMISE_MANAGER: true
};
spec-sample.js file
describe(‘Protractor – takeScreenshot()’, function () {
it(‘Code script to use takeScreenshot() in protractor’, function () {
browser.get(“https://keeplearners.blogspot.com/2018/03/Angular-elements.html”);
var textField = element(by.model(‘name’));
textField.sendKeys(“Entered sample text”)
});
} )
output:
Test Guild – Automation Testing Tools Community
Top 18 Visual Testing Tools for Testers (2024 Guide)
When you’re a web developer, making sure that your site looks great – and works correctly – is of the utmost importance. But how can you be sure that everything is free of visual bugs? Enter visual testing. But for folks who don’t have a budget, there’s been this question, “Are there any FREE, open-source
You’re reading Top 18 Visual Testing Tools for Testers (2024 Guide), originally posted on Test Guild – Automation Testing Tools Community – and copyrighted by Joe Colantonio
I am automating desktop-based application testing. My requirement is that based on my execution for a particular test, I would like to mark real-time results in pdf generated by the automation script.
There is a plethora of tools (licensed/freeware) for automating desktop-based apps but could not find anything that can mark real-time results (pass/fail) in pdf generated by the automation script.
Any pointer would be helpful.
Thanks in advance.
So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying:
options = new ie.Options();
options.setAlertBehavior(‘ignore’);
But it still auto-accepts the alert dialog. Is there a way I can stop this behavior?
There is a jenkins job that runs for more than an hour which deploys code on the target server. In this job it is getting stuck after 20 minutes and after 2 hours it is giving error as :
packet_write_wait: Broken pipe.
On the target server the value of /etc/ssh/sshd_config file values are set to :
ClientAliveInterval 300
ClientAliveCountMax 720
MaxSessions 50
Not getting the root cause of the issue or how should i troubleshoot it.
Currently, my scenario is set as below:
* Login
* Loop Controller – Business process such as create a quote or application
* Logout
But If I have to Make sure that Login and logout runs once per user and the Business process runs multiple iterations for a particular Period(Say 1 hour) , how do I handle this.?
Thanks in advance:)
while executing the Jmeter selenium scripts in azure pipeline ,I repeatedly seeing the error 500 error saying that “No Such Session Found”
But while running the same script in our Virtual Machine script is working fine for large no.of iterations.
kindly help me in this issuse. I attached the Error what we are facing below .
https://i.sstatic.net/KJlec.png
Vusers- 10, Files -250 ,Duration – 3600
Target is to upload 250 Files and file names is Payroll0, Payroll1 ,Payroll2, Payroll3,….Payroll247, Payroll248,Payroll249, Payroll250.
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
But User1 —->Payroll1,User2——>Payroll2,User3——>Payroll3,User4——>Payroll4….User9—–>Payroll9, User10—->Payroll10 and every user is picking like this and while every user after completion of iteration it is picking the same file.
Followed this URL but still no luck for me Every Vuser should pick different file name.
Target is to select Unique Each Iteration I mean every vusers should pick new file for every iteartion.
Could anyone please help me
The key is unique for every lock. Similarly, those attributes which are unique for every entity in a single table,…
The programming world is quite thrilling and daily there are many new software’s to exploit computer resources. When it comes…
Steve Wozniak, better known as Woz, is a pioneering figure in the tech industry. With Steve Jobs, he co-founded Apple…
LambdaTest has today emerged as a popular name especially in the field of cross-browser testing, helping businesses and developers to…
Software development is central to the technological transformation experienced in every industry. It leads to the creation of problem-solving tools…
In the fast-paced world of software development, writing clean and maintainable code is not just a good practice; it’s a…
The healthcare industry has seen rapid technological advancements in recent years, especially when developing innovative custom medical software solutions. Custom…
Today, the use of smartphones has increased a lot. Therefore, the Internet has become very easily available to everyone. The…
Android dominates mobile devices with a 70.77% market share worldwide. This dominance is aided by its accessibility compared to Apple…
In a fast-paced and competitive job marketplace, an interview needs not only good industry knowledge but also a very high…