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
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 ? | 2 Yes | 0 No |
Post New Answer View All Answers
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Explain the concept of object repository and how qtp recognises objects?
What is the expert view?
Explain the views in the QTP GUI?
How to use output values in qtp ?
What is a Patch in QTP?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What is ‘object spy’ and what is the function of object spy in qtp?
What is qtpro?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
write script for bitmap image?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
I want to do QTP Certification what is the pattern of Question paper.
How to find the path of folder in which the test is saved in qtp?