Write a user defined function to count the no. of buttons
existed in a webpage ? i dont want to use descriptive.create
()



Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to us..

Answer / srikanth

x = childitem("Webbutton").count

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated

2 Answers   McAfee,


What are the different properties of an web object

0 Answers  


How will internal and external links be validated and updated? how often?

0 Answers  


object types is used for what?

1 Answers  


difference Between Call Run action and copy of action?

1 Answers  


HOW DO U CALL A ACTION IN QTP?

2 Answers   BirlaSoft,


How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.

3 Answers   Virtusa,


can we enable smart identification for test object

3 Answers  


where u maintain qtp scripts in ur company

4 Answers   HCL,


Can the user toggle between using Local OR and shared OR for the same action?

0 Answers  


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

0 Answers  


what is delay in QTP?

2 Answers  


Categories