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
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Why to use descriptive programming?
banking domain description for software tester for interview
What are the differences between table and db checkpoints?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What is output value? How many types of output values are there in qtp?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
When you open QTP, how many sheets you can see?
Suppose I want fail that check point? How can you do that?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
how many maximum number of virtual users we can create?
Can you write a script to check if the folder exists or not?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?