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 |
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
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
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…..
What is DOM
what are the disadvantages in QTP 9.2?
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
what is the script for keyword driven framework in real time?plz its urgent
What is the difference between driver-script and AOM-script?
In what situations QTP will not recognize the Objects?
WHAT IS ENVIRONMENT VARIABLES?
7 Answers AZTEC, CTS, Ready Test Go,
What is the main difference between desriptive programming and generic functions
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)