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, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
what is the diffrence bw qtp architectute and qtp framework?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
How to test results for qtp ?
How to use reporter.report event in qtp ?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
how to find that tools work well with ur existing system?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How did you resolve conflicts present in Object Repository?
Does Low-level recording capture mouse movements?
Can I change properties of a test object?
after click on compose mail how can we attached a file in qtp with vbscript code
How do you open adobe acrobat file in QTP and do some testing on that file ?