Hello,
How can i capture first letter of any string using QTP.
For ex.. i want "j" in the below string
"john"
could any one explain me?
Is there any function for that?
Answers were Sorted based on User's Feedback
Answer / neeraj chauhan
Dim str, str1
str="john"
str1=mid (str, 1,1)
msgbox str1
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / veeranki naveen goud
var = Ltrim (" Veeranki Naveen ")
'Ltrim is used to remove the left padded spaces
var2 = mid (var,1,1)
msgbox var2
OR
var = Trim (" John")
va2 = left(var,1)
msgbox var2
Regards,
Veeranki Naveen,
Noida.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naveen
This is simple and easy one when compared to second
str="john"
msgbox(left(str,1))
| Is This Answer Correct ? | 0 Yes | 0 No |
Is there is any method how to connect remote desk throw QTP if yes please answer with a example?
How can i learn Descriptive programming in QTP. Please reply.
describe some problem that u had with automation testing tool?
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???
How to Parameterize Object repository in QTP?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id venku_krs@yahoo.co.in
How can i open a file in Textpad and replace a string with another using QTP
Where should we turn Smart Identification ON in QTP?
What are the points to be taken into consideration while doing desktop testing?
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch