Owner: Test Squad The Test Automation blog URL:http://www.testsquad.org/ Join Date: Thu, 21 Feb 2008 08:37:03 -0600 Rating:0 Site Description: A blog about the latest in software QA and test automation.
Site statistics:Click here
Quick Notes About RFT (Rational Functional Tester) 2008-03-01 05:13:00 Good Things about RFT: Flexibility in terms of full access to object properties, controlling those properties in a very meticulous way which gives the ability to override unwanted recognition errors and increase application's immunity to changes in your AUT that should not be considered as fails. RFT is doing great hereSince it works under eclipse, you have virtually unlimited ability to integrate useful java classes that recording and playback cannot do. Such as database accessibility, necessary looping and switching and even adding a nice sleeky UI. Concerns about RFT: Unexpected crashes of the framework. This happened three times in less than 8 months. It happens in response to an eclipse update.Eclipse version effect on new scripts: New Scripts may not Read more:Functional
, Notes
, Quick
, Tester
Enhance IBM Rational Functional Tester (RFT) with U.I Java Classes 2008-02-23 05:27:00 Disclaimer: This post is related to IBM
Rational FunctionalTester
With Java. It needs some slight modifications to work with other tools.Sometimes, your automated test script needs to do some strange stuff. Like accessing the database, extracting some value and using this value in subsequent U.I steps in your script.Suppose that you have hundreds of scripts that needs the following block to access the DB and read a certain value: try{ Connection db_connection = DriverManager.getConnection("jdbc:odbc:DBNAME","username","password"); Statement stm2 = db_connection.createStatement(); stm2.executeQuery("select * from TableName"); } catch( SQLException x ){ JOptionPane.showMessageDialog(null, x.getLocalizedMessag Read more:Classes
Test 842: Rational Functional Tester for Java 2007-12-31 03:22:00 Today i passed IBM Test 842 for RFT. The exam was not easy. You have to be very familiar with the tool. The questions difficulty varies very much from a question to another. And a knowledge in regular expressions helps a lot.I cant' really say more since you have to sign on non-disclosure agreement prior to the exam. However, you can study the online course, which you have to buy of course or take the instructor led course.What i really didn't like is that the online course does not guarantee you to answer all exam questions, since it's explicitly mentioned in some chapters that you have to take the instructor led course if you want to know a certain procedure. I think this is not fare :(There's an easier way if you want to pass the exam. It's by looking at some virtual exams engines like Read more:Functional
, Tester
Mind Switching in Test Automation 2007-11-22 04:24:00 One of the challenges for a test automation newbie is the change of mindset; from a developer to tester and vice versa. I encountered this the first time I wrote my very first test automation script. I did some manual exploratory testing using mouse and keyboard, I visualized a certain repeatable intact scenario, recorded mouse and keyboard interactions, then played back the script and a neat automated test report popped with the passed and failed results, and I couldn't be happier :)As I finished my delicious launch, an email popped with an unpleasant content: Please test the functionality when the bla bla bla is not bla bla bla. Now wait, recording will not do me this. The only way I can do it is by writing my own new java class. So I rolled my sleeves up and started coding.Hours and hou Read more:Automation
, Switching
A regular expression to verify the date format mm/dd/yy 2007-10-21 06:42:00 ([1-9]|1[012])/([1-9]|[12][0-9]|3[01])/0[0-9]$This will verify
if the date is mM/dd/yy, where m is optional. Example: 9/21/07 or 11/21/07 (0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\dThis will verify if the date is mm/dd/yyyy. Example: 12/12/2007 Read more:expression
, format
, regular
getProperty and getPropertyFromMap methods in RFT 2007-10-18 07:04:00 I have encountered a problem while using RFT. I needed the script to capture a value of an object and stores it in a string. It turned out that getPropertyFromMap and getProperty work not exactly the same.getProperty will capture the most recent property value of the specified object. WhilegetPropertyFromMap will capture the property value at the time the object was added to the map.
Google Test Automation Conference 2007 (GTAC) 2007-09-10 01:51:00 The GTAC videos are finally online. In GTAC, you have the brightest of the brightest in the testing industry talking about the latest about automation testing. I will have to spare some time to watch them all. Read more:Automation
, Google
How To Test for an Empty Database Table in RFT 2007-08-19 09:09:00 I used this script to test if a table in the database is empty or not. I am using IBM RFT boolean found; ResultSet result;try{ Connection db_connection = DriverManager.getConnection("jdbc:odbc:DBNAME","USERNAME","PWD");Statement stm2 = db_connection.createStatement(); result=stm2.executeQuery("your query");found = result.next(); if (!(found))logTestResult("Test Failed",false);else logTestResult("Test Passed",true); } catch( SQLException x ){logError(x.getLocalizedMessage().toString()); }Reference: -0116.html Read more:Database
, Empty
, Table
Selenium IDE (Browser Acceptance Tool) 2007-05-02 06:48:00 While browsing Google London Test Automation Conference 2006 topics, a cool tool drew my attention. It's a collaborative open source project of Jason Huggins, a test engineer at Google.The tool offers:Easy record and playbackIntelligent field selection will use IDs, names, or XPath as neededAutocomplete for all common Selenium
commandsWalk through testsDebug and set breakpointsSave tests as HTML, Ruby scripts, or any other formatSupport for Selenium user-extensions.js fileOption to automatically assert the title of every pageI tried the Firefox extension and it was just awesome. What i really liked the most is its light weight and its support of many scripting languages. So why don't you get your hands dirty and try it out. :)Jason Huggins did a dedicated presentation on the tool back in Read more:Acceptance
Definition of Quality 2007-03-22 07:40:00 The Big Question that concerns us alwaysHow to have BETTER QUALITY in LIFE?The answers of this question lies under how, why and when …The definition of Quality
varies a lotSample of the answers that you can get around QUALITY...* Quality is Job #1* Quality, It's a Way of Life* Quality is a degree of excellence – WEBSTER* Quality is the totality of features and characteristics of a product or service that bear on its ability to satisfy given needs. - American Society for Quality* Quality of design* Quality of the process* Quality is the customers' perception of the value of the suppliers' work output* Error-free* Quality is doing the right things right and is uniquely defined by each individual * Clean, precise and flawless* Quality is a fulfillment of expectation* Quality is the expres Read more:Definition
.Net Team System 2008 Web Test Review Take 2 2008-03-12 04:09:00 Pros:1. The tool could be used to verify the core functionality (Not the UI) of the Web application.. This tool is convenient for detecting crashes.2. Script recording and playback is easy and stable.3. Works under multiple browsers.4. Supports browser version updates.5. Supports Scripting in C# and VB.6. Affordable system requirements. Same as TFS.7. Lists detailed result for each passed or failed step.Cons:1. The tool has a limitation when the page has JavaScript actions. In order to simulate those actions, the tester has to integrate code to simulate those actions. Which could be cumbersome depending on the application under test.2. Test reports cannot be exported or printed.3. Does not support pop-up recording. This is a known issue. Se Read more:System
IBM Rational Robot vs. HP (Mercury) QuickTest Professional 2008-04-08 04:25:00 IBM Rational Robot
Smart object recognitionStable recording and playback. Robot solves the problem of custom objects encountered in AppWorks by the ability to add those object to a class map. IBM Rational TestManager is necessary to view detailed tests logs. Datapools supportedSupport distributed testing and sharing test scripts.Very simplified scripting using SQABasic; a simplified scripting language. Other scripting languages are possible (C++ and Java) with an aid from TestManagerIBM Rational Robot Authorized User License + SW Subscription & Support 12 Months (D53NDLL) $ 4,676.00IBM Rational Robot Floating User License + SW Subscription & Support 12 Months (D52ZFLL) $ 9,009.00HP (Mercury
) QuickTest ProfessionalSmart object recognition.Stable recording and playbackDetailed reporti Read more:IBM
Is Selenium a Performance Test Tool ? 2008-04-09 14:47:00 Some people may get confused when first introduced to Selenium
RC or Selenium Grid. The best answer to this is what i read on Selenium users group by Haw-Bin:It's possible, but it's not a great usage of Selenium. One reason is that actually starting that many browsers will create a lot of overhead on the machines they are running on. You'll end up wasting a lot more computing power than you have to. Read more:Performance
Developers Compliance to Test Automation 2008-04-11 12:22:00 A TestSquad reader sent me an email asking:Is there a verification process to help validate that application developers comply to test automation requirements during their application development?Usually we just give the requirements and expect application developers to comply but when you are doing the automation scripts already, some things are still skipped. I am looking for a process that will help them comply.e.g. automation requirement: name tables as xxxxI have to admit that answering such a question is not easy. How can you guarantee that development activity is compliant with a subsequent test automation? How does the developer's code affect the success of your test automation?1 month ago, i was considering Selenium RC to automate a Java web application. Unfortunately and for a r Read more:Automation
, Compliance
, Developers
Like Concern Suggest Six Sigma Tool 2008-04-19 15:30:00 From now on, i will be frequently discussing some of the cool Six Sigma
tools that i have learned back in 2004 in an amazing 2-day extensive Six Sigma course. Today's tool is called Like-Concern
-Suggest or LCS Tool for short. It's very simple and this is how it works:You morning started your day with an early meeting with your boss or co-worker to discuss a certain technicality in a project. Your boss throws an idea that you think will have some limitations when applied into the ground. You boss maybe unaware of it. There are tow drastically different approaches to present your point of view:You interrupt your boss and say "I have to disagree with you because this will not work since our platform is based on bla bla bla". This is such a negative way of presenting your idea. And it will lea
GTAC 2008 Is Coming 2008-04-22 09:30:00 Updates: Google Test Automation Conference is coming. Check the details on Google Testing Blog
GTAC 2008 Is Coming 2008-04-22 09:30:00 Updates: Google Test Automation Conference is coming. Check the details on Google Testing Blog
Like Concern Suggest Six Sigma Tool 2008-04-19 15:30:00 From now on, i will be frequently discussing some of the cool Six Sigma
tools that i have learned back in 2004 in an amazing 2-day extensive Six Sigma course. Today's tool is called Like-Concern
-Suggest or LCS Tool for short. It's very simple and this is how it works:You morning started your day with an early meeting with your boss or co-worker to discuss a certain technicality in a project. Your boss throws an idea that you think will have some limitations when applied into the ground. You boss maybe unaware of it. There are tow drastically different approaches to present your point of view:You interrupt your boss and say "I have to disagree with you because this will not work since our platform is based on bla bla bla". This is such a negative way of presenting your idea. And it will lea
Developers Compliance to Test Automation 2008-04-11 12:22:00 A TestSquad reader sent me an email asking:Is there a verification process to help validate that application developers comply to test automation requirements during their application development?Usually we just give the requirements and expect application developers to comply but when you are doing the automation scripts already, some things are still skipped. I am looking for a process that will help them comply.e.g. automation requirement: name tables as xxxxI have to admit that answering such a question is not easy. How can you guarantee that development activity is compliant with a subsequent test automation? How does the developer's code affect the success of your test automation?1 month ago, i was considering Selenium RC to automate a Java web application. Unfortunately and for a r Read more:Automation
, Compliance
, Developers
Is Selenium a Performance Test Tool ? 2008-04-09 14:47:00 Some people may get confused when first introduced to Selenium
RC or Selenium Grid. The best answer to this is what i read on Selenium users group by Haw-Bin:It's possible, but it's not a great usage of Selenium. One reason is that actually starting that many browsers will create a lot of overhead on the machines they are running on. You'll end up wasting a lot more computing power than you have to.
Read more:Performance
IBM Rational Robot vs. HP (Mercury) QuickTest Professional 2008-04-08 04:25:00 IBM Rational Robot
Smart object recognitionStable recording and playback. Robot solves the problem of custom objects encountered in AppWorks by the ability to add those object to a class map. IBM Rational TestManager is necessary to view detailed tests logs. Datapools supportedSupport distributed testing and sharing test scripts.Very simplified scripting using SQABasic; a simplified scripting language. Other scripting languages are possible (C++ and Java) with an aid from TestManagerIBM Rational Robot Authorized User License + SW Subscription & Support 12 Months (D53NDLL) $ 4,676.00IBM Rational Robot Floating User License + SW Subscription & Support 12 Months (D52ZFLL) $ 9,009.00HP (Mercury
) QuickTest ProfessionalSmart object recognition.Stable recording and playbackDetailed reporti Read more:IBM