any one could you explain the following code with example:

intFieldItemsCnt =CInt(GetProperty(Browser
("Browsername").Page("Pagename").Weblist
("weblistname"),"items count"))

msgbox intFieldItemsCnt



any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Bro..

Answer / uday

First of all, there is no GetProperty method in QTP.

There are getROProperty, GetTOProperty,

the right syntax above is inti=b().p().wl().getROProperty("items count")

which will return no. of items in the weblist

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


How do you invoke an application using the step generator in qtp?

5 Answers  


What is method name to compare two XML files.

0 Answers  


Explain what the difference between Shared Repository and Per_Action Repository

2 Answers  


For Regression testing already written test cases are sufficient?

2 Answers   CTS,






.how will you load the object during runtime

2 Answers   TCS,


what is a good testcase?

3 Answers   Wipro,


how to check URL using QTP? write vb script with descriptive programm only?

1 Answers   Syntel,


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


How can i check items sorted or not in a weblist ? Give me the script for this...

0 Answers  


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

1 Answers  


How to test the mandatory fields in QTP?

1 Answers   SoftSolve, TE,


Categories