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
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
In qtp, explain what is qrs file?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Explain different types of action in qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional?
Did QTP prove efficient for your project? Yes or No, explain?
How to connect to a database?
How you can find the absolute value of the number in qtp?
What is the difference between rational rose and QTP?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What is ObjectParamater?