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

Answer Posted / mmk

use & instead of +

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you identify the browser and its information using the qtp script?

587


What is the purpose of loading qtp add-ins?

625


What is the use of an object spy tool in qtp?

559


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1510


I want to do QTP Certification what is the pattern of Question paper.

1745






How to capture all the data of a webtable, weblist and combolist using QTP?

2854


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

566


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1590


Is qtp supports uni-code?

617


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1259


What is use of object spy?

613


What is qtpro? What is quick test pro? What is a quick test professional?

595


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1382


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1435


What is the significance of “action 0” in qtp?

572