How will you trim the spaces on the left of a string using vbscript?
Answer / allamraju.sai.kumar@gmail.com
we use LTrim function to remove the spaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the features of visual basic?
How can you test font size, type and color using QTP tool?
Mention what is the main difference between function and sub-procedure?
What is the difference between function and procedure?
How will you convert a string to lower case string using vbscript?
What is a difference between scripting language and programming language?
I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem
What is the purpose of on error resume next statement?
How to find arry size in qtp vb script
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
How will you get a subset of a array in vbscript?
How to create MSAcess table foriegn key