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
Answer Posted / 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 |
Post New Answer View All Answers
Tell some commonly used Excel VBA functions?
Explain the types of object repositorys in qtp?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
What are the types of object repositories? Which one is you are using?
How to test background color and dynamic images during run time can you put the check point for moving objects?
is there any addin for remedy user application
What is smart identification in QTP?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
what is the difference between development and testing
What is the difference between a Function and Action in QTP?
Explain the concept of how quicktest professional identifies object?
How the exception handling can be done using quicktest professional?
What are the properties you would use for identifying a browser and page when using descriptive programming?
what is the advantages and disadvantages of using functions instead of re usable actions
When to use descriptive programming?