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
How to save your test using quicktest professional?
How do know the number of browsers opened?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
How do client side image and server side image work?
What is QTP’s model for test creation?
What are the different properties of an web object
whare exactly we have to use functions and sub routain
Explain how you can replace string in qtp?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
How to get the particular property value?
How you can decide which type of object repository you have to use?
What are the various types of Actions in UFT?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.