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

Answer Posted / srikanth

x = childitem("Webbutton").count

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1441


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

533


what is the difference between the modular framework and datadriven frame work

1916


When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1627


Brief the process of testing with UFT?

635






Step 3&4 are repeated until an the object in recognised uniquely.

1524


How many ways we can parameterize data in quicktest professional (qtp)?

585


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1537


How can I check if a environment variable exist or not?

541


What is smart identification in QTP?

632


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1372


Define object spy ?

563


How smart identification works in qtp ?

576


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1424


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1637