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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More VB Script Interview Questions

What are the advantages of vbscript?

0 Answers  


What is parametrization ?

9 Answers  


Explain about constants in vb script?

0 Answers  


explain with example primitive data types of vb script.

1 Answers  


what is the function to get the ascii value of the character?

6 Answers   Netxcell, Oracle,






How to open browser in vb script?

0 Answers  


write a vb script to display the number is odd or even and whether it is divisible by 9 or not

2 Answers  


write a vb script to create a folder?

3 Answers  


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

0 Answers  


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)

0 Answers   Quest,


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 Answers  


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

0 Answers  


Categories