We have an application which generates links( more than
thousand) based on the time stamp dynmically.Each link will
download an xls file. we are supposed to click a particular
link (which link to click will be obtained thru some
buisiness logic).Now the issue is QTP is not recogniging
the link(say Var1) though its properties showed mandatory
fields text=xyz and html tag=A.I used following code to do
this.
Browser("ABC").Page("123").Link("text:=" &Var1,"html
tag:=A").click, can any one suggest why this is not
recognised by QTP though syntax is correct?(Is there any
sync issue to be considered?Because on clicking the link it
will take 5 mins to open that file)

Answer Posted / vinodhanandhan

You can't use variable inside static dp. Everything should be static as the name suggest.Try using dynamic dp.It will definately work

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle the exceptions using recovery secnario manager in quicktest professional?

639


If object is not recognized by qtp but the object is standard object what is your approach?

596


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1488


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

1730


How u will do versioning in QTP?

1462






What is ObjectParamater?

1575


What is smart identification in QTP?

634


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1541


Is it possible to merge two object repository files in qtp?

624


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1473


Explain advantages and disadvantages of ddf?

603


what is impact analysis on regression testing?

2050


how many maximum number of virtual users we can create?

1574


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1829


Name the properties you would use for identifying a browser and page when using descriptive programming?

528