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 can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
What is RTM (require ment tracebulity marix) fromate?
What is Test Fusion Report in QTP?
What is checking bitmaps?
Tell me about userdefined functions ?
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?
How to call a test from another test?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?
How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..