how to click on object?
(with out knowing the object details)
for ex: in a webpage one link is available.i want to click
that link by using one menthod through qtp?
Answers were Sorted based on User's Feedback
by using static DP:
Browser("micclass:=Browser").Page("micclass:=page").Link("micclass:=Link").click
by using dynamic DP:
Set objlink = Description.Create()
objlink("micclass").value = "Link"
Set link1 =
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(objlink)
msgbox link1.count
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / vikrant
To identify any object you should know the properties of
that particular object.QTP has provided object spy tool to
identify the object.
By clicking on that icon it will allow you to view the
properties of that object then you need unique property
values of that object.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / uday
Use the index of the link.
Say if it is 10th link in the web page, use index=9.
| Is This Answer Correct ? | 0 Yes | 1 No |
QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
how to lunch the application in the qtp tool ?
a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.
how will you handle the situation when object is not caputred during record?
how to test one edit box using dotnet addin for Web Applications? write script?
What is the differnce between action & script
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
How to connect to oracle(sqlserver) database to QTP
What is the vb script when the url enter into the browser
What is API