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
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?
What is the XML file architecture ?
Can the user toggle between using Local OR and shared OR for the same action?
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
What are the methods of the TextStream object that are used for reading from a text file?
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
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
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...
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.
Explain actions in qtp ?
How to recognise the webelement and verifying that webelement is enabled?
What is a data driven test in qtp?
Hoe can we do retesting using functions please give the code for it using login page
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
what is the difference between built-i function and In-built function?