Posts

Showing posts from 2016

UFT 12.53 – New Features

Image
I will list down the new features that have been added to UFT 12.53. If you are using some older version of UFT or QTP in your projects, then it would be good to have a look through this article so that you get to know the new features that are available with UFT 12.53. There is a good chance that you might find some features which are useful in your project, thereby helping you decide if you want to switch to the newer version of the tool. Let’s now have a look at the new features in UFT 12.53 – Enhanced Mobile testing This version of UFT supports enhanced functionality for both native and hybrid mobile apps. Now, you can: a) Configure devices and applications for your tests directly from the new Mobile Center wizard b) Test non-packaged apps. This means you no longer need to package apps to upload them to Mobile Center c) Test mobile web apps using the device’s native browser – Safari for iOS devices, and Chrome for Android devices New Docker activities for API t

Synchronization in UFT

Image
When we automate the script most of the time we faced several issues with performance of application. sometimes application becomes slow in response sometimes fast. then how we show make sure that our script should run in irrespective of the application performance and response? all automation tools provide specific functions which handles these performance issue. UFT also has Synchronization mechanism to make sure that script will not fail. Lets discuss more about the Synchronization. There are 5 different ways to handle the synchronization. WaitProperty Exist Wait Sync(only for web based apps) Default Synchronization WaitProperty: WaitProperty is a method  which can be apply on any object in UFT. It takes the property name, Value and Timeout value as input to perform the sync. It is a dynamic wait, it means once the object is get visible/enable or state becomes true corresponding action gets performed. so it is highly recommended options. Example : lets put wa

Release Locked UFT Tests from QC

Release locked UFT Test from QC-> USERID -Enter you user name Set QCConnection=QCUtil.QCConnection Set con=QCConnection.command   con.CommandText=”DELETE FROM LOCKS WHERE LK_USER = ‘USERID’   Set recset=con.execute

Ten Key Principles of Effective Testing

1. Testing is a risk management process. 2. Understand the application being tested. 3. Set clear testing objectives and criteria for successful completion (including test coverage measures) 4. Create an effective test environment. 5. Test as early as possible in the development cycle (Shift Left Testing) 6. Do plan for User Acceptance Testing (UAT). 7. Regression testing. 8. Automate as much as possible. 9. Capture test incidents and use them to manage risk at release time. 10. Manage change properly to avoid undoing all the testing effort.

VBScript Built-in Functions

1. Date and Time Functions ·            CDate:   Converts a valid date and time expression to the variant of subtype Date. ·            Date :   Returns the current system date. ·            DateAdd:   Returns a date to which a specified time interval has been added. ·            DateDiff:   Returns the number of intervals between two dates. ·            DatePart:   Returns the specified part of a given date. ·            DateSerial:   Returns the date for a specified year, month, and day. ·            DateValue:   Returns a date. ·            Day:   Returns a number that represents the day of the month (between 1 and 31, inclusive). ·            FormatDateTime:   Returns an expression formatted as a date or time. ·            Hour:   Returns a number that represents the hour of the day (between 0 and 23, inclusive). ·            IsDate:   Returns a Boolean value that indicates if the evaluated expression can be converted to a date. ·          Minute:   Returns a num