VB Script Interview Questions
Questions Answers Views Company eMail

What is the difference between ByRef and ByVal. When to use ByRef and ByVal

Polaris, TCS,

5 44100

Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to proceed further that i dont know. Thanks in advance

2 5414

How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?

Nous,

6 19365

In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

Nous,

2010

We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1746

Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance

1 6055

Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2252

How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3261

Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

1955

in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script

2 7444

hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

Livetek,

1542

what is the use of Data base check point ?

3 5045

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time..and what property we should take while we r using descriptive programming for a link..

6 5860

How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool?

IBM, Infosys, Wipro,

2 5736

how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

TCS,

3 12860


Post New VB Script Questions

Un-Answered Questions { VB Script }

Explain sga memory structures?

566


Which data type/types are supported by vbscript language and what are their specialties?

583


How to take whole text output from screen of Bitmap Application.

1862


What is event handling in vbscript?

589


can anyone tell me the procedure of interview held in applabs

1743






Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

1866


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2562


What is vbscript language used for and which earlier language is it modeled upon?

519


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

1777


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1404


write a program to display configuration of a local system with the help of vb script.

1678


Which object provide information about a single runtime error in a vbscript?

590


Which operator can be used to change the value of the operand or change the state of the condition?

566


How to create a cookie using vbscript?

576


Can u describe what kind of testing are for OTC derivates by banks.

1656