Learn about when should automation testing come into picture. Refer When should we automate using QTP? Now the real thing — Download QTP tutorial. Preferably for the latest version.
|Genre:||Health and Food|
|Published (Last):||24 December 2007|
|PDF File Size:||8.22 Mb|
|ePub File Size:||15.29 Mb|
|Price:||Free* [*Free Regsitration Required]|
Double Click on the UFT icon present on your desktop. On the next dialog-box, ensure Web add-in is selected. All the above steps are shown in the illustration below. How to create a new UFT test? Give your Solution a meaningful name. Click Create. How to record your first UFT script? We will record a very simple script where we will navigate to the web based flight application , enter the credentials, select various flight details and logout. Launch the Internet Explorer browser.
Start entering the information as you would normally do when you visit a website. Enter the URL. Enter the information on the subsequent pages thinking of yourself as a user who is booking a flight ticket. Logout from the application and close the browser. All the above steps are shown in the video below. Here is an extract from the video above. This is the raw script generated by UFT.
It consists of entire activity we undertook after hitting the record button. Let us understand the statements recorded as shown in the screenshot above, one-by-one. This is helpful during script replay-time. We will add a statement above it after a while to emulate the clicking on IE icon so that we can launch the browser automatically without user intervention.
Line 2: We are navigating to the demo website. Line 3 — 4: As you can see, the statements generated are quite self-explanatory. Line 5 — These lines too follow the similar behavior as explained above. They are emulating the exact behavior what we performed on the flight reservation application. Line Here we close the browser. If you try to replay this script, it will run fine except one problem.
To open the browser automatically as soon as we hit the Run button, we will put this statement at the top. We trust you have understood the statements in the script shown above. We would strongly suggest you to try it once yourself to get a hang of it. In the next tutorial we will discuss in detail about objects. For someone new to programming and UFT , you need to have a thorough grasp of this concept.
Make sure you enter your name and address below to receive the next tutorial as soon as it is ready. Please check your email and confirm free subscription! Here is the complete set of tutorials we have covered till now in the UFT tutorial series:.
Double Click on the UFT icon present on your desktop. On the next dialog-box, ensure Web add-in is selected. All the above steps are shown in the illustration below. How to create a new UFT test? Give your Solution a meaningful name.
QTP Tutorial – Step by step guide to learn QTP
Tutorial 6: Record Your First UFT Script