An object is created, i dont know the methods available for
that object, i want to find methods available for that
object and use the required method. How i can do this???
Answers were Sorted based on User's Feedback
It is very easy......
no need to know about what environment it is like .net,
SAP, java, etc.,
Here you have two ways
1. You can go for Object Spy: Here u can view, what are the
methods available for that run-time or Test object.
2. You can go for Scripting in Expert view
e.g: ObjectHierarchy.Object.
after u click (.) here QTP will show you what are the
methods available for that Object that too runtime methods
in green color.
Check it once.
if anybody know any more answers plz let me know...
mail ID is kingring.d@gmail.com
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shyam.meghansh
hey
I would like to know wht kind of object is that (
java,.net,windows,web etc etc) wht....
because for every object we have many methos.... so one u
have spy'd that u will find 2 options....
1. properities
2. methods...... ( this u will find after spying the
object).........
if you need any more quires plzzzz feel free to mail
me........................@
testingwithshyam@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Hello friends,
Here nothing matter about object whether it may be java,
SAP, or siebel any object, You will get the methods only
respective to that Object only.
1. You can use Object Spy
2. You can go for (your desired object).Object.(here QTP
will show all the methods for that object only)
whether it may be SAP, java, peoplesoft, or any environment
object. QTP will give you for that object methods only
dont bother about which environment object that is.
This answer for
Shyam.meghansh
[Hydus Technologies (INIDA) Pvt Ltd]
another one... Plz give any wrong answers or silly answers
here bcoz many people over here to learn some what about
QTP.
Every body know that F1 is helpful for us.
no need to mention again as a answer
This is for Bc993aaa
| Is This Answer Correct ? | 1 Yes | 0 No |
How to handle run time errors?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?
tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used
How do we handle run-time errors?
What is difference between version 6.5 and 8.2 in QTP?
Tell some commonly used Excel VBA functions?
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
what are the attributes of QTP?
Why bpt?
How to add Dynamic Objects to Object repository?
We have an action attached with the library file in QTP. When I will click on run button,which file is going to be executed first a)Action b)Library