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 / naaz

Descriptive programming will solve this problem. You have
to write the property name and you can assign the dynamic
value of that property. The problem with descriptive
programming is, if you are using descriptive programming
for the top level object you have to use the descriptive
programing for the child objects also. But if you are using
it for child objects you dont neet to use for parent
objects.

Example of Descriptive Programming:
JavaWindow("title:="&Value12).Activate

here title is the Object Property. And Value12 is its
value. you can use dataTable also for the value

Example:
JavaWindow("title:="&DataTable
("Value",dtLocalSheet)).Activate

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of the recovery scenario file in qtp?

991


Differences between text and test area checkpoints?

1102


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

2012


How to get the particular property value?

1050


What are the automation metrice in your project?

2279


What is the difference between a Function and Action in QTP?

1090


What are the differences between qtp and winrunner?

983


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1817


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

1985


Explain how you can find length of array in qtp?

1065


QTP script is not working on other's machine..

1982


What are the common defects found in your project? (in qtp interview)

2061


How many types of recording modes in qtp? Which will be used when?

973


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

1036


How to record a qtp script ?

1041