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 IS THE USE OF "FUNCTION GENERATOR" IN QTP?
what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
What is difference between Recording time object identification and Run time (Execution) time.
What is the difference between browser sync and page sync in QTP?
Explain the concept of object repository?
How to Close all browsers in reverse order.
What is the difference between QTP 8.2 and QTP 9.2 ?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What are the 3 main stages involved in testing with qtp?
What is the real use of different actions in QTP
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
How will you handle application crash using recovery scenario manager(step by step process)?