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

Thier was a similar issue faced while recording and
playing back the script.The scenario is described as below.

i have a windows based application ..i recorded an event
when where-in the application adds a contact to its contact
list

now the issue that i faced was after recording an event of
adding manually adding contact in the aplliction.i tried to
play back.But thier was a strange result. I Tool could
identify the Appliction but when it tries to execute the
recorded script for adding contact its fails.Infact the
same operation was successfully completed by the tool in
all previous version of the client.

Later after geting application design from the develpment
team it was known that actualy the form that load in
runtime ..so the respository value of the form did not
match with its run time value.Hence the tool fails at that
particular instance

guess the same scenario is depicted in the code mentioned
above.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of qtp local repository?

570


QTP script is not working on other's machine..

1531


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

616


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1627


What is the difference between run time object and test object?

573






Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1552


Explain quicktest professional (qtp) testing process?

536


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1756


What is qtpro? What is quick test pro?

557


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1737


What are output values and why they are used ?

623


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1536


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

601


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1426


Analyzing the checpoint results?

595