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                      
tip   To Refer this Site to Your Friends   Click Here
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
How should i get name of the screen?
Ex:There is a "submit" button.If i clicked on the submit 
button it opens a screen. I want that screen name.How can i 
get that screen name
I dont have any property regarding that screen.
If suppose we cliked on the screen , Then QTP captures the 
screen properties
then i can get the screen name by using GETROPROPERTY
But i want the screen name without clicking the screen.
("I am using the "settoproperty" for Second screen by using 
fist screen properties")
Please tell me anyone
 Question Submitted By :: Rayudu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
Answer
# 1
is that screen is Browser or Window?

If it is Browser..

     If Browser("Creationtime:=1").Exist(10)Then
      g = Browser("Creationtime:=1").GetROProperty("name")
         msgbox g
      End If

If possible can send that screenshot of that screen to:

nanda.dreddy@gmail.com
 
Is This Answer Correct ?    1 Yes 0 No
Nanda
 
  Re: How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
Answer
# 2
U can use Object Spy feature in QTP, to capture the 
mandatory and assistive ppty of any object. In ur case, u 
want the screen name;

1. Perform the action, by clicking the submit button and 
the screen will open.

2. Now, click the Object Spy feature and a hand like tool 
will get displayed.

3.Take the tool, to the corresponding screen and click on 
it.

4. U will be able to see all the ppty and values.

Hope this helps. Correct me if I am wrong.
 
Is This Answer Correct ?    3 Yes 0 No
Art
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is difference between function and procedure? Wipro15
User defined function in QTP Lehman-Brothers2
why we use environment variables  4
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.  2
How to give Table check points? ssinformatics4
We are calling Actions in Expert View by using Run Action.but i want to know where we are saving the Actions Scripts.Pls explain??  1
What is the extension of 'Log file' in QTP  2
explain keyword driven framework? Mindlance2
what is use of the object repository?  4
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil  1
How can we QTP Scripts in xml format? is there any way to do so? Apex2
What is All object and Local object in Object Repositary? Explain me please.  3
After creating testcases, how do you start testing in QTP? what methodology will follow? American-Well7
Can u explain about QTP framework ACS9
What is Virtual object wizard in QTP?  3
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b  2
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?  1
What is the difference between action & script?  3
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya  4
Once the Actions are splitted , is there any way to merge them  3
 
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