Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / hemakumar.m

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 1 No

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / sreekanth chilam

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 ?    2 Yes 0 No

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / abc

a=Dialog("Login").WinEdit("Agent
Name:").GetROProperty("nativeclass")
Print a

Is This Answer Correct ?    1 Yes 1 No

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / abc

I have asked for GetRoProperties not GetRoProperty
I mean all the properties not single property

Is This Answer Correct ?    0 Yes 0 No

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / ahfahfahdh adhadi

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 ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

0 Answers  


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  


What is DOM

2 Answers  


what are the disadvantages in QTP 9.2?

1 Answers  


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

0 Answers  


what is the script for keyword driven framework in real time?plz its urgent

1 Answers   Accenture, CTS,


What is the difference between driver-script and AOM-script?

2 Answers   IBM, Value Labs,


In what situations QTP will not recognize the Objects?

6 Answers   Wipro,


WHAT IS ENVIRONMENT VARIABLES?

7 Answers   AZTEC, CTS, Ready Test Go,


What is the main difference between desriptive programming and generic functions

2 Answers   HCL,


i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)

3 Answers  


Categories