VB Script Interview Questions
Questions Answers Views Company eMail

HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.


how to add action through AOM in QTP


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


Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it

2 4223

How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)

Google, IBM,

1 4823

I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 2717

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


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


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


i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false


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



how to display all the links in one page using vb script in qtp.

DST Global Solutions,

1 7267

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.



Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.


2 2655

Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..



Post New VB Script Questions

Un-Answered Questions { VB Script }

why do u choose to go for testing why cant for devoloping


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


when we use filter funtiom invb script(QTP)


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com


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.


what is the features of visual basic?


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.


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?


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


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.


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?


about vb scripting programs this type of all question& answers


create a form to accept username and password validate the username and password with using message box, display the corresponding user message


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?


Write a Script for ATM in QTP