Write a user defined function to count the no. of buttons
existed in a webpage ? i dont want to use descriptive.create
()
Answer Posted / pramod hitnalli
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 ? | 1 Yes | 3 No |
Post New Answer View All Answers
can the activities of test case design be automated?
Did QTP prove efficient for your project? Yes or No, explain?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
How to replay a script in qtp?
What are the types of properties that quick test learns while recording?
Explain advantages and disadvantages kdf?
How to start recording using quicktest professional (qtp)?
What do you mean by iteration?
What are the flaws in water fall model and how to overcome it?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
How to associate shared object repository to test in qtp?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
Both static and dynamic arrays are handled by the vb script. Is it true?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);