hpsqtp.blogspot.com
HP's QTP: How to compare two images using QTP
http://hpsqtp.blogspot.com/2013/03/how-to-compare-two-images-using-qtp.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Sunday, March 17, 2013. How to compare two images using QTP. We know by using Bitmap checkpoint, we can compare two images. But is there a other way we can compare? Yes, we can use "IsEqualBin" method from Mercury.FileCompare. SImgPath1="C: Users user Downloads SAI 01461 exposure.JPG". SImgPath2="C: Users user Downloads SAI 01462 exposure.JPG". SImgPath2="C: Users user Downloads SAI 0175 exposure.JPG". Posted by Anem Udaya Kumar. May 23...
hpsqtp.blogspot.com
HP's QTP: How to check the website you are testing is up and running
http://hpsqtp.blogspot.com/2013/02/how-to-check-website-you-are-testing-is.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Friday, February 1, 2013. How to check the website you are testing is up and running. We can check the website up and running by just pinging the website. You can do that in couple of ways. Here is the simplest way to ping a website. StrQuery = "SELECT * FROM Win32 PingStatus WHERE Address = '" and strWebSiteName and "'". Set objWMIService = GetObject("winmgmts: . root cimv2"). Set objItems = objWMIService.ExecQuery( strQuery ). Subscri...
hpsqtp.blogspot.com
HP's QTP: How to add an image at the end of the Word document
http://hpsqtp.blogspot.com/2013/03/how-to-add-image-at-end-of-word-document.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Monday, March 4, 2013. How to add an image at the end of the Word document. Here i divided the task into 2 steps. 1 Capture the desktop image/application. 2 Insert the captured image at the end of the word document. SWordFilePath="D: Programming Samples QTP SampWord.docx". Desktop.CaptureBitmap sFilePath,true. Const END OF STORY = 6. Const MOVE SELECTION = 0. Set oDoc=oWord.Documents.Open(sWrdFilePath). Posted by Anem Udaya Kumar. SQL Q...
hpsqtp.blogspot.com
HP's QTP: January 2013
http://hpsqtp.blogspot.com/2013_01_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Saturday, January 19, 2013. How to check an Excel file is already open. There are no direct methods using Exel/Workbook object to find the functionality. Work around is, we need to find out all open tasks, and from that we will see whether any task with name "Microsoft Excel". Here in the below code, i have a sample Excel file with name "SampleXL". Set Word = CreateObject("Word.Application"). Set Tasks = Word.Tasks. While not oRS.EOF.
hpsqtp.blogspot.com
HP's QTP: March 2012
http://hpsqtp.blogspot.com/2012_03_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Thursday, March 15, 2012. Pure virtual function call. Suddenly QTP behaves very strangely. You cannot save any Tests etc etc. and it throws an error message saying R6025 - Pure Virtual Function call. You cannot do much after this error. Reinstalling QTP also less useful. Possible causes might be:. QTP configuration files might be corrupt. QTP provides patch for this. Install the patch QTP 00604. Posted by Anem Udaya Kumar. Posted by Ane...
hpsqtp.blogspot.com
HP's QTP: March 2013
http://hpsqtp.blogspot.com/2013_03_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Sunday, March 17, 2013. How to compare two images using QTP. We know by using Bitmap checkpoint, we can compare two images. But is there a other way we can compare? Yes, we can use "IsEqualBin" method from Mercury.FileCompare. SImgPath1="C: Users user Downloads SAI 01461 exposure.JPG". SImgPath2="C: Users user Downloads SAI 01462 exposure.JPG". SImgPath2="C: Users user Downloads SAI 0175 exposure.JPG". Posted by Anem Udaya Kumar. Find s...
hpsqtp.blogspot.com
HP's QTP: November 2012
http://hpsqtp.blogspot.com/2012_11_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Friday, November 9, 2012. How to find CPU and Memory Usage using QTP. How to find out CPU utilization and Memory usage as displayed in the Windows Task Manager. We can get these values using WMI service. Below is the code:. StrComputer = ".". Set objWMIService = GetObject("winmgmts: " and strComputer and " root cimv2"). Get the CPU utilization %. MyQuery = "SELECT * FROM Win32 PerfFormattedData PerfOS Processor WHERE Name = ' Total'".
hpsqtp.blogspot.com
HP's QTP: July 2011
http://hpsqtp.blogspot.com/2011_07_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Sunday, July 24, 2011. How to select a check box click a link in a web table with text. This is one of the most common interview question. The first column of a web table contains checkboxs, and in the second column have some text. If any row in the second column contains a text say "uday", then the corresponding checkbox in the first column should be selected. How can we do that? It is pretty simple: :). Posted by Anem Udaya Kumar.
hpsqtp.blogspot.com
HP's QTP: June 2011
http://hpsqtp.blogspot.com/2011_06_01_archive.html
This blog contains QTP FAQs and QTP and Testing Interview Questions. Sunday, June 26, 2011. Swap two numbers without using any other parameter. Swap two numbers using some extra parameter. Posted by Anem Udaya Kumar. Different Test Case design techniques. 4 State Transition graphs Cause -Effect graphs. 5 Error guessing etc. Posted by Anem Udaya Kumar. Examples for High Severity and Low priority and Low Severity and High Priority. High Severity and Low Priority. A Any out of scope items. For i=1 to noItems.