Thursday, 4 October 2012
Count The Repeated Letter
04:45
2 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 11
XPath and CSS based object identification
Identify objects not only using normal object identification but withXPath and CSS identifier properties. A much awaited and a killer feature
Good Looking and Enhanced Results Viewer
The new improved results viewer provides an executive summary page with summary data, pie charts and statistics for both the current and previous...
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 = True
Set 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
...
23:02
No comments
Introduction to Descriptive Programming:Descriptive programming is used when we want to perform an operation on an object that is not present in the object repository. There can be various valid reason to do so. We will discuss them later in this article.
How to write Descriptive Programming?
There are two ways in which descriptive programming can be used
1. By giving the description in form of the string arguments.
2. By creating properties collection object for the description.
1. By giving the description in form of the string...
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\bin
Type 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...
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 Script
with Browser("Gmail").Page("Gmail")
.WebEdit("Email").Set "mygmail@gmail.com"
.WebEdit("Passwd").SetSecure "5068b16874876c920b65d2036ace62c8103fecd0bbf8b7bfc7d2"
.WebButton("Sign in").Click
end with
Where 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...
Subscribe to:
Posts (Atom)