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 |
explain structured testing? plz guys with exp. do answer
What is the difference Between LowLevel and Normal Recording Modes?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How we can differentiate between stand alone application and web application in QTP?
Difference between action & Reusable action?
What is Regular Expressions?
How to manage a drag drop event in the qtp
How to capture dynamic objects in qtp like mark up text
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is keyword driven framework?
What are the types of data tables in qtp?