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
How can you identify the browser and its information using the qtp script?
What is the purpose of loading qtp add-ins?
What is the use of an object spy tool in qtp?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
I want to do QTP Certification what is the pattern of Question paper.
How to capture all the data of a webtable, weblist and combolist using QTP?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
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 ?
Is qtp supports uni-code?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
What is use of object spy?
What is qtpro? What is quick test pro? What is a quick test professional?
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.
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 :)
What is the significance of “action 0” in qtp?