any one could you explain the following code with example:
intFieldItemsCnt =CInt(GetProperty(Browser
("Browsername").Page("Pagename").Weblist
("weblistname"),"items count"))
msgbox intFieldItemsCnt
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 |
if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:
We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.
Can any body please tell me the steps of keyword driven framework of QTP.
How to launch application under test through VBscript without using systemutil.run or invokeapplication?
We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?
What is Virtual Object? Plz Explain me with an example?
I want to test advanced Java applications what kind of add- ins I have to install?
4. How u will open the build automatically in QTP except using Systemutil.run command
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
How to suppress warnings from the test results page?
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?