how to declare a variable in vbscript using vbscript

Answers were Sorted based on User's Feedback



how to declare a variable in vbscript using vbscript ..

Answer / pencildot

Dim

Is This Answer Correct ?    7 Yes 0 No

how to declare a variable in vbscript using vbscript ..

Answer / sasikala

Dim file1 as string

Is This Answer Correct ?    3 Yes 0 No

how to declare a variable in vbscript using vbscript ..

Answer / anil

Dim,public and pravite

Is This Answer Correct ?    4 Yes 3 No

how to declare a variable in vbscript using vbscript ..

Answer / suriya

pls see suriyam62@yahoo.in

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

How many data types are supported in Vbscript?

3 Answers   Microsoft,


My Salary is 65000. How Much TDS I have to pay

0 Answers  


Write a code to print numbers from 5 to 0?

0 Answers  


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

0 Answers  


How do display output message without using msgbox function?

5 Answers  


How to pass argument by reference to a function in vbscript?

0 Answers  


What is Querystring collection?

0 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 Answers  


Write a Fucntion to close all Opened browser expect desired one?

2 Answers   Ness Technologies,


My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.

3 Answers  


How will you get a combined string from array of string in vbscript?

0 Answers  


Categories