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
Answer / niranjani
Hi,
You have created signinobj but while describing you have given signin, it should be signinobj
set signinobj=Descriptive.Create()
signin("name").value="sigin"
fine below the updated code
set signinobj=Descriptive.Create()
signinobj("name").value="sigin"
i hope it should work
all the best
| Is This Answer Correct ? | 2 Yes | 3 No |
What is the difference between vb debugger and the script debugger?
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
Explain about the support of asp for vb script functionality?
Explain a few date functions in vbscript
how to acces the remote mechine using vb cript(QTP)
What are the different types of loops available in the vbscript language?
how to write function to validate the number of characters entering into the text box?
Compare java script and vb script?
why variable name should not exceed 255 characters?
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
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?