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 |
What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??
3 Answers DST Global Solutions,
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people
What will be happen if i load object repository at run time, but it has already associated.
how to pripare BRS/FRS Document for different projects?
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
Analyzing the Checkpoint results ?
how to capture the run time values of web table.
with out using import sheet came is it possible to get the excel sheet ?
how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance
hi nani my doubt is how does qtp process metrix related to software process.
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.