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
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
How can I import environment from a file on disk?
What is output value? How many types of output values are there in qtp?
What is data driver in qtp?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
How many types of recording modes in qtp?
what is profile tool?
What is the new version of qtp which is recently released in the market?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
How many types of Automation frameworks are there in UFT? Describe them.
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
What is the syntax for how to call one script from another?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
what could go wrong with test automation?