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 many types of recording facility are available in quicktest professional?
What is checkpoints for qtp?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
What is debugging? How you debug your script?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
Have you faced any problems with object repository?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What is the limitation to XML Checkpoints?
What is test object model in quicktest professional?
Which functionalities of QTP used in banking project? pls any say answer?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls