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
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
What is text/text area checkpoint?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
How to handle Java tree in QTP?
What is the descriptive programming?
How to get popup error message.
What are the 3 main stages involved in testing with qtp?
how will you load the test cases in ddt?
What ate the Technologies supported by QTP?
What is the syntax for how to call one script from another?
Is it possible to merge two object repository files in qtp?
What is the parameterization? Give one example?
What are the different types of functions available in qtp and explain ?