Showing posts with label QTP. Show all posts
Showing posts with label QTP. Show all posts

How to Hide Any Open Application Window during the Automation?




Q. How to hide Application Window during the automation?

During the development of my one of the projects I wanted to hide Firefox web browser window.

I was using HtmlUnitDriver to automate something but using it we cannot hide any web browser window, i did some research and some across one very good tool called AutoIt , It has all the capability to handle windows.

We can perform all kinds of operations using AutoIt.

Let me tell you how we can implement utility which can help us to Hide and again show any application window. Please follow below steps one by one.

1. You have to first install AutoIt, it is free. download from here

2. Open the Editor and write below code for Hiding any window.

Continue Reading >

QTP Utility To Monitor IE (Internet Explorer)

When you guys run any QTP Test script for any Web Application and what if you forgot to configure "Run Settings" of QTP (Quick Test Professional) shown in the below screen shot.



When we set this above option, it will open new Internet Explorer for your test script with specified URL Page and also we do specify "about:blank" if we just want to open IE with blank page at the start of test.

But now what if you forgot to specify this setting in your each QTP Scripts?

It happens many times with me and my friends with few automated QTP scripts when we have deadlines to complete Automation scripts. This is normal but when we run all those scripts in a batch mode, at the end of the Test Batch run we observed some of the failures due to "Internet Explorer Page didn't Open at the start of the Script". So we have to rerun those all failed scripts again which consume some time for running and analyzing the QTP script results.

To Solve this problem I have developed one small utility  Called MonitoringIE and this is how it looks like when we run it.
Related Posts Plugin for WordPress, Blogger...
Powered by Blogger