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



I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

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

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

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

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

Answer / abc

a=Dialog("Login").WinEdit("Agent
Name:").GetROProperty("nativeclass")
Print a

Is This Answer Correct ?    1 Yes 1 No

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

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

I want to see all the properties of agent name in login window. I will use the script Set a=Wi..

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

Post New Answer

More QTP Interview Questions

What is the diff between image and bitmap check point?

0 Answers  


how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases?

3 Answers   Accenture, Civil Service, ICICI, Jintek, Satyam, Singularity, Syntel, TCS, Wipro,


What is the meaning Work bench?

0 Answers  


What criteria do you use when determining when to automate a test or leave it manual?

2 Answers  


what is Automation frame work and how do u used this for your project?

3 Answers  






I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  


What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

0 Answers   Accenture,


How to export quicktest professional results to an .xls file?

0 Answers  


Did you find anything in your project that QTP proved inefficient to perform?

1 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


QTP identified the object but not performing the desired action???what could be the reason?????

1 Answers   Mphasis,


QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?

3 Answers   Syntel,


Categories