VB Script Interview Questions
Questions Answers Views Company eMail

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


hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me


6 5160

What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.


3 3683

we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )


6 7238

Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina

2 3076

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


How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in


4 12148

How can you test font size, type and color using QTP tool?

3 17090

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.


Please Example programms on vbscript 1)writing functions and calling functions


2 3828

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



how to write function to validate the number of characters entering into the text box?


2 4253

how to write basic programs in VB Script like addition, multiplication?

14 41169

i want to when we will write the scripts either after getting the build or after getting the SRS?

3 2543

can anybody tell vb script code for alphanumeric and special character .which is used in qtp the name text field.

1 3564

Post New VB Script Questions

Un-Answered Questions { VB Script }

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.


who will create the object?


There are 5 web pages.write a script to click the button on 4th web page.


How to replace junk code recorded by QTP with a mall function.


1. How do declare public variable in vb scripts?


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 ?


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?


regular expression that will recognize a browser as long as its name property starts with mybrowser


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


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.


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it


filter the array values without using filter function?


what is the difference between modular and data and keyword driven framework


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


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?