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 |
Can we create a qtp test from qc?
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
What is text/text area checkpoint?
How can i count the list box elements in QTP ?using script plz explain me (Chandana)
How to change the Default synchronization method time and where?
How we test web based application by using QTP
How to retrieve the property of an object in QTP?
I am new with QTP. Is anybody could tell me where I can find a good tutorial with lots of samples?
how you will do cookie testing using QTP?
What are the automation metrice in your project?
Which functionalities of QTP used in banking project?