Which is the default Data types in VBScript?
Answers were Sorted based on User's Feedback
Answer / guest
Variant is the default data type in VBScript, which can
store a value of any type
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / monal
The data type Variant no longer exists. It has been
replaced with the type Object. Object types must be
explicitly cast to other primitive data types.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / narayana
"Varient" is the default data type in vb script.
Is This Answer Correct ? | 0 Yes | 0 No |
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Write a Fucntion to close all Opened browser expect desired one?
i created script for login in QTP,i parametirized that using global sheet,problem i am facing is first i want to login with first values provided in excelsheet and want to perform some operation,second time if call same action it should login with second values in excelsheet
How can you destroy an object in vbscript?
What is difference between Active screen and movie screen recorder in QTP 9.2?
How will you convert a given number to long in vbscript?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
what is the use of QCUtil? explain with one example?
I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<<The data retrieved from data base >>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent
How to create pull down menu box using vb script
I have string like hp company.print tis like company hp.write a program in vbscripting
Mention how you can call vbscript functions?