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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2388


Explain sub procedure of vbscript.

590


distinguish between old version and new version QTP features.

1865


which type of testing process are you following in ur company? how to recognize a qtp page?

1409


Plz Explain AUTOMATION REFERENCE MODEL?

1684






What is recovery scenario manager? When you go for recovery scenario manager?

595


Can we run test with out adding object in object repository? How it is possible?

550


What are the different types of recording modes?

540


how to disable the pop ups through QTP using a script

1732


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

568


On what document base Descriptive programming is written if build is not yet ready ?

882


Hi, how can we check or avoid the memory leakage in QTP9.2?

1710


what is defenetion of kiran can u tell me plz CVS, SVN

1572


What is the use of Debug Viewer?

1492


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1348