Bits N Tricks

A platform to contribute to the best of our knowledge so someone else can be benefited.


Testing secured web service methods with SOAP UI 25Feb, 2016

Testing secured web service methods with SOAP UI

OVERVIEW Securing Web Service methods to protect them from malicious attackers, has been an indispensable part of SOA and web services for mobile applications. However, it also makes testing the web methods equally hard and unmanageable. I have been using SOAP UI for testing the web services of one of our mobile applications, where the web team has secured the REST web methods (PHP) using headers with encrypted values using HMAC hash and AES-256 algorithms. Here, I’ll share how we can use a groovy script (essentially Java code, for those who are not familiar with groovy) and property transfers in our SOAP UI test cases, automate test the secured web methods or anywhere you need to send the encrypted values…

Posted in: Testing
One Gmail Account = Multiple Test Email Addresses 09Nov, 2013

One Gmail Account = Multiple Test Email Addresses

This article is basically a great help for Email testing purposes that we usually do while developing applications. In our everyday routine development process, multiple testing emails are required across all the popular online systems like Gmail, Yahoo, Outlook and more. We use these email platforms to test everything from email campaigns (in collaboration with our local virtual machine library), various social tools, and the process to develop multiple user accounts on the sites. In last case i.e. to develop multiple user accounts on sites, we require hundreds of valid emails. We generally use dummy email ids while testing. Let’s take example with Gmail account: Sometimes to develop multiple user accounts on sites, we may use multiple email accounts like:…

Posted in: Testing
WinRunner (Invoking Flight Reservation) 31Aug, 2010

WinRunner (Invoking Flight Reservation)

It is a sample application we are going to test in Winrunner. Steps:- 1.) Open Win Runner 2.) Press F2(Start Recording). 3.) Press F7 4.) Select Invoke Application. 5.) Click Args. 6.) Click browse. 7.) Open C://Program Files/Mercury Interactive/WinRunner/Samples/Flight/app/flight1a 8.) Click Open 9.) Click Paste 10.) Click Execute. 11.) Input Agent Name,Password as “mercury”(always to open this). 12.) Click Ok,(Closes Fucntion Generator) 13.) Stop Recording. 14.) Closes Flight Reservation. 15.) Run the recorded Script

Posted in: Testing
WinRunner 16Aug, 2010


It is a functional regression testing tool developed by mercury interactive corporation. Invoke Application 1.)It is an initial concept to establish a logical link between application & testing tool. 2.)Identifies whether the application invokes easily or not. CALCULATOR -> Windows simple Application to invoke or invoke_application Invoking Calculator Steps:-> 1.) Open Winrunner. 2.) Select blank text. 3.) Press F2=>(start recording) 4.) Press F7=> invoke application “path”. 5.) Function Generator(pre-defined functions),We can also select functions out of given. 6.) Establish link between application & tool. 7.) Select invoke_application. 8.) Click args(arguments). 9.) Click browse(….). 10.) Click C:/Windows/System32/calc. 11.) Click open. 12.) Click paste. 13.) Click close(Closes Function Generator). 14.) Click Stop. 15.) Click Run from TOP. 16.) Click Ok

Posted in: Testing
Automation Testing 11Aug, 2010

Automation Testing

Automation Testing:- It is a modern technique followed based on software engineering ISO, IEEE standards. Why Automation Testing:- Automated software testing is the best way to increase the effectiveness, efficiency and coverage of your software testing. How Automation Testing Works: Automation Software Testing Tool is able to playback pre-recorded and predefined actions, compare the results to the expected behavior and report the success or failure of these manual tests to a test engineer. Once automated tests are created they can easily be repeated and they can be extended to perform tasks impossible with manual testing. Because of this, savvy managers have found that automated software testing is an essential component of successful development projects. AUTOMATION SOFTWARE TESTING TOOLS SUITE ->…

Posted in: Testing