how do check the links in a webpage ?
Answer Posted / hemanth baabu
For Ex..
"oDesc is the new descrption"
"objlink" is the object which we save alla the links..,
then..,
ex.prm:-
Set oDesc = Description.Create()
oDesc("micclass").Value="Web Link"
Set objlink =
Browser("micclass:=Browser").Page("Browser:=Page").Childobject(oDesc)
NumberOfLinks = objlink.count
msgbox NumberOfLinls
then in msg box the number of links will be opend..,
as per my knowlwdge this is the answer...
thanks®ards
hemanth baabu..!!
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can you identify the browser and its information using the qtp script?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
What are table and db checkpoints?
write script for bitmap image?
What is quick test pro?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
Mention what are the different types of recording modes in qtp? Which will be used when?
How does quicktest professional (qtp) identifies the object in the application?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
When Recovery scenario actually starts while testing the application?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
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..
Object repositories types, which and when to use?