Subscribe by Email


Showing posts with label Record. Show all posts
Showing posts with label Record. Show all posts

Sunday, February 24, 2013

Explain Fabasoft app.test - Web Functional/ Regression Test Tool


About Fabasoft app.Test

- Fabasoft distribution GmbH has developed a web testing tool called the fabasoft app. Test.
- It can be used to create tests based up on the patterns that are effective in reducing the complexity of the java and HTML applications.
- These tests do not contain any CSS and XPath expressions but they do contain statements that are meaningful and can be easily understood. 
- The features of this tool can be extended by connecting with it the eclipse plug–in that is a point–and-click editor. 
- This plug–in can be used for designing effective patterns for web sites. 
Fabasoft app. Test supports web browsers such as Mozilla firefox, internet explorer, and safari and so on. 
- In all these browsers, tests can be recorded using the above point–and–click recorder.
- The recorded test scripts than can be replayed immediately after recording in the other browsers and there is no need for modifying those scripts.
- The tool is even capable of generating various reports in formats such as PDF or html, documentation of the errors consisting of various dumps and screen shots. 
- It supports various platforms such as:
1.   Win
2.   Linux
3.   Mac OS – X

Features of Fabasoft app.Test

 
Some of the characteristic features of this web testing tool are:
1.   Recorder
2.   Multi – browser support
3.   Script and dialog error handler
4.   Documentation of the errors along with screen shots
5.   Various dumps
6.   Several reports in formats such as pdf and html.

- If you have opted for using fabasoft app. Test, you can just sit back and relax and let the tool take on the testing process. 
- The tests that are created with fabasoft app. Test are easy to understand and there is no requirement of the programming skills.
- It can be considered to be the next generation web testing. 
- You can teach fabasoft app. Test about your application in just a few clicks. 
The fabasoft app. Test can test the application further for omissions and errors. 
- The tool is quite easy to install and use.
- Large scale web sites are developed through standards such as content management systems (CMS) including red dot, liferay, joomla and so on. 
- Since these web sites represent the reputation of the companies, it is important that they should remain highly accessible all the time and free of errors. 
- The web developers often end up looking for GUI testing tools for testing their sites. 
- Fabasoft app. Test can be used for the automated testing of the web applications no matter what technology has been used for building these applications such as ASP, PHP, flash, JavaScript and so on. 
- The fabasoft app. Test can be taught about the structure of the application to be tested. 
- Once done with this, you can start with the recording of the test and obtaining reports. 
- It ensures that your application is can run on all the platforms and web browsers. 
- Stay automatically informed about the status of your application testing. 
- You get to know about a problem as soon as it is encountered and solve it well in time.
1.   Fabasoft app. Test studio
2.   Point and click recorder
3.   Multi browser support
4.   Control specification designer
5.   Internationalization of the tests
6.   Test player
7.   Console player
8.   Remote agent
9.   Commander
10. BIRT report support
11. Html reporting



Sunday, February 17, 2013

Explain Rapise - Web Functional/Regression Test Tool


In this world of web–based applications, every application is unique and therefore its testing needs are also different from the other applications. To satisfy all those different testing requirements, environments, specifications, scenarios and so on we require many different testing tools. So a number of web functional/ regression testing tools have been developed and all of them possess some unique features that suit to needs of the different testers. 

In this article we discuss about one such web functional/ regression tool called Rapise that has been developed by the Inflectra inc. 

About Rapise

- This tool provides a platform for functional test automation. 
- The architecture of this tool is quite open and can be extended if required. 
These two qualities make it very flexible for testing the applications.
- Rapise has built–in cross–browser testing capabilities that support several versions of the following web browsers:
  1. Microsoft internet explorer
  2. Mozilla firefox and
  3. Google chrome
- It supports the following applications:
  1. Ajax
  2. GWT
  3. YUI
  4. Flash/ flex
  5. AIR
  6. Silverlight and so on.
- Microsoft excel spreadsheets can be used for following approaches such as keyword driven testing and data driven testing.
- Rapise identifies the objects based up on CSS and Xpath. 
- Rapise comes with a built–in OCR i.e., optical character recognition.
- It relies on JavaScript for scripting purpose. 
- An open format is used for storing the scripts as well as the identified objects unlike other tools that store them in a database or a proprietary binary file. 
The JavaScript editor included with Rapise is full function edition and has a feature called the automatic code completion. 
- An active JavaScript debugger that is plug-gable plus has watches and break points, is also included in Rapise tool. 
- Rapise has made cross browser testing much easier than before. 
- This is all because of the cross – browser testing capabilities that are of the best standard and multiple browser versions as mentioned earlier in the article. 
You have the choice of recording and creating one test script and executing the same in all the major browsers without making any modifications to it. 
Rapise claims to have the most flexible as well as the powerful test automation features ever available in the market. 

Features of Rapise Testing Tool

Below we mention some features of Rapise testing tool:
  1. Learn and go functionality: This lets you create test scripts rapidly. This works in a more efficient manner than what traditional recording and playback methods we have. The editing of the object takes place during the learning process.
  2. Keyword driven testing and data driven testing
  3. Windows and web application testing
  4. Can be extended using Javascript
  5. Adobe AIR and Flash support
  6. Supports DevExpress, Infragistics and telerik controls.
  7. Support for Qt framework
  8. Integrated reporting capabilities that are very powerful.
  9. Integration with SpiraTest for effective test management.
- This tool has leveraged the power of extensible architecture by a great measure. 
- For user, the JavaScript source code has been made available for library recognition as well as execution. 
- All these features let you automate the test where other testing tools are bound to fail. 
- With such advanced features, Rapise can be called as the most customizable, extensible and flexible test automation tool. 
- Key functions can be modified by the users as per their requirement and the recording aspects can be customized with the help of custom plug – in libraries. - Since Rapise is using Javascript, a broad range of users can access it.  




Tuesday, February 5, 2013

How test cases are generated using Testing Anywhere?


Testing anywhere software product helps you create the test cases using any of the 5 methods namely:
- Web recording
- Object recording
- Image recognition
- Smart recording and
- Editor

- While editor can be used for editing the test cases by advanced users, wizard is for those who do not have any programming skills. 
- Another facility is that the creation of the files that are executable. 
- These files are created in such a way that they can be executed on a machine that might be located in a remote location. 
- IT and business processes are created by the work flow designer and is managed by the same.
In this article we explain how the test cases can be generated using the testing anywhere product. 

How test cases are generated using Testing Anywhere?

- The testing anywhere product comes with a SMART recorder that one can use to create new tests. 
- Clicking on the ‘record’ button will drop down a list of options from which you have to select what type you are testing i.e., a web or windows application type. 
- Then you need to perform the activities on the system that you want to be recorded. 
- You can insert a checkpoint wherever you want by clicking on the check point button. 
When you are done with recording the tests click on the stop button. 
- You can then save these activities in a test by clicking on the save button. 
- You can playback these test scripts whenever you want and any number of times by clicking on the run button. 
- In testing anywhere product, it does not matter if any change occurs between the size and location of the window of the application while the recording or replaying is in progress. 
Testing anywhere uses a SMART automation technology that helps in automatically adjusting to those changes.
- Another advantage of using testing anywhere is that you can work up on any number of applications.
- You do not have to finish working up on one application before moving on to the next. 
You can very well switch between the applications. 
- Testing anywhere even works while your computer is locked. 
- It does so because of the auto log-in capability that is unique to this software. 
- With this, you can schedule the tests and they will be executed even when your system is locked. 
- If this capability is enabled and the system is locked, it will be unlocked by the testing anywhere, the test will be executed and the computer will be locked again. 
- Auto log-in capability lets you run the tests in stealth mode when the system is locked. To do this follow:
Properties à security à run this test in stealth mode

- The execution will then be hidden. 
- Further, if you want to lock the keyboard and mouse you can use the ‘disable mouse and keyboard for this test’ option. 
- If you want to stop the execution of a test just keep holding the escape key for some time. 
- Using the pause key on the keyboard you can pause the test while it is executing. 
Further clicking on the resume button you can continue with the execution. 
- Another thing that makes testing anywhere unique is that it can run the tests in background. 
- A number of advanced technologies lets you run the tests in background such as:
1.    Web recorder
2.    Object recorder
3.    And a number of other powerful actions
- However, there are some tests like those that are recorded through standard recorder. 
These tests require mouse and keyboard control and therefore cannot be executed in background. 
- There are few other exceptions also such as commands such as screenshots; image comparison etc. that cannot be run in background.


Sunday, February 3, 2013

What is Testing Anywhere software product? What are its uses?


Testing anywhere software product was developed by the Automation Anywhere Inc. based in San Jose. This is another software in the category of test automation tools. This software has proven to be a boon for the software testers and developers who have to test the web sites, applications, GUI front-ends, objects and controls. The product has got many uses from recording to the execution of the test cases. It is used for the following major purposes:
  1. Recording of the tests
  2. Debugging them
  3. Scheduling their execution
  4. Executing the tests
The above mentioned operations can be carried out for a number of application types such as:
  1. Java
  2. Silverlight
  3. Mainframe
  4. C++
  5. .NET and so on.
Testing anywhere product provides option for automating the test case creation. Testing anywhere offers you 5 different methods for creating the test cases namely:
  1. Web recording
  2. Object recording
  3. Image recognition
  4. Smart recording and
  5. Editor
- The test cases thus created using any of the above methods can be later recorded, edited, saved and can also be enhanced. 
- The editor is used for editing the test cases. 
- People who don’t have programming skills can use the wizard for creating and editing the test cases. 
- Testing anywhere software lets you create files with .exe extension i.e., the executable files which later can be deployed by the software testers on remote machines. 
- The creation of a high level IT and business processes is the responsibility of the workflow manager. 
- Further, workflow manager only takes care of the ability by virtue of which these processes are managed. 
- It supports a number of platforms:
  1. Microsoft windows 7 (both 32 and 64 bit)
  2. Microsoft windows vista (both 32 and 64 bit)
  3. Microsoft windows XP (both 32 and 64 bit and along with service pack 2)
  4. Microsoft windows server 2008 R2
  5. Microsoft windows server 2003
- Testing anywhere supports the following kinds of testing:
  1. Integration testing
  2. Compatibility testing
  3. Performance testing
  4. GUI testing
  5. System testing
  6. Java application testing
  7. Automated flex testing
  8. Silverlight application testing
  9. Mainframe application testing
  10. WPF testing
  11. Third party .NET supported testing
  12. Automated software testing
  13. Automated web testing
  14. Regression testing
  15. Distributed testing
  16. Functional testing
  17. Black box testing
  18. Acceptance testing
  19. Unit testing
  20. Keyword driven testing
  21. Data driven testing
  22. Smoke testing
- The product has been named because of the facility that it provides for running the tests on any remote machine present in the network. 
- Further, it reduces the testing cost by a huge margin since it cut down the money being spend up on the software licenses, resources, and training and time of course.
- Testing anywhere provides you a SMART recorder for creating new tests.


Monday, October 1, 2012

What are the advantages and drawbacks of QTP?


Though the quick test professional is quite useful like every other object in this world, it has got its advantages and drawbacks. The same thing is going to be discussed here in this article. 

Advantages of Quick Test Professional

1. The quick test professional has got such simplicity that it can be understood easily by even a non programmer and can begin with the testing by adding the test cases.

2. The quick test professional provides support for record and playback of the scripts. Plus it comes with the ability to edit the scripts just after the recording is complete. Different recording modes or options are available with the quick test professional:
    a)   Normal or context sensitive recording mode
    b)   Analog recording mode and
    c)   Low level recording mode

3. Quick test professional (QTP) possesses an excellent object identification mechanism.

4. Quick test professional comes with an extended support for the following add ins:
    a)   SAP
    b)   Oracle
    c)   Java
    d)   .NET
    e)   Siebel
    f)    Main frame or terminal emulators
    g)   Web services
    h)   Web forms and so on.

5. With quick test professional the existing tests and test scripts can be enhanced even if the AUT or application under test in not there with the help of an active screen.

6. Almost all of the popular test automation frame works (such as key word driven, data driven, modular testing approach, hybrid and so on) are supported by the quick test professional.

7. An IDE or integrated development environment is inbuilt in to the quick test professional which is quite easy to use and has got a simple interface. 

8.The scripting language “VBScript” which is used by the quick test professional is just like English and can be learned easily. There are plenty of sources via which one can learn VBScript.

9. In many of the test automation suites it is found difficult to implant the MOM i.e., the Microsoft object model but in quick test professional it is an easy task to do.

10.To make quick test professional further better it can be embellished with other test management tools such as the HP QC or quality center, functional testing tools such as winrunner and test management tools such as test director and so on. Once the tests have been mapped to the automation scripts, they can be executed directly from the HP quality center. Also, winrunner test execution can be kicked off by the quick test professional.

11.With quick test professional several types of suites can be maintained namely:
    a)   Sanity
    b)   Smoke
    c)   Regression and so on.

12. Like most of the test automation suites it provides support for xml.

13. Excel or data base files can be used easily in quick test professional with a variety of methods to use them.

14. Data and the test iterations can be easily maintained.

15. Test reports provided by the quick test professional are complete with all details required for analysis.

Drawbacks of Quick Test Professional

1. Proves to be costlier than any other test automation suite in terms of license and maintenance.

2. It does not support multiple threads and instances execution.

3. It will be surprising to know that the quick test professional has got no high speed rather it has got much slower speed than most of the open source tools such as selenium.

4. Support is provided from HP QC only on the renewal of the license.

5. Add- ins (such as SAP, oracle, java, .net, Seibel, peoplesoft and so on) have to be purchased separately.


Thursday, September 27, 2012

How would you connect to database using vbscript?


VBScript or visual basic scripting edition is the basic scripting language for the HP test automation suite called the quick test professional. This scripting language is quite a lively script whose interpretation is done via script host of the Microsoft windows. This scripting language comes with a whole lot of excellent and powerful functions with good support for data types, error handling and variables. 

There are two engines that can interpret the VBScript namely:
  1. Wscript.exe and Cscript.exe: it works in the GUI environment f the windows with the help of the WSH or windows script host. However this engine is basically used for automating the administration tasks as well as to automate the systems.
  2. VBScript.dll- this engine can be invoked by asp.dll and basically serves in the web environment.
VBScript is used as the following in quick test professional:
  1. Data base record set object
  2. Data base command object
  3. Data base connection object
Here in this article, it has been discussed about how a connection between data base and quick test professional can be established through the VBScript. 

The below mentioned are the various VBScripts available for connecting and accessing data base in quick test professional:
  1. Updating records in a record set
  2. Deleting a record from the record set
  3. Finding a record in record set
  4. Clearing a data base table
  5. Connecting to an ADO data base
  6. Adding a new record to the data base

How to connect to a database using VBScript?

- To connect to a data base using VBScript, a DSN inventory is required. 
- An ADO connection is another requirement for making an open connection with a specific data source. 
- Once this connection is established, the data base can be easily accessed as well as manipulated. 
- Also, once this connection is established it is not important how many times that data base is accessed. 
- Another way to establish a connection with the data base using VBScript is by passing a connection string through some record set object or a particular command. 
- Though this method is quite quick but it holds good only for the single specific queries. 
- An essential connection from a web server to a data base is nothing but a data source. 
- This connection can either be established via a dedicated machine running SQL server or through a data base file on a web server at some other location. 

Two types of DSNs or data sources are available namely:
  1. File DSN: This is the connection that is created by the script when an access to the data base is required. Here the path and name of the data base to be accessed needs to be specified. Another condition for this DSN to work is that the data base to be connected to must be residing on a server in a directory which must be accessible by the script.
  2. System DSN: Creation of this kind of connection is under the charge of the administrator of the web server which consists of the required data base. This is the most popular data base connection since it is much reliable than its former counterpart.
- After the access to the data base is complete it is important that the connection should be closed at the end of each page. 
- For creating any application, the foremost thing that is required is data base itself. 
- A number of programs are available for developing a data base, however, the Microsoft access remains the most popular of them all. 
- It is important for web application designer to know the basics of the data base usage with VBScript as well as active server pages for developing real web applications.


How will you check a web application for broken links using QTP?


Checking for the broken and ill links forms a very important aspect of any web testing profile. The below mentioned are few testings which take the priority of the web testing check list:
  1. Usability testing
  2. Functionality testing
  3. Compatibility testing
  4. Interface testing
  5. Security testing
  6. Performance testing
Out of all these the functionality testing tests the following basic aspects of a web page or site or application:
  1. all the links in web pages
  2. data base connection
  3. forms in the web pages
  4. cookies
When it comes to checking of the links the following links are tested:
  1. out going links from a specific domain
  2. internal links
  3. links jumping on same page
  4. links for sending mails
  5. orphan pages and lastly
  6. broken  links
Our focus is on last aspect i.e., testing of the broken links in a web page, site or web application with the help of the quick test professional. 

What are broken links?

- Broken links are also termed as dead links since they are permanently unavailable and hence cannot be accessed by the user. 
- If you would have observed you might have surely come across 404 error while browsing some site. 
- This signifies the presence of a broken link. 
- Using quick test professional, the broken links can be identified during the run time itself by following any one of the two methods mentioned below:
  1. via manual creation of a check point
  2. via automatic page check point

How a broken link be checked manually by creating a page check point?

- A direct menu option is not available in the quick test professional for incorporating a page check point. 
- Therefore, you need to take assistance of a standard check point. 
- What you actually need, is to click on the start recording session and then select insert option, then check point and finally standard check point option.
You can use F12 if it works for you.
- Get the hand pointer on the web page and click OK. 
- You will get a page check point properties dialog box which has a broken link check box. 
- You need to check that box and click OK. 
- After this, you need to run the scripts and check the status of links in broken link result. 
- If the links pointing only to the current host have to be checked then you need to check the box titled check only links to current host by going to the tools menu and then selecting web options. 
- Similarly, if the links pointing to all the hosts have to be checked then this box has to be kept unchecked. 
For following the second method you need to go through the following:
Tools à options à web à advanced
- You will get two boxes labeled “broken links” and “create a check point for each page while recording”, check these both boxes. 

Now every time the quick test professional starts recording on a new page, a check point will be automatically included for all the broken links. 
One thing that you should know is that the quick test professional experiences some issues with the windows vista if the internet explorer version that you using is 7.0. 
Tabbed browsing is something that is not supported by the quick test professional especially in Microsoft internet explorer. 
An alternative to this can be to disable tabbed browsing first and then proceed with quick test professional. In internet explorer the quick test professional may not be able to recognize the web objects. 


Monday, September 24, 2012

What is the Difference between Bitmap Check point & Image Check point in QTP?


There are two types of major check points that are provided by the quick test professional namely:
  1. Bit map check point and
  2. Image check point

What is Bitmap and Image Check Point?

- The expected bit map of an object is captured using the bitmap check point while the recording process is in progress. 
- While a run session is in progress and the actual bitmap matches, a pass to the test result is returned by the expected bitmap. 
- If the above is not the case, the test is said to have failed. 
- While the recording is in progress, it is better to insert the bitmap check point rather than inserting it in the active screen. 
- Inserting the check point in the active screen would pose the problem since the possibility is that the active screen may or may not have the latest bitmap updates and making changes to the screen at that time can cause the whole program to fail. 
- To know the difference in the scripts before and after inserting a check point, simply disable a button and run the script. 
- Then insert the check point, enable the button and run the script again. You would be able to see the difference for yourself. 
- For inserting the bitmap check point in to the test script open up a blank test in quick test professional and then open the application that you want to check and start recording. 
- You will get a record and run settings window, select the tab titled “windows application”, then “record and run test on any windows based application” and hit OK. 
- Go to the check point’s option in the insert menu and select the bitmap check point option and insert it where you want.  
- The bitmap check point properties can be changed. 
- Now when the test is run a pass in the test result is recorded by the quick test professional. 
- The basic use of the bitmap check points is in making comparisons between objects and images pixel by pixel. 
- The comparison is carried out for the following:
  1. RGB color variations and
  2. Total deviation in number of pixels.
- By matching the captured bitmaps one can the appearance of the elements in the application. 
- Bitmap check point has proved to be great help in checking bitmap of a full web page or an image. 
- On the other hand, an image check point cannot check the pixels and therefore it is basically employed in checking properties like source file location of a web site or web page. 
- The area of an application or a web page can be checked as a bitmap. 
- The area to be checked can be specified by selecting an object while creating a test. 
- The selected object is specified as a bitmap and then the check point can be inserted in the test. 
- This calls for a large disk space so in order to save space you have the option of saving only the selected area of the object.
- The bitmap check point also allows you to check the zooming property of the maps and they can be created for all supporting testing environments. 
- The results of the bit map check point may be affected by color settings, screen resolution and operating system but this is not so in the case of the image check points. 
- The properties of an image are verified by image check point under AUT whereas only an area of the AUT is verified as a bitmap by the bitmap checkpoint.  


Facebook activity