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

Are Shared ORs read-only?

624


tell me QTP standards ?plz

1514


how can we compare descriptive programing with a regular expression

1922


What are the features supported by UFT?

665


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5096






Does quicktest professional (qtp) is unicode compatible?

536


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?

649


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

1957


How to add verification steps to tests?

9122


what is meant by Implicit and explicit requirements?

3618


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1774


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1569


Explain advantages and disadvantages kdf?

517


i can done the project with QTP in that time i can say how many members in my team size?

1366


Mention the different actions types of qtp.

571