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 / 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 View All Answers
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
unique properties of button,edit box, radio button,check box?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
How software automation specialist enter steps in the Expert View?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Explain measuring transaction.
Write a script to customize the test results in PDF and HTML format.
How to use reporter.report event in qtp ?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
In qtp, how you can get the last character from a string?
Explain the concept of how quicktest professional (qtp) identifies object?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
how can i pass a "cript"as a parameter in to a function
How can you give wait up to 10 seconds in qtp?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek