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?
Answer Posted / 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 |
Post New Answer View All Answers
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
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 to test Web application using QTP software
Hi ,Can any one pleas explain how to test splash objects using QTP?
What are the different kinds of test steps?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
when will you do debug your script? and explain that process?
How to open a new test using quicktest professional?
How QA specialist can identify when programmatic descriptions are useful?
Differences between quicktest professional (qtp) and winrunner?
Does QTP record on Objects created on XWindows Environment?
Whether qtp 9.0 supports Test director8.0
How the exception handling can be done using quicktest professional (qtp)?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?