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 / 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 View All Answers
in a web page How to check and display a particular word from a paragraph?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
Name the properties you would use for identifying a browser and page when using descriptive programming?
How you can find the absolute value of the number in qtp?
What are the factors on which script execution time is dependent?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
if numbers are always changing write a script for that
Is it possible to switch between recording modes during a test creation?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
What are the advantages of Object Repository?
Explain the concept of how quicktest professional identifies object?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.