The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / goms
Val="POWER STAR PAVAN"
If instr(Val,"A")>0 then
Msgbox "Pass"
Else
Msgbox "Fail"
End IF
Note: If instr function returns the position of the value.
If it is greater than 0, the letter is in the particular
variable
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a data driven test in qtp?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
What is the quicktest professional testing process?
Does QTP record on Objects created on XWindows Environment?
Where can I find and view run-time data table?
how to test Web application using QTP software
What are benefits of qtp?
What are the types of object repositories? Which one is you using?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
How to release all resources file from the QTP?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
Have you faced any problems with object repository?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How do you send email with attachment from outlook using qtp ?