Thursday, 4 October 2012
Count The Repeated Letter
04:45
No comments
#include <stdio.h> #include <conio.h> #include <string.h> int main() { char stng[20],rpt; int count, i; clrscr(); printf("*****Program to Count The Repeated Letter*****"); printf("\n\nEnter word : "); ...
Wednesday, 3 October 2012
New features that are available in QTP 11
05:17
No comments
Complete list of new features that are available in QTP 11XPath and CSS based object identificationIdentify objects not only using normal object identification but withXPath and CSS identifier properties. A much awaited and a killer featureGood Looking and Enhanced Results ViewerThe new improved results viewer provides an executive summary page with summary data, pie charts and statistics for both the current and previous runs...
Reverse Number
03:55
No comments
#include <stdio.h>#include <conio.h>main(){ int n, rev, temp; clrscr(); printf("Enter number to reverse : "); ...
Tuesday, 2 October 2012
Compare 2 Excel sheets cell by cell
23:11
No comments
This code will open two excel sheet and compare each sheet cell by cell, if any changes there in cells , it will highlight the cells in red color in the first sheet.Set objExcel = CreateObject(“Excel.Application”)objExcel.Visible = TrueSet objWorkbook1= objExcel.Workbooks.Open(“path of 1st xls document”)Set objWorkbook2= objExcel.Workbooks.Open(“path of 2nd xls document”)Set objWorksheet1= objWorkbook1.Worksheets(1)Set objWorksheet2= objWorkbook2.Worksheets(1) For Each cell In objWorksheet1.UsedRange ...
In case your QTP 10.0 crashes frequently…
23:02
No comments
Go To command prompt. [Start > Run > Type cmd]Change directory to C:\Program Files\HP\QuickTest Professional\bin using the command cd C:\Program Files\HP\QuickTest Professional\binType in nt_tr.exe –remove as shown in the image below. You will see a message box stating Text recognition has been uninstalled.Reboot machine. It should work without reboot as well but just in case.Try opening...
Decrypt an Encrypted Password automatically
22:37
No comments
It is well known that recording a login sequence results in code similar to this:Login Scriptwith Browser("Gmail").Page("Gmail").WebEdit("Email").Set "mygmail@gmail.com".WebEdit("Passwd").SetSecure "5068b16874876c920b65d2036ace62c8103fecd0bbf8b7bfc7d2".WebButton("Sign in").Clickend withWhere QTP uses the SetSecure method for the Password field and records the encrypted string that represents our raw input password. One frequent question asked in forums is how is it possible to decrypt such a string. QTP’s Crypt object cannot...
Subscribe to:
Posts (Atom)