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
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 |
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 |
Answer / abc
a=Dialog("Login").WinEdit("Agent
Name:").GetROProperty("nativeclass")
Print a
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
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 |
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
How many types of Check Point in QTP
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
I have 3 browsers i want to give facebook url in 2 nd browser using qtp
What exactly is the difference among all the three recording modes.
what is QTP batch testing tool?
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
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?
Suppose I want fail that check point? How can you do that?
list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc
why text area checkpoints cannot used for web applications