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
I want to see all the properties of agent name in login 
window.  I will use the script

Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( )
msgbox 

but my question is how to use the msgbox if i use a it will 
display only a, so anyone pls let me know how to get the 
display of all the properties using GetToProperties () or 
GetRoProperties ().  Thanks a lot
 Question Submitted By :: Subaash Patil
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot
Answer
# 1
a=Dialog("Login").WinEdit("Agent
Name:").GetROProperty("nativeclass")
Print a
 
Is This Answer Correct ?    1 Yes 1 No
Abc
 
  Re: I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot
Answer
# 2
I have asked for GetRoProperties not GetRoProperty
I mean all the properties not single property
 
Is This Answer Correct ?    0 Yes 0 No
Abc
 
 
 
  Re: I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot
Answer
# 3
Hi, 
 
Try with the below code , you will get the solution.

set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( )
    Prop_Count=a.count()

  For i=0 to (Prop_Count-1)
     msgbox a(i)
  Next
 
Is This Answer Correct ?    1 Yes 0 No
Sreekanth Chilam
 
  Re: I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot
Answer
# 4
set a=Window("FR").WinEdit("Agent Name:")
Set oEdtobj=a.GetToProperties
    Prop_Count=oEdtobj.count()

  For i=0 to Prop_Count-1
     PropsName=oEdtobj(i).Name
     PropsValue=oEdtobj(i).Value
     msgbox PropsName &" = " & PropsValue  
  Next
 
Is This Answer Correct ?    4 Yes 0 No
Hemakumar.m
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
New to QTP: In a qtp flight booking application, I tried to parameterize the to and from drop down lists using data table, depending on ur drop down selection it will pop up a list of flights. Here I am not finding a way to select flight randomly from given list... Thanks in advance guys.  1
can anybody give me the links for vb script material  1
what is descriptive.create()in qtp? IBM2
How to get data from excel sheet to the script? write the script. Liquid-Hub4
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)  5
i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help  3
PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP? Wipro1
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why? GE1
how can we know the program is testing by multiple test data in data driven frame work? CTS1
Hi to All, My name is Aditya, i have 4 year exp in software testing (Manual Testing), but i try to shift my career now in automation testing. right now i have no exp or u can say i am not hand exp in live application. So please guide me, what i do ???? Can i join again automation course only practical which is live application. if u know any person who's expert in qtp and he/she ready to take my class i have our own and company laptop. If required i will pay amount please don't mind. Please help me, and i am also planing to join core java from coming 1st Aust (in seed) for only purpose the understanding script of Automation (QTP)... Please help me... I am waitting u r replay... Thank you Thanks again  4
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly  1
What is a Run-Time Data Table? Where can I find and view this table?  3
what is bultin funtaion in QTP &tell me five examples? Kanbay3
how u track bugs using Test director in manual testing. Accenture2
what is a file system object in QTP  3
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.  2
How will you load few objects in Active Screen?  1
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..?? Virtusa4
How can the expected image for a bitmap checkpoint be recaptured in QTP Ordain-Solutions1
what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz  1
 
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