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 / sri

Hi Friends, Pls check this answer:

s= "raju want married"
d="want"
x= split (s," ")
if Instr(d,x(1))<> 0 then
msgbox "Passed"
else
msgbox "Failed"
End If

Thanks,
Sri

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1467


What is the XML file architecture ?

1660


Can the user toggle between using Local OR and shared OR for the same action?

645


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

2039


What are the methods of the TextStream object that are used for reading from a text file?

1768






when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1835


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1655


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1558


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1379


Explain actions in qtp ?

632


How to recognise the webelement and verifying that webelement is enabled?

1733


What is a data driven test in qtp?

679


Hoe can we do retesting using functions please give the code for it using login page

1650


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1573


what is the difference between built-i function and In-built function?

1729