In QTP I have a parameter in a datatable that is a
sentence. I need to take the last word from the sentence
and enter it into a field in a web application. How can I
setup a parameter to enter in just a portion of the
parameter (last word of the sentence) instead of the entire
paramater (whole sentence).
Answer Posted / zak
Thank you for the helpful response! I included the code in
my script and it is taking the last word from the parameter
and putting it into notepad.
I now need to input this word into a field of the web page
as a security answer. What is the best way to do this? Is
it possible to replace the previous parameter (whole
sentence) with the new parameter (last word of the
sentence)?
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How software tester can use constants and variables in scripts?
When using descriptive programming?
Why is action split used by qtp?
Explain how you can replace string in qtp?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
How the exception handling can be done using quicktest professional?
Is it possible to split an action? How?
Whats the realtime QTP testing process
What is qtp window?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
How to capture a window in QTP?
what are the utilities and drivers
what are the challenges you have faced while testing web based application using the automation tools ?