how to handle the textboxes where in it should take the sum
like ex:: while posting a question in this site it will for
what is the result of 6+3=__ where in we have to enter
manually 9 and click on submit... but how to handle these
cases in qtp.. can someone plz help me out wid dis...
Answer Posted / ashok kumar
...
Values = Trim(Browser("").Page("").WebElement("html
tag:=B").GetROProperty("intertext")) 'Remove extra space
numbers = Split( (Left (values,Len( values)-1)),"+") 'split
two numbers
Browser("").Page("").WebEdit("tqa").Set
CInt(Trim(numbers(0))) + CInt(Trim(numbers(1)))
...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What phases are involved in testing an application in qtp?
How is test case write?
how to evalute defects in QTP script?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
How to record application running on the Virtual machine?
Difference between action & Reusable action?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
Explain the parameter in qtp?
Diff b/w Health care domain and Banking Domain?
What are the challenges you faced during you entire life automation ?
What is data driver in qtp? Where we use it?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is the syntax to call one script from another?
Whether qtp 9.0 supports Test director8.0
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly