Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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)

Answers were Sorted based on User's Feedback



We have an application which generates links( more than thousand) based on the time stamp dynmical..

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

We have an application which generates links( more than thousand) based on the time stamp dynmical..

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

We have an application which generates links( more than thousand) based on the time stamp dynmical..

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

More QTP Interview Questions

How to creating an output value using quicktest professional (qtp)?

0 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


Waht is diff between SystemUtil.Run and invokeapplication

5 Answers  


how do u prepare Test Environment ?

1 Answers  


What is the difference between QTP 8.2 and QTP 9.2

1 Answers  


What do you mean by checkpoints in qtp?

0 Answers  


How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)

6 Answers  


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

0 Answers   SoftTech,


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

0 Answers  


what is run-time object in qtp? explain with example?

2 Answers  


in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page

1 Answers  


Categories