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

iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

0 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


how will we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


why text area checkpoints cannot used for web applications

0 Answers  






what is defination of regression testing?

3 Answers  


How open an excel sheet in QTP(not a run time )?

4 Answers   Tech Mahindra,


what is difference between Mandatrary proparties and Assistive proparties? Explain

4 Answers  


How to use transactions in qtp?

0 Answers  


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

0 Answers  


Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp

1 Answers   Cap Gemini,


HI. AnyBody can explain Automation Testing Framework...Generally wht do we Intiate before going to start Automation testing process... Anybody can explain.......Thanks in advacne...

1 Answers   HCL,


Categories