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
what is the difference between data driver & data driven and driver script?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Can we create user defined functions in qtp?
They asked by using qtp recording writing scripting
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
What is the script for database check point, bitmapchek point, regular expression ?
How would you export a script from one pc to another in qtp?
How to test login module with different username and password by using data driven testing in QTP?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
What is the syntax to call one action in another?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How do you test DLL files using automation Tool QTP?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?