VB Script Interview Questions
Questions Answers Views Company eMail

If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1595

How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")

2 6441

How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

2932

what types of bugs will we find out in banking projects for automation testing?

Napier Healthcare, TCS,

1800

Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript

1 7557

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

1 2642

Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1474

How to generate 3 digit random number?

IBM, Virtusa,

3 5496

Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?

1 3275

a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?

2 4263

wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1521

wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me

2 3727

How to write VB Script for selecting a particular row in a WebTable?

Patni,

1 2785

Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer

1 1899

How to find arry size in qtp vb script

Cap Gemini,

2 10638


Post New VB Script Questions

Un-Answered Questions { VB Script }

Explain the string concatenation function in vbscript?

562


What are the differences between sub procedures and function procedures?

547


What is the use of option explicit in vbscript?

567


Mention what is the use of option explicit in vbscript?

585


Explain about scrrun.dll in vbscript?

696






i need to sort the data using qtp script for this how i need to write a qtp script

3245


How can you destroy an object in vbscript?

684


Why is error handling required?

598


Explain the extension .hta?

583


What is vbscript procedures?

627


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

570


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

1869


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

552


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

636


Explain the .wsf files?

554