write a script to count no drives in file systems in qtp?
Answer / sandeep
Set FSO=CreateObject("scripting.filesystemobject")
Set coll=fso.Drives
MsgBox coll.Count
| Is This Answer Correct ? | 3 Yes | 0 No |
How to create MSAcess table foriegn key
What is the use of the date function in the vbscript language?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
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
int a=4857 i need output as 7584.without using any inbuild function?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
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
Explain about tristate constants?
Explain the operator precedence in vb script?
How many types of operators are available in the vbscript language?
Mention the environments where vbscript could be run?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?