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
What is the extension of the recovery scenario file in qtp?
Differences between text and test area checkpoints?
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)
How to get the particular property value?
What are the automation metrice in your project?
What is the difference between a Function and Action in QTP?
What are the differences between qtp and winrunner?
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 :)
how can i pass a "cript"as a parameter in to a function
Explain how you can find length of array in qtp?
QTP script is not working on other's machine..
What are the common defects found in your project? (in qtp interview)
How many types of recording modes in qtp? Which will be used when?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to record a qtp script ?