Interview questions
VB Script interview questions
142 questions. Tap “Show answer” to check yourself.
-
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?
-
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?
-
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?
-
How to retrive the tooltip by using descriptive programming in qtp?
-
How to declare a variable in vbscript using vbscript
-
hi, How will write a regular expression of date in VB scripting.
-
Give me any information abou vb script books learn quckly
-
How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?
-
In QTP how to insert a data base check point for web based application and simultaneous link to code in expert veiw. hw to retrieve a data(single coulumn from server) that matches with inserted value manually or exported from excel sheet.
-
Can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)
-
How to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.
-
Can we create Crystal Report object in QTP? If yes then what it is and what are its various properties?
-
How to check the particular window is exist or not with out using check points
-
What is difference between Active screen and movie screen recorder in QTP 9.2?
-
generic function for webedit box for web application
-
after medical test,when will be the police verification
-
How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?
-
Write VB script to convert from feet to inches(hint 1feet=12 inches)
-
How to set one column as primary key in QTP and fetch values accordingly
-
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
-
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
-
i created script for login in QTP,i parametirized that using global sheet,problem i am facing is first i want to login with first values provided in excelsheet and want to perform some operation,second time if call same action it should login with second values in excelsheet
-
We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below
-
When you use For Loop, While..do, do..while? at what situations which loop will use.
-
How to return a value from function...? you should not tell msgbox, print.. etc.,
-
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
-
What is used of Property...End Property loop ? how to write the script for it?
-
How to create pull down menu box using vb script
-
How to insert snapshot during manual scripting in QTP?
-
The function template cocept is implemented in vb.net is ?