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.

1485

how to add action through AOM in QTP

2441

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

2562




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

2 4377

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

Google, IBM,

1 5075

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 2838

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

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

1137




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

892

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

1158

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

IBM,

864

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

DST Global Solutions,

1 7402

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.

CSC,

1900

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

Amazon,

2 2848

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..

Amazon,

1367


Post New VB Script Questions






Un-Answered Questions { VB Script }

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

966


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1127


Can automation testing find ssame no. of bugs what we can find by manual testing?

846


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

1862


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

1736






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..

1367


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

1056


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

968


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

3144


How to Import data from a file (file is on the desktop) to the data table

921


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.

1115


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

1123


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

1237


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


how does vb script help in web page designing? explain with example.

937