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

what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766

2 Answers  


How many types of Check Point in QTP

2 Answers   R Systems,


how u write vb script in qtp pls give me some basic script and some material

32 Answers   Datamatics, UHG, Winit,


How to record objects of Windows taskbar

2 Answers   RoboSoft,


I have 3 browsers i want to give facebook url in 2 nd browser using qtp

3 Answers   Tech Mahindra,


What exactly is the difference among all the three recording modes.

2 Answers   TCS,


what is QTP batch testing tool?

2 Answers  


How to test a web application using QTP?there is no any .exe file in web app,then how we can take the application for testing

2 Answers  


Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that?

3 Answers   Tech Mahindra,


Suppose I want fail that check point? How can you do that?

0 Answers  


list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc

2 Answers   CTS,


why text area checkpoints cannot used for web applications

0 Answers  


Categories