Posts

Showing posts from March, 2011

Click on .net toolbar using bounds property

Image
In continuation to the previous post Automation of the .NET ToolbarsManager , here is the code that will click on any toolbars button using the bounds property : Note that: The toolbar is recognized as an swfobject here We are accessing the CommandLinks collection to access individual buttons in the toolbar Using an array to get the bounds and then clicking on the respective button. Set Mnubar = SwfWindow("").SwfObject("").Object.CommandLinks For i = 0 To Mnubar.Count -1     Mnuname=Mnubar.Item(i).Text     msgbox Mnuname     oBounds = Mnubar.Item(i).Bounds     arrBounds = Split(oBounds, ",")     arrBound = Split(arrBounds(0), "=")     iX = CInt(arrBound(1))     arrBound = Split(arrBounds(1), "=")     iY = CInt(arrBound(1))     SwfWindow("").Activate     SwfWindow("").SwfObject("").Click iX,iY    Next We can make...

Create Reports Using TestNG - Testing

Image
Creating Report.....It is easy with TestNG...it will create default reports....in HTML format. The Default feature in TestNG is it will create reports automatically..you need not to write any code... Just run the Script with TestNG...it will automatically create a report... First Setup the TestNg Please go through the following link if you dont know how to set up... Setting up Selenium RC & TestNG using Eclipse Observe the screen shot before running the test... Before Running the Test Run the script --Run as -->TestNG --see the below screen shot...Report is generated. Screen Shot after running the Test After Running the Test NOTE: You need to download the testng-5.14.10.jar file................it should be in your referenced library.. Hope it will be helpful ....... Source:  NagaRaju Dasam

If not QTP then what?

Image
I have seen a lot of traction towards the blog post "QTP v/s Selenium" . Like I have always said in my earlier posts that QTP has been one of my favorite tools and also one of the most explored tools.Tools like Quicktest are great but there are definitely some drawbacks with knowing just QTP and nothing else. I believe going forward just knowing tools like QTP would not help... We would need tools that : Can fit into a fast paced agile project  Are low on cost  Are low on maintainance. Are not just GUI based and at-least get to a level below the presentation layer. Allow choice of scripting languages Allow Continuous Integration Open-source has contributed a great deal to such kinda tools ... so here is a quick list of tools that answer if not QTP then what? in no specific order: Selenium / Tellurium Watir / WatiN Sahi  FitNesse Canoo Cucumber Rspec AutoIt / iMacros White for .Net Marathon/JWebUnit for Java Frankenstein for Swing apps There are man...

Run Commands Cheat sheet

Image
Run command is one of the most used commands when it comes to testing windows based applications. Here are a set of commands that can be used as a quick reference while automating windows apps: Application Data Folder %appdata% Home Directory Drive %homedrive% Home Directory %homepath% Shared Home Directory %homeshare% Temporary Folder %temp% Windows Root Drive %systemdrive% Windows Root Directory %windir% Computer Management compmgmt.msc Device Manager devmgmt.msc Disk Cleanup Utility cleanmgr Disk Defragment dfrg.msc Disk Management diskmgmt.msc Disk Partition Manager diskpart Dr. Watson System Troubleshooting drwtsn32 Driver Verifier Utility verifier Event Viewer eventvwr.msc Group Policy Editor (XP Prof) gpedit.msc Local Security Settings secpol.msc Local Users and Groups lusrmgr.msc Performance Monitor perfmon Resultant Set of Policy rsop.msc Scheduled Tasks control schedtasks Services services.msc Shared Folders fsmgmt.msc System Configuration Edit...

Testing News - Mar 10th 2011

Image
QualiSystems Strengthens APAC Presence With New Singapore Headquarters -  QualiSystems , a leading provider of test automation solutions for network systems, telecom services and electronic equipment, today announced the opening of a new APAC regional branch in Singapore.Source: News   SOASTA Awarded Patent for Visual User Interface of its CloudTest Platform - SOASTA, the leader in cloud-based performance testing, today announced that the United States Patent and Trademark Office has issued the company patent No. 7,844,036 entitled, "Visual Test Automation Tool for Message-Based Applications, Web Applications and SOA Systems." Source: News   DATE 2011 (Design Automation and Test in Europe ) Conference from 14th -18th Mar 2011 - Source: News Croatian brainboxes deploy calculus-based CAPTCHA - Source: News

Test Automation Career - QTP

Image
I have had a lot of friends and testing aspirants asking me , what is it that i should know in QTP to start a career in automation . I shall have a series of posts that will give you an idea of what are the things you need to learn if you want to test a specific technology : e.g : .Net , Java, WebServices etc... I shall start with the simplest one and my favorite QTP: Basics of using QTP- use the tutorial and refernce guide for this Web App testing ( Use the sample HP app for this) Windows App testing ( Use the sample HP app for this) VB scripting (from a quicktest point of view) Advanced concepts in QTP. Other Advanced concepts like COM objects, Quick test object model  Make your own DLL’s, work with WSC, and QTP Reserved Objects and Registry changes Synchronizing  QTP with external applications.  Hope this helps all those who wanna learn QTP and get into automation.