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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nipunkumar
Dear MMK,
Solution told by u would add suffix to the retrieved value
of 'x'. Then please explain how this would help me
Is This Answer Correct ? | 0 Yes | 0 No |
what are the qtp tester responsibilities?
what is option explicit? what is the use of it?
Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly
difference between recording methods and recording modes in QTP
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
what are the challenges you have faced while testing web based application using the automation tools ?
What is the limitations of BVA?
Need one Urgent help please,for ex: first time i created Local reposory and convert that local to shared Rep and save in some where(by using Export local objetcs), unfortunately that saved repository is missed, now i want same repository,but iam not able to export the same repository second time?? i need that Repository only how to get???
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?
1)Difference Between Value & RawValue?
How does quicktest professional identifies the object in the application?