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 |
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example
Object repositories types, which and when to use?
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
Explain about the Test Fusion Report of QTP?
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
There is web page with the webtable,this contains some data, how do you manipulate the data.
How to create runtime property for an object?