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
what is test scheduleling?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Where you get the run time data table?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
what is supply chain management?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
Why is Client side image is preferred over server side image?
what testplan contents and what test strategy contents,what is the diff b/w them
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
In Remote acess server how u run a test?
What is checkpoints for qtp?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
How to get the particular property value?