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 the diff between image and bitmap check point?
how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases?
3 Answers Accenture, Civil Service, ICICI, Jintek, Satyam, Singularity, Syntel, TCS, Wipro,
What is the meaning Work bench?
What criteria do you use when determining when to automate a test or leave it manual?
what is Automation frame work and how do u used this for your project?
I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.
What is an Regular expression doing in VBScript?Tell the pattern for the email verification.
How to export quicktest professional results to an .xls file?
Did you find anything in your project that QTP proved inefficient to perform?
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
QTP identified the object but not performing the desired action???what could be the reason?????
QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?