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 ?

665

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 4460

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

2096




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

TCS, Napier Healthcare,

1026

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

1 6173

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 1337

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

674

How to generate 3 digit random number?

Virtusa, IBM,

3 3018




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

1 2063

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

2 2638

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

717

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

2 2283

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

Patni,

1 1425

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 701

How to find arry size in qtp vb script

Cap Gemini,

2 8201


Post New VB Script Questions






Un-Answered Questions { VB Script }

while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

760


what is used of Property........End Property loop ? how to write the script for it?

928


How to Convert Hex color code to color name in VB Script?

2901


What is the difference between VBScript and JavaScript?

1126


what is the differance between BYVAL,BYREF?

971






I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

68


Anyone have qtp11.0 crack?

1598


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

449


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

923


How to add actions in driver script to run those actions in QTP?

783


Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

1241


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

841


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

825


how to set one column as primary key in QTP and fetch values accordingly

1121


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

769