ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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)
 Question Submitted By :: NReddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Sachin
 
  Re: 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
# 2
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
Dimple
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same? BirlaSoft2
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro) Wipro2
what is descriptive.create()in qtp?  3
what are the different Frame Works in Quick Test Proffessional testing Wipro4
What is the difference between gettoproperty and settoproperty?Explain with an example? Satyam4
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..?? DST-Global-Solutions2
what is a file system object in QTP  3
Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.  2
HI. AnyBody can explain Automation Testing Framework...Generally wht do we Intiate before going to start Automation testing process... Anybody can explain.......Thanks in advacne... HCL1
What is the maximum size of Object Repository in QTP 8.2? Mphasis4
Tell me the situations where we will use Data Driven? Ordain-Solutions3
what is the difference between the modular framework and datadriven frame work  2
in how many ways you perform batchtesting? Sapient2
How to compare the two strings?  2
Suppose U change the script whether it affect the object properties of the object in the object repository IBM3
how can we know the program is testing by multiple test data in data driven frame work? CTS1
If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Repository and for the 2nd time it is showing like 7 Objects in the Object Repository why it is happening Kanbay2
what is debugging testing?  4
How do u use Database checkpoints and what are the use? Qualtree-Solutions4
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com