Posts

Showing posts with the label #testing

Automate your everyday tedious tasks and free up time for higher-value work (with Microsoft free RPA solution)

Image
Automate your everyday tedious tasks and free up time for higher-value work with "Power Automate Desktop". Today, Microsoft annouced "Power Automate Desktop" free for Windows' users. It uses low-code RPA (no coding required) to give you time back by automating your repetative non-productive “busy work.” :) Image Credits: Westend61 / Getty Images Current release offers OS native automations task on Windows 10 Home, Windows 10 Pro, Windows 10 Enterprise, Windows Server 2016, or Windows Server 2019 and web based on t he Microsoft Edge (version 80 or later) or Google Chrome browser. Minimum hardware Storage: 1GB RAM: 2GB Recommended hardware Storage: 2GB RAM: 4GB .NET Framework 4.7.2 or later. Note : ARM devices are not supported. Thank you for visiting this post -- stay connected !! Source (Credits) to https://flow.microsoft.com/en-ca/blog/automate-tasks-with-power-automate-desktop-for-windows-10-no-additional-cost/ Reference : https://docs.microsoft.com/en

Surprises for Dev by QA

Image

No Integration Tests ?

Image
This is what happens when there are No Integration Tests in production pipelines 🤣 Let's encourage more  integration tests in our projects :)

Testing Shifts with agile automation #RPA #ML

Image
Someone has well said ..  “To delight customers, one should continuously innovate, implement, test it, fix it, test it, release it and do all again and again.” To do so more efficiently, I would like to add Software AG Agile Tester (SAT).  It  offers various testing solutions to accelerate agile feedback loops. Currently Agile Tester (SAT) is being used in more than  52,000+ Tests by more than 21+ Product Teams . It is under Beta release for Clients. It has two major components 1.       SAT Server - Central Repository for Test Scenarios and Test artifacts. 2.       Tools 1.       SAT Client 2.       Recorder and Playback [Snapshot : #1] Developer or QA can use “Agile Tester” (SAT) to move testing process earlier in the development cycles so that We can prevent errors rather than detecting them later;  Here We shift testing activities closer to the build process and proactively test applications to uncover defects and so Product Teams (enterprise) can accommodate releases faster.

Webdriver with Javascript to validate SVG Canvas objects like Charts

JavaScript in Webdriver Sometimes Webdriver does not help to find objects and their properties. We can develop Javascript functions and inject them via Webdriver.   It is good to develop Javascript and inject via Web driver to validate SVG Canvas objects like Charts. Webdriver provide a “JavascriptExecutor “class for executing java script. First you need to create “JavascriptExecutor” class object. JavascriptExecutor js = (JavascriptExecutor) driver; Now call “executeScript()” method by passing java script code as a argument. js .executeScript(“java script code”) Here are some more examples. String readyState = (String)js.executeScript("return document.readyState"); String title = (String)js.executeScript("return document.title"); String domain = (String)js.executeScript("return document.domain"); WebElement el   = (WebElement)js.executeScript("return document.getElementById('rentc');"

How to automate test-scenarios which have Java Objects built on JMesa , JQuery, JSON and AJAX technology.

I had a challenging project to automate Java Objects on the fly – sharing some part of it. Challenges I faced 1. Objects which are built on top of JMesa , JQuery, JSON and AJAX technology -- are not recognized by professional automation tools (such as QTP and SilkTest). 2. How to automate Dynamic Graphs which are implemented with technologies like Flotr and 3D Canvas. 3. Web application needs to automate with cross-browsers ( IE 6.0+ , FF 2.0+ or Safari 2.0+ ) It focus objects screen rendering issues which are different from one browser to other. How can we overcame • Challenge #1 and #2 can be resolved with below automation approach. Verify HTTP Responses when user does some actions like objects fire specific AJAX calls; We simulate these AJAX calls ( HTTP requests ), capture valid\expected response, set them as baseline and in QA loop we simulate user actions again with automation, capture actual response and compare with baseline. • Challenge #3 can be resolved with below automatio

How developers fix their bug -- funny forwarded email.

Image
Forwarding one funny email from yahoo group ~ enjoy testing - Nimesh ########################################################## #include <stdio.h> #define LAST 10 int main() { int i, sum = 0; for ( i = 1; i < = LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; } ########################################################## And the developer fixes it this way ########################################################## #include stdio.h; #define LAST 10 int main() { int i, sum = 0; /* */ for ( i = 1; i < = LAST; i++ ) { sum += i; } /*-for-*/ printf("sum = %d\n", sum); return 0; } ##########################################################

Combinations n Permutations in QA

Combinations n Permutations are very useful in software testing. It help to find possible test-data / testcases. This session will provide details about 1. Some basics about Combinations 2. Logic to find possible combinations for taking k numbers of items from n number items at a time. 1. Some basics about Combinations. You might be come across with below example in old school days. We have set { "ant", "bug", "cat", "dog", "pig" } and If we want to take 3 elements at a time then we would have possible combinations as { "ant", "bug", "cat" } { "ant", "bug", "dog" } { "ant", "bug", "pig" } { "ant", "cat", "dog" } { "ant", "cat", "pig" } { "ant", "dog", "pig" } { "bug", "cat", "dog" } { "bug", "cat", "pig&qu

Automate QA Feeds task [continuous to last post]

Image
Continuous post of CSV\XML\RSS Feeds are QAed To validate Feed URL(s) are not broken ; we can use XML DOM. Below is script that validates broken link. To validate ASCII Character , I have used below script. You can create excel custom tool where you centralize all feeds , verifies broken resources before creating actual feed.

NUnit basics for new bees

Image
In smaller to bigger project, here are some basics about how to automate Unit testing with NUnit framework on .Net Platform. Where NUnit spot on SDLC? In other words, we can ask when to start unit automation on project? It depends on various parameters say for example Complexity of Method(s) / API(s) or Classes in production cycle - How Method(s) API(s) / Classes are called by other Method(s) / API(s) / Classes in production cycle. We can start NUnit automation after completion of any independent Method / API / its Class created at production and making automation continued towards parallel of development cycle of more dependent Method(s) / API(s) / Classe(s). Say for example we have small class library project in C#. Now lets start NUnit Automation in 7 simple steps : Create New Test C# Project (Here Named TestProject) and add production class (.dll) reference. Add reference NUnit.Frameworkto the TestProject. Add attribute "TestFixture" to mark as Test C

Test Environment Setup

Objective How to make your automation framework accessible through out all Test Environments in other sense how to make your automation objects ( scripts \ business objects ) reusable with other platforms with Automation Tools such as QTP \ Silk Test. Problem You have different test platforms such as qa:6080 like build in qa 6080 port. qa:7080 like build in integration qa 7080 port. qa:8080 like build in staging qa 8080 port. Live environment (like any production site) We need to have centralized automation script that can get access to all above platforms. Approach for problem solution • We need to create 1.Function that can read current global environment configuration which may be in .xml. 2.Start-up Script that can add / update / set current environment from .xml or any other format – you can make GUI tool or use VBScript + Excel to maintain easily. •We need to normalize all automation objects which are pointing to specific platform like filtering out all redundancy from automat

Popular posts from this blog

Testing Shifts with agile automation #RPA #ML

Bots and What Not !!

Need > Want

Automate your everyday tedious tasks and free up time for higher-value work (with Microsoft free RPA solution)

Respect is not earned, It is given ⚘ 🙏