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
Can we run multiple QTP scripts one after the other without manual intervention? How?
Discuss quicktest professional (qtp) environment?
What is the use of Debug Viewer?
What is debugging? How you debug your script?
How would you export a script from one pc to another in qtp?
Difference between test object and run time object?
how to know no.of mails in our g mail by using vb-script
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
Where we can use the analog mode and where we can use the low – level mode?
1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Both static and dynamic arrays are handled by the vb script. Is it true?
how to find that tools work well with ur existing system?
what is profile tool?
Can any suggest me what is exposure testing?