ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Write a user defined function to count the no. of buttons 
existed in a webpage ? i dont want to use descriptive.create
()
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
Answer
# 1
Hi,

 If u got answer to this question can u plz snd me 2 also. 
I 2 got this same question in Kanbay
 
Is This Answer Correct ?    0 Yes 0 No
Krishna Chand
 
  Re: Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
Answer
# 2
hi
we are having one property in qtp child objects.it returns 
collection of objects contained with in the object.
 
Is This Answer Correct ?    0 Yes 1 No
Suchitra K
 
 
 
  Re: Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
Answer
# 3
1)Open Flight Reservation Login page
2)Add Login page in to the Object Repository
3)Write below code and run it

ChildObj=Dialog("Login").ChildObjects.count
msgbox ChildObj


Thanks
Pramod
pramod_login@yahoo.com
9845454652
 
Is This Answer Correct ?    0 Yes 0 No
Pramod Hitnalli
 
  Re: Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
Answer
# 4
1)Open Flight Reservation Login page
2)Add Login page in to the Object Repository
3)Write below code and run it

' Directly pass the login as argument to the function
childobj Dialog("Login")

' The function will take  object as input argument and count
the child objects in the login page
Function childobj(CountObject)

aa=CountObject.ChildObjects.count
msgbox aa
End Function




Thanks
Pramod
pramod_login@yahoo.com
9845454652
 
Is This Answer Correct ?    0 Yes 0 No
Pramod
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.  2
we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome . TCS1
In an interview what r the questions asked in qtp related project? pls any answer this question?  1
what is Function Definition Generator? can any one explain me in details? Accenture6
how many types of actions r there? what r they? explain? pls give any one answer? IBM2
can any one explain with an example how to test Web application using qtp  2
Could any one explain about the nested actions in QTP? This question is asked by Qualitree and CA CA3
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.  4
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
Check point what is how many types of checkpoint and explain Accenture2
IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script. Wipro5
How to call script1 into script2?  3
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...  1
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... HCL1
How to invoke Mozilla from QTP thru VB Script  1
list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc CTS2
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?  9
What is deference between normal QTP testing and descriptive programming? Polaris4
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties Wipro3
hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com