VB Script Interview Questions
Questions Answers Views Company eMail

Write a Script for ATM in QTP

2498

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 2111

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

899




Anyone have qtp11.0 crack?

1581

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

1691

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

TCS,

2 5264

what is fire event method in qtp?

TCS,

3 15232

when we use filter funtiom invb script(QTP)

TCS,

1504




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

TCS,

801

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 3321

how to write validation function for date in vb script

1400

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

Banking,

982

How to Enter Values on the Command promt using VB script

782

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

3 20211

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

1 1116


Post New VB Script Questions






Un-Answered Questions { VB Script }

Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

685


Can anyone send me a vb script function for verifying the functionality of active links on a web page

839


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

667


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1052


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

1097






hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1047


what is resorceallocation

915


Does VB/Win make standalone .EXE files?

1893


filter the array values without using filter function?

864


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

1372


write any ttest cases using check points and parameterization

986


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.

718


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

826


Description.Create

1267


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

1609