any one could you explain the following code with example:
intFieldItemsCnt =CInt(GetProperty(Browser
("Browsername").Page("Pagename").Weblist
("weblistname"),"items count"))
msgbox intFieldItemsCnt
Answer Posted / 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 View All Answers
What are the views available in quicktest professional?
What is recovery scenario manager? When you go for recovery scenario manager?
is there any addin for remedy user application
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
Explain different types of action in qtp?
regular expression in qtp standar check point for months from accepting months from january to december only
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What is the architecture of your project? Can any one answer for this question plz........
Explain advantages and disadvantages kdf?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
How many tabs are available in debug viewer pane?
What are the steps involved in recovery scenario wizard?
Explain calling sub procedure.
Can we Test Welcome Screens and Process Images with QTP