Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

we have a link in a website or webtable How can we record
link in that table or site? link is not static we don't
know exact location of that link? how ? if u know pls give
reply with script also?

Answer Posted / akshay soni

for a website
bro=""
url=""
set desco=description.create
desco("micclass").value="link"
with browser("title:=give respctive browser title name")
set lis=page("title:=give respctive browser title name").childobjects(desco)
ls=lis.count
for i=0 to lis-1 step 1
x=lis(i).getroproperty("name")
y=lis(i).getroproperty("url")
print(x&" "&y)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is run-time data?

2149


when a test case is written how u test using qtp

2086


how can i pass a "cript"as a parameter in to a function

1948


What is QTP scenario.

2228


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

962


how to find that tools work well with your existing system?

1826


Does Low-level recording capture mouse movements?

1000


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

1048


How to find array size in qtp?

965


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1919


What is clean sweep?

1771


How to record application running on the Virtual machine?

1043


if numbers are always changing write a script for that

4111


Explain types of output values?

983


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

7387