VB Script Interview Questions
Questions Answers Views Company eMail

Write a Script for ATM in QTP

2567

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 2171

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

949




Anyone have qtp11.0 crack?

1623

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

1732

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

TCS,

2 5477

what is fire event method in qtp?

TCS,

3 15640

when we use filter funtiom invb script(QTP)

TCS,

1547




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

TCS,

854

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 3401

how to write validation function for date in vb script

1450

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

Banking,

1047

How to Enter Values on the Command promt using VB script

836

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

3 21145

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

1 1178


Post New VB Script Questions






Un-Answered Questions { VB Script }

Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

250


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

1290


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

804


Illustrate briefly about the different types of statement

976


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

2430






who will create the object?

877


How to write VB script for login module?

1895


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

2591


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

744


1. How do declare public variable in vb scripts?

813


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

816


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

1070


How to make sure that items in a wintree are sorted al?

1537


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

836


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

1051