ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
If there are 10 notepads opened on desktop. how can we 
close a particular 2nd notepad using script
 Question Submitted By :: Radha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
Answer
# 1
The particular NOTEPAD can be activated using the title 
text.

E.g: Window("text:=3-17 defects - Notepad").Activate
 
Is This Answer Correct ?    0 Yes 0 No
Rm
 
  Re: If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script
Answer
# 2
Hi Radha,

If you want to close the second Notepad, you can use the 
below script:
Window("Notepad_2").Close

or by using Descriptive Programming you can use:
 Window("text:=Untitled - Notepad","Location:=1").close


Here the Location value keeps changing.

Pls try it...
 
Is This Answer Correct ?    2 Yes 0 No
Sri Satya
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is object? iFlex4
Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri  1
What is the difference between link and hyperlink?  1
What is SQL injection? CTS2
Differenece betwen Project and product ? when company need project or product? Accenture4
How to get line numbers in your editor in expert view?  2
In qtp,how to interact tool & application build? Polaris1
Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?  1
How can we open an Excel sheet through the script eSymbiosis6
How i can use and create Library functions in QTP and what is the proces .  1
wat are views in qtp explain IGT2
what is descriptive programming? Ordain-Solutions5
In key word driven framework,we will rename the logical names of objects,why? Liquid-Hub3
in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one DigiTech1
In Manual testing , can u prpare bug report in TD? TCS1
How can we write script for a .net application in QTP? Can we use VB Script for .net application.  1
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail Quinnox1
How many types of Test Plans are there...??  3
How u perform Batch Program in QTP?  1
Does QTP provides any tools for parametarization? BirlaSoft2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com