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 / ravimmishra
SystemUtil.Run "notepad.exe", "","",""
iRCount = DataTable.GetSheet(dtGlobalSheet).GetRowCount
msgbox iRCount
For i = 1 to iRCount
sDatColVal = DataTable.Value("Comment")
sFinVal = Split(sDatColVal, " ")
iFinValLen = UBound(sFinVal)
Window("Notepad").WinEditor("Edit").Type sFinVal(iFinValLen) + micReturn
DataTable.SetNextRow
Next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain the benefits of quick test pro(qtp)?
How can get count of list box?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Does quicktest professional (qtp) is unicode compatible?
How to find array size in qtp?
How to delete an object from the object repository?
What is the basic concept of qtp?
How can you identify the browser and its information using the qtp script?
how to do the batch testing in test director using manual testing procedure?
In qtp, explain what is qrs file?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
What do you to script when objects are removed from application?
Explain the concept of how quicktest professional identifies object?