site
stats

Consider this scenario. You open the Home page of the web application that you are testing. In your Home page, you’ll have many links pointing to various sections of the website. Your task is to check that there should be no broken links (or dead links) in the Home page. i.e. All the links

In the previous article, we had seen how QTP identifies a test folder and distinguishes it from a normal folder. On the same lines, we would see how QTP identifies a test results folder. We will use QTP’s Test Result Deletion tool to illustrate this concept. QTP checks for the presence of 3 different files/sub-folders

You would have probably used the Test Batch Runner tool to batch run your test scripts (If you are not aware of it, Test Batch Runner is a tool provided by QTP to run multiple tests in succession). In the Test Batch Runner tool, you need to click on the Add icon and then

Many a times you would have noticed that if you open a new browser window using QTP (or otherwise also) the browser is not in maximized mode by default. And in certain cases, you would really need the browser to be in maximized state (like for better readability). In this article,

When you open QTP, you would usually come across the Add-in Manager where you can select the add-ins you want to use in your test script. Ever wondered from where QTP loads the Add-in names and their associated descriptions? In case you didn’t know, QTP loads the Add-in names and their descriptions from Windows Registry.

Action Template is a mechanism in QTP that allows you to include some text in your new actions by default. The text will be included automatically every time you create a new action.

To encode or encrypt a password, QTP provides Encrypt method and Password Encoder tool. But what happens when a user wants to find out the decrypted (original) value of an encrypted password? QTP doesn’t provide a direct way to obtain the decrypted/decoded password.

Did you ever encounter a situation where you needed to search a sub-string inside a string? Of course InStr() is a great function which helps users solve this problem. But what happens when the sub-string you want to search contains a regular expression?