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

Hey

try taking the innerText for thelink instead of text
or try using regular expression.

Hope this will help u

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we analyze the checkpoint results?

588


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1603


How the exception handling can be done using quicktest professional (qtp)?

573


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1933


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

1607






How the smart identification is used in real time?Please explain with an example

1551


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1448


What are the different types of recovery operation?

555


What is fragmentation and paging?

1594


How to handle dynamic objects in quicktest professional?

505


How many types of recording modes in the qtp?

598


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1439


How to start recording using quicktest professional (qtp)?

602


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1600


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1627