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
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
what is defenetion of kiran can u tell me plz CVS, SVN
What is the qtp testing process?
Are Shared ORs read-only?
What are table and db checkpoints?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
what is stepin & stepout?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
Tell me one scenario, the complex functionality you have automated in your project?
What are the views available in quicktest professional?
What is difference in global and action sheet in qtp?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
How to use actions in qtp ?