Please have a look at this:
a = Browser("Travel Boutique Online").Page("Travel Boutique
Online_2").webelement("innerhtml:=2622").getroproperty("y")
a=a+9
msgbox a
Browser("Travel Boutique Online").Page("Travel Boutique
Online_2").image("alt:=check","y:=a").click
Now please let me explain. As clear from code I am trying to
enter value of variable 'a' as Property y. But each time QTP
AND MY SYSTEM stops responding when this line is execcuted.
But When i enter some number in place of 'a' in the last
line. it works fine.
Please let me know what I am doing wrong at time of entering
the variable in last line.
Thanks a lot
Answer Posted / anu
Browser("Travel Boutique Online").Page("Travel Boutique
Online_2").image("alt:=check","y:="&a).click
do this
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to modify the text checkpoint?
What is clean sweep?
Can launch two instances of qtp on the same machine?
What are the different recording modes?
Explain the concept of object repository and how qtp recognises objects?
How will you check that your test cases covered all the requirements?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
How is a Step generator used in UFT?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
what is the difference between development and testing
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Can you list some technologies that support qtp?
Explain the views in the QTP GUI?