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

supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1358


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

2379


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1524


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1458


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2150






Explain features of the latest version of qtp/ uft 12.1?

598


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1582


How smart identification works in qtp ?

574


Explain xml checkpoints.

593


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1414


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

562


How do you send email with attachment from outlook using qtp ?

559


Explain the Different types of QTP test assets and their extensions?

603


How to use the object spy in quicktest professional 8.0 version?

542


What is Unicode Compatibility?

1447