VB Script Interview Questions
Questions Answers Views Company eMail

Write a Script for ATM in QTP

3327

Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 3225

Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1643

Anyone have qtp11.0 crack?

2374

does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2494

Diff between web table ,datatable and data base (QTP)

TCS,

2 8055

what is fire event method in qtp?

TCS,

3 19542

when we use filter funtiom invb script(QTP)

TCS,

2292

how to acces the remote mechine using vb cript(QTP)

TCS,

1595

In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............

Blue Star,

2 4815

how to write validation function for date in vb script

2130

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

Banking,

1752

How to Enter Values on the Command promt using VB script

1522

write a vbscript for finding the sum of the numbers from 1- 50

3 29849

In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?

1 2152


Post New VB Script Questions

Un-Answered Questions { VB Script }

What is purpose of scripting.filesystemobject class in vbscript?

612


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3026


did any one attended interview in applabs if you had gone through plz tell me the procedure

1843


How to delete a cookie using vbscript?

541


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

1500






Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1643


What is the difference between vbscript and vba?

595


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

1230


Mention what is the main difference between function and sub-procedure?

538


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 ?

1545


Explain about vb script?

738


When to use function procedures and what are its characteristics?

540


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

1678


What are the special sub-types in vbscript?

540


how to operate webobjects in a webpage using getobject function and then using generic methods?

2534