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 |
HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.
write the code to reverse a string without using Strrev built in function.
What is data driver in qtp?
1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?
How many types of Parameters are available in QTP?
can u write one user defined function for webedit class.
what is the difference between parameters and arguments?
What is the Diff between Image check-point and Bit map Check point?
How QTP recognizes Objects in AUT?
How to define array in qtp?
What is the use of running the scripts in Hidden-mode in UFT?
If the objects hierarchy is changing from build to build, then how you will handle that condition?