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 check bitmap output value?
What is the registration process and examination fees?
What are the different types of recording modes?
What are the automation metrice in your project?
How does quicktest professional (qtp) identifies the object in the application?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What phases are involved in testing an application in qtp?
What is the file extension of the code file and object repository file in QTP?
regular expression in qtp standar check point for months from accepting months from january to december only
Which functionalities of QTP used in banking project?
Define virtual object?
Can I change properties of a test object?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
What is clean sweep?