How to display the first 3 letters in these "ABCDEFGH" using
qtp script?

Answer Posted / manas

These script display the first 3 letters in that given
string:

Dim str , substr
str = "ABCDEFGH"
substr = mid(str,1, 3)
print substr

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1669


What are the differences between qtp and winrunner?

762


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

872


What are the ordinal identifiers in web page?

874


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1983


after click on compose mail how can we attached a file in qtp with vbscript code

1920


How to change the priorities of the recovery scenario properties?

863


What are the features of quick test pro(qtp)?

755


whare exactly we have to use functions and sub routain

2064


How will internal and external links be validated and updated? how often?

914


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1683


What phases are involved in testing an application in qtp?

777


What is ObjectParamater?

1813


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

2140


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1724