hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?
Answer Posted / sreekanth chilam
editbox_val="raju want married"
expected_val="want"
d=split(editbox_val," ")
( ...since d is an array....here d(0) contains "raju")
( ..here d(1) contains "want")
( ...here d(2) contains "married")
for i=0 to ubound(d)
act_val=d(i)
if (expected_val=act_val) then
msgbox "want is present - pass"
exit for
else
msgbox "fail - not present"
end if
next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many tabs are available in debug viewer pane?
How to test results for qtp ?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Problem with XML checkpoint in QTP ?
What is difference in global and action sheet in qtp?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
What is qtpro? What is quick test pro? What is a quick test professional?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Explain about the test fusion report of quicktest professional (qtp)?
How many types of recording facility are available in quicktest professional?
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
hou can we use vb script in qtp could u tell me breafly
what frame work you are following?