Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / ram.polavarapu

function countedit()
dim e
e=0
n=browser("").page("").chaildobjects

if n="WebEdit" then
e=e+1
print e
next
end function

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find Operating system information using QTP script?

1046


How can you pass value one action to another action?

1099


How do you convert manual test cases to automated test cases?

1152


In qtp, explain what is keyword driven automation framework?

1104


assume i have few url link how will i dynamically call then using descriptive programming?

2070


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

3313


what is the structure for the data driven framework

2049


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

5043


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

1012


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

2166


What are the differences between qtp and winrunner?

1042


In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?

1992


How the exception handling can be done using quicktest professional (qtp)?

1169


How many types of recording modes are there?

1084


which type of testing process are you following in ur company? how to recognize a qtp page?

1825