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 ?

768

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 4711

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

2246




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

TCS, Napier Healthcare,

1156

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

1 6360

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 1527

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

768

How to generate 3 digit random number?

Virtusa, IBM,

3 3305




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

1 2199

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

2 2825

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

827

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

2 2450

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

Patni,

1 1578

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 830

How to find arry size in qtp vb script

Cap Gemini,

2 8671


Post New VB Script Questions






Un-Answered Questions { VB Script }

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

768


who will create the object?

977


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

867


Write a Script for ATM in QTP

2646


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

877






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

3144


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

758


how to operate webobjects in a webpage using getobject function and then using generic methods?

1936


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

1900


why variable name should not exceed 255 characters?

1048


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1191


what is the standards used for writing the script in QTP

1252


How should i Create Email invite with server-side Coding?

966


what is the object hyrarchy in QTP for a web based application

1136


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

1053