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
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How to build scripts that access data from external sources?
How can you pass value one action to another action?
give me an example where u used good judgement and logic in solving a problem
How to execute a winrunner script in quicktest professional (qtp)?
How to analyzing the checpoint results?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
How to capture all the data of a webtable, weblist and combolist using QTP?
How to create scenario selector
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
how can i call function (which has link with excell sheet at a remote location) within another function
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How do you configure QTP AND Test director?
How to call a test from another test?