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)
No Answer is Posted For this Question
Be the First to Post Answer
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....
write any ttest cases using check points and parameterization
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
how to retrieve native property value in runtime?
What is the use of the recordset object and which statement is used to create such an object?
what is descriptive programming in QTP and what is environment variable in QTP? where we store and what is its use?
what is diff between static and dynaic arrys?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
Which object provide information about a single runtime error in a vbscript?
Mention what is byref and byval parameters in vbscript?
What is the difference between Javascript & Vbscript?
Mention the rules for using option explicit statement?