Wednesday, March 1, 2017

Shortcut Keys in QTP UFT

Frequently Used Shortcut keys :

  • To comment block of statements: Ctrl+M
  • To uncomment block of statements: Ctrl+Shift+M
  • To apply “With” to script: Ctrl+W
  • To remove “With” from script: Ctrl+Shift+W
  • To check syntax Errors: Ctrl+F7
  • For Normal recording: F3
  • For Analog recording: Shift+Alt+F3
  • For Low level recording : Shift+Ctrl+F3
  • To Stop Recording/Run: F4
  • To Run script: F5
  • To Run from step:Ctrl+F5
  • To rename Action: Shift+F2
  • For Breakpoint :F9
  • Step Into: F11
  • To open “Object Repository”: Ctrl+R

File Operations:

New Test : Ctrl + N
New Business Component : Ctrl + Shift + N
Function Library : Alt + Shift + N
Application area : Ctrl + Alt + N
Open Test : Ctrl + O
Open Business Component : Ctrl + Shift + O
Open Function Library : Alt + Shift + O
Open Application area : Ctrl + Alt + O
Add new Test : Ctrl + Shift + T
Add new Business Component : Ctrl + Shift + B
Add new Application area : Ctrl + Shift + A
Add Existing Test : Ctrl + Alt + T
Add Existing Business Component : Ctrl + Alt + B
Add Existing Application area : Ctrl + Alt + A
Close: Ctrl + F4
Close Solution : Ctrl + Shift + F4
Save Test : Ctrl + S
Save All : Ctrl + Shift + S

Edit Operations :

Undo Changes : Ctrl + Z
Redo Changes : Ctrl + Y
Cut : Ctrl + x
Copy : Ctrl + C
Paste : Ctrl + V
Comment : Ctrl + M
Uncomment : Ctrl + Shift + M
Indent : Tab
Outdent : Shift + tab
Complete word : Ctrl + Space
Argument Info : Ctrl + Shift + Space
Apply “With” to the script : Ctrl + W
Remove “With” : Ctrl + Shift + W

View Operations:

View Solution Explorer : Ctrl + Alt + L
View Toolbox : Ctrl + Alt + X
View Properties : Ctrl + Alt + P
View Data : Ctrl + Alt + D
View Output : Ctrl + Alt + U
View Errors : Ctrl + Alt + E
View Tasks : Ctrl + Alt + K

Search Operations:

Find : Ctrl + F
Find Next : F3
Replace : Ctrl + H
Incremental Search : Ctrl + E
Reverse Incremental Search : Ctrl + Shift + E
Toggle Bookmarks : Ctrl + B
Goto Matching Brace : Ctrl + M
Goto Location : Ctrl + G

Design Operations:

Standard Check Point : F12
Existing Check Point : Alt + F12
Standard Output Value : Ctrl + F12
Step Generator : F7
Check Syntax : Ctrl + F7

Record Operations :

Record : F6
Stop Run/Recording : F4
Analog Recording : Ctrl + F3
Low Level Recording : Shift + F3

RUN Operations :

Run : F5
Run now : Shift + F5
Stop : F4
Run from step : Ctrl + F5
Step Into : F11
Step Over : F10
Step Out : Shift + F11
Run to Step : Ctrl+ F10
Insert Breakpoint : F9
Remove Breakpoint : Ctrl + F9
Clear All Breakpoints : Shift + Ctrl + F9

Other Resources :

Open Object Repository : Ctrl + R
ALM Connection : Ctrl + Q
Next Window : Ctrl + Tab
Previous Window : Ctrl + Shift + Tab
Help : F1

Monday, September 19, 2016

TestNG Installation

  1. ·         Launch the Eclipse IDE and from Help menu, click “Install New Software”.
  2. ·         You will see a dialog window, click “Add” button
  3. ·         Type name as you wish, let's take “TestNG” and type “http://beust.com/eclipse/” as location. Click OK.
  4. ·         You come back to the previous window but this time you must see TestNG option in the available software list. Just Click TestNG and press “Next” button
  5. ·         Click “I accept the terms of the license agreement” then click Finish.
  6. ·         You may or may not encounter a Security warning, if in case you do just click OK.
  7. ·         Click Next again on the succeeding dialog box until it prompts you to Restart the Eclipse.
  8. ·          You are all done now, just Click Yes.
  9. ·         Proceed with your workplace.
  10. ·         After restart, verify if TestNG was indeed successfully installed. Right click on you project and see if TestNG is displayed in the opened menu.


Selenium Installation

1 . Install latest version of eclipse


2.  Download selenium jar files from http://www.seleniumhq.org/download/

3.  Launch Eclipse tool and add external jar files that is selenium jar file in eclipse

 Once crating a project : Right click on Project ‘XXX‘ > Select Properties > Java build path. Then navigate to Libraries tab and click Add External JARs


Add Selenium Java jar,Add all the jars from the libs folder as well

Friday, June 10, 2016

UFT - QTP Interview Questions - JP Morgan



1.      Tell me about your self
2.     Given 2 strings, first string contains India and the second contains Australia. Write code to swap these 2 strings.
3.      A web table contains 2 columns, Employee name in the first column and Second column  contains 2 check boxes namely Yes and No.
 Whenever a specified name occurs in the web table, check box “yes’ is to be clicked.  Write code for this.

4.      Write a customized code for finding out the length of a string without using the built in   function, 
       “len”.




Note : Post a comment for solution on any questions

Thank you for visiting blog

QTP Interview Question - Continuation of Previous post Second Round in ADP


  1. Tell me about yourself
  2. How would you rate yourself among the scale of 10 in QTP?
  3. Do you have knowledge on any other Tools? What are the latest tools or technologies that are available in the market currently?
  4. where do you want to see yourself in next 46years?
  5. What are the frameworks that you have worked on?
  6. Best scenarios to test a web edit which accepts only one letter i.e., between a-z.((Including Boundary Value Analysis)
  7.         Code to generate a unique array from the below array
  8. Arr = {“Krishna”, “Krishna Chaitanya”, “Chaitanya”, “Krishna”, “Raghu”, “Ram”, “Krishna”, “Chaitanya”, “Ram”}
  9.       Write a function which verifies whether a particular value exists in a drop down
  10. (The function should be able to verify any drop down, any value)
  11.       Did you use iterations?
  12.       Why you want to make a move?


PNote : Post a comment for any solution needed in above questions

QTP - UFT Interview Questions attended on 04th June 2016 - ADP

1.      Tell me about your self
2.      10 prioritized test cases for testing a Windows, basic calculator
3.      Verification & Validation with examples
4.      SQL query for retrieving 2nd highest salary
5.      SQL query for location and Department wise Salary from below table
Ex: Total Salary for Hyd- HR team

S.NO.
Location
Department
Sal. Paid
1
Hyd
HR
$1,000
2
Hyd
HR
$1,001
3
Hyd
IT
$1,002
4
Hyd
IT
$1,003
5
Hyd
CS
$1,004

6.      Types of Joins, what is Left Outer Join?
7.      Code for Swapping 2 numbers without 3rd variable
8.      Code For Reversing the words in a statement
Ex: Welcome to the world of Computers9.      Types Recording
What is In-sight recording? What is Analog? What is low level recording?10.  If the objects of 5 pages are to be added to OR, how do you add the object, one by one or all at once?
11.  In a web table, we have Web buttons, web edits and Web lists. Whenever you encounter A web button à Count
A Web edit à Write ADP + Count
A Web list à Select Yes + Count
What is the total Count of all the objects?12.  What is the testing strategy your following in your current project?
13.  How do you relate your strategy to V-Model?
14.  Bug life cycle
15.  Code for Copying data from one Excel and pasting to other Excel
16.  Object identification in QTP
17.  Why creation time is used? When multiple browsers are open, QTP will get ambiguity, then how does this creation time will help?
18.  Why you want make a move?
19.  Priority & Severity, What would fix first among below.
Priority – High, Severity – LowPriority – Low, Severity – High


Note : Post a comment for solution on above interview questions

Monday, December 28, 2015

QTP Interview Questions Synchron

How to design a framework
Reverse two strings without using str reverse using re-usability
Two buttons having different name ,but add one time in OR and execute?Ans : Ex Add and Delete ,
Add|Delete
Str ="Guru Prasad Naidu" find out each char how many times repeated in string..




Note : Post a comment for solution on any questions

Thank you for visiting blog